Hi, Guys:
Normally the axis's label value is from smaller to bigger one. How can I set the label value from bigger one to smaller one?
For example, I have a primiary axis Y, whose value is from 1 to 100 (smaller ==> bigger), I need a secondary axis Y, whose value is from 1 to 0.01 (bigger ==> smaller). How can i set it?
thanks ...
Hi,
XamChart does not support reverse axes, but the next versiuon will probably support this feature. Right now if you want to simulate reverse axes you have to change sign of your values and use this formatting for axis labels. I hope this will help:
<igCA:XamChart Margin="55,41,73,57"> <igCA:XamChart.Axes> <igCA:Axis AxisType="PrimaryY"> <igCA:Axis.Label> <igCA:Label Format="{}{0:;0;0}"/> </igCA:Axis.Label> </igCA:Axis> </igCA:XamChart.Axes> <igCA:XamChart.Series> <igCA:Series> <igCA:Series.DataPoints> <igCA:DataPoint Value="-3"/> <igCA:DataPoint Value="-6"/> <igCA:DataPoint Value="-9"/> <igCA:DataPoint Value="-6"/> </igCA:Series.DataPoints> </igCA:Series> </igCA:XamChart.Series> </igCA:XamChart>
Thanks,
GoranS