allure-go icon indicating copy to clipboard operation
allure-go copied to clipboard

fix broken parametrized tests

Open dkx86 opened this issue 1 year ago • 0 comments

Reverted changes that broke parameterized tests.

dkx86 avatar Jun 03 '24 08:06 dkx86

try axisLine: { lineStyle: { color: [[1, 'transparent']] } },

helgasoft avatar Jun 28 '24 19:06 helgasoft

We are actually doing something like this example where we set the color of progress to 'auto' meaning it should be taken from the axiline color. and we are hiding the axis line.

In this case when the max limit is negative, the progress color is black/disappearing

akashsonune avatar Jul 05 '24 08:07 akashsonune

max should not be smaller than min so this is not a bug. In your case, you can set clockwise: false, startAngle: 0, endAngle: 180, min: -240, max: 0. If you want the progress arc to display from 0, you should set startAngle: -180, endAngle: 0, min: 0, max: 240 and do negation to all data and use formatter to add - for display.

Ovilia avatar Aug 23 '24 09:08 Ovilia

I think it is a bug. The reproduction of OP is a little strange. Here is my reproduction, max is bigger than min:

https://echarts.apache.org/examples/en/editor.html?c=gauge-multi-title&code=MYewdgzgLgBA5gQwK5wKYBEFQTAvDAbQCgYYBvE0mANwQBslUAuGAWgDYAGAGktLAQBbZjADkAcRAgAJqN5UYUAJZQ6IigtIgAZtoiooAYVRgoqAE4sCo1gBZOAUjliAHI9EBdPjAC-8qtIGCEp0LBqaOnoGxqYWVjb2TtxiAJwArE5eCj6UfpThpLQMInY83gLCLKIAQgZm5nLeyqrq3lq6-kYm9fHuyaJumd55CoHYIWFtMJGdMT2Eon2pGZ7Duf4FNPSMLKwATGUKFSKiAAoW2qjAUI0KzWqTmtMd0d1xC4nOA-5ZVCMBQQm5CmM1esUsHyWonSQ2yuSIHgA3EQQAAHZTgPDA0j6cxKVAQKzeTakKAAT1RJ0QKFQt00giUYCYrAAjJxDvSEAAPZks_wKBBgYAACxAEJJVAgooA7iwoOZGPzNFKQNKAIIAIxA1BE8sVUxxSgAXiIWS4lQoVKhBABlckPbFPKigOhiqoAYgAYmrDC40i5RAbfFN_gpUSBGfMJaQlKAmWJUVhhUwAPQpgCyewAdCluJwswB2AAy2dz-YLwBZWdsee42fY3CrezrWYb9eoLJZaWAPCrtlZWeb9f2rZb7DoPE4wAHNc4I_YA728_nADUAMxZteGfNrxs5vezwstsuFo10p7SpTSKDJmDmoNqMBwG9VQbniIvLrgqw8VywzShlQqLmCAcDmAShKOk8KqyooCqoBaVDahYdAIKicrwYhpAgUgYDSIYaEYYwIaIdySgQEWjKtE6MA4XhBHoXBxFPIBpDSFgCAsNSaCYNgiH3NRTraOAUA2sapq2CRUxjMEoRQZol7Xre9hYTAwqoEocDClALAsjWQbCaYYkmrp-k0S6bpiO6ujaO-CgaggwAANZgSAuH4SAroQqIjLqXiNyqVq5iBOYABKCDSEoSCQbuBlioIWDzKIZBFIwPhOCGaykF4PiIkAA

You can toggle the theme to dark. Then we will find that yellow progress is on the top while the blue should. The order is inverted. That is what I aim to fix in #20276

kingyue737 avatar Aug 23 '24 09:08 kingyue737

Thanks. The above demo is a bug.

Ovilia avatar Aug 23 '24 09:08 Ovilia