You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not completely sure if this is a bug, what is the result you expect from this?
I think the correct logic would be. If the sum of Values exceeds MaxValue, the Gauge uses MaxValue as the sum and allocates sectors proportionally. If MaxValue is not set, the Gauge is automatically resized based on the sum of Values.
Value is 33
The sum of Values is 33
MaxValue is 30
Value/ Values * MaxValue =Gauge percentage
33/33*30=30
As the picture shows, I think it should be 100%
I give an example
There are 50, 80, and 120 sectors.
The sum of Values is 250, but MaxValue is set to 200.
The pie chart takes MaxValue as the sum and assigns the size of each sector proportionally:
First sector: 50/250 * 200 = 40
Second sector: 80/250 * 200 = 64
Third sector: 120/250 * 200 = 96
Pie charts sum to 200, not 250.
Hi,
As shown in the picture, a display exception occurs when the actual Gauge value is greater than the MaxValue.
Nuget: LiveChartsCore.SkiaSharpView.WPF
Thanks in advance
The text was updated successfully, but these errors were encountered: