[Bug] Gauge chart: Progress axis color disappears on negative min max limit
akashsonune opened this issue · comments
Version
5.1.1
Link to Minimal Reproduction
Steps to Reproduce
- Open gauge chart
- set min to 0 and max to -100
- see that the progress color is disappeared
Current Behavior
When the min and max for the gauge chart is set to negative values (we have a requirement to show the gauge with negative values), the progress color fades away
Expected Behavior
The progress color should be retained irrespective of whether min max is negative/positive
Environment
- OS: Windows
- Browser: Chrome
- Framework: Angular 17
Any additional comments?
No response
try axisLine: { lineStyle: { color: [[1, 'transparent']] } },
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