I want to make chart like chart in attached files (max value on Y-Axis in the bottom, and min value on Y-Axis int the top. I have no idea how realize it whith xamChart :(. Could you help me?
Thanks.
Hi,
I don't think xamWebChart supports axis inversion; perhaps you should try using xamDataChart. In the xamDataChart namespace (Infragistics.Controls.Charts), you'll find that the Axis class has an "IsInverted" property that will allow you to invert the axis.
Ex:
<ig:NumericYAxis x:Name="xmYAxis" IsInverted="True" > <ig:NumericYAxis.LabelSettings > <ig:AxisLabelSettings Location="OutsideLeft" Extent="55" /> </ig:NumericYAxis.LabelSettings> </ig:NumericYAxis>
Let me know if you run into any trouble.
But I use XamChart component, not XamDataChart. XamChart doesn't had NumericYAxis class.
Yes, what I meant to say is that xamChart doesn't support axis inversion. XamDataChart is much more customizable, and is the component you would need for this.
Ah, that's a clever workaround. :)
The solution is using special axis label format and inverse data values for chart:
http://forums.infragistics.com/forums/p/5022/23034.aspx
Thanks all :).