This question is locked. New answers and comments are not allowed.
Hello,
I am facing the following problem:
The RadChartView does automatically set the range of linear-axes (in my case the Y-Axis) - which is fine in most cases.
However - I have one view, where I want the axis "origin" to be always 0 - no matter what the values are.
To make matters worse, sometimes all values are positive, sometimes all are negative - so the simplest solution - setting the min/max of the axis does NOT work (for all positive I have to set Minimum = 0, for all negative I have to set Maximum = 0).
I played around with the ExtendDirection property of the linear-axises, but saw no difference at all, no matter which value I used.
Currently I have the following workaround:
Bind Minimum and Maximum via a ValueConverter, which returns "0" or DependenyProperty.UnsetValue, depending on "all positive" / "all negative" values.
Is there a better way to keep the origin of the vertical axis at "0" no matter what?
Thanks.
I am facing the following problem:
The RadChartView does automatically set the range of linear-axes (in my case the Y-Axis) - which is fine in most cases.
However - I have one view, where I want the axis "origin" to be always 0 - no matter what the values are.
To make matters worse, sometimes all values are positive, sometimes all are negative - so the simplest solution - setting the min/max of the axis does NOT work (for all positive I have to set Minimum = 0, for all negative I have to set Maximum = 0).
I played around with the ExtendDirection property of the linear-axises, but saw no difference at all, no matter which value I used.
Currently I have the following workaround:
Bind Minimum and Maximum via a ValueConverter, which returns "0" or DependenyProperty.UnsetValue, depending on "all positive" / "all negative" values.
Is there a better way to keep the origin of the vertical axis at "0" no matter what?
Thanks.