Hi,
My XamChart instead of chart displays warning message.
"XamChart Warning: Axis interval cannot be negative value or zero.
Parameter name: interval"
I think that the problem is that this chart contains datapoints with equal large ValueY.
Example code:
<igCA:XamChart Name="xamChart1" Background="White" BorderBrush="Green" BorderThickness="2">
<igCA:XamChart.Series>
<igCA:Series Fill="Green" Label="Test Data" ChartType="ScatterLine">
<igCA:Series.DataPoints>
<igCA:DataPoint>
<igCA:DataPoint.ChartParameters>
<igCA:ChartParameter Type="ValueX" Value="1.4" />
<igCA:ChartParameter Type="ValueY" Value="1.1E+19" />
</igCA:DataPoint.ChartParameters>
</igCA:DataPoint>
<igCA:ChartParameter Type="ValueX" Value="1.6" />
<igCA:ChartParameter Type="ValueX" Value="2" />
</igCA:Series.DataPoints>
</igCA:Series>
</igCA:XamChart.Series>
</igCA:XamChart>
When I change ValueY of any of DataPoint to another value, for example 1.2E+18 - chart displayed well.
I think that this is XamChart bug.
Any ideas ?
i think waiting for the Hotfix is the only alternative to the given workaround.
This work-around is not good for me.
I used static DataPoints in the sample above only for bug simple illustration.
In my real application I bind DataSource to dynamic collection.
I don't want to calculate Min, Max and Unit values.
i think it is a bug too. i entered it into our bug tracking system (#13415), so it should be resolved in a future hotfix. to inquire about the status of this bug, please contact Infragistics Developer Support at http://infragistics.com/gethelp
you can work around the problem by specifying an axis range for Y like this:
<igCA:XamChart.Axes> <igCA:Axis AxisType="PrimaryY" AutoRange="False" Minimum="1.0E19" Maximum="1.2E19" Unit="0.1E19" /> </igCA:XamChart.Axes>