Hello,
Can you explain me how to precisely place a point onto the chart with the X and Y coordinates ? Must I set two items mapping and a 2-dimensional array ?
I wrote this sample in Xaml :
And I passed to the ItemSource a double array like this :
Thanks,
Adrien.
Can you explain me how to precisely place a point onto the chart with the X and Y coordinates ? Must I set two items mapping and a 2-dimensional array ?
I wrote this sample in Xaml :
<!-- Chart --> | |
<t:RadChart Grid.Column="2" x:Name="_uiChart"> | |
<t:RadChart.SeriesMappings> | |
<!-- Measurement --> | |
<t:SeriesMapping CollectionIndex="0" LegendLabel="Measurement" x:Name="_uiMeasurementSeriesMapping"> | |
<t:SeriesMapping.SeriesDefinition> | |
<t:SplineSeriesDefinition /> | |
</t:SeriesMapping.SeriesDefinition> | |
<t:SeriesMapping.ItemMappings> | |
<t:ItemMapping DataPointMember="YValue" /> |
|
</t:SeriesMapping.ItemMappings> | |
</t:SeriesMapping> | |
</t:RadChart.SeriesMappings> | |
</t:RadChart> |
And I passed to the ItemSource a double array like this :
List<double[]> itemsSource = new List<double[]> | |
{ | |
new double[] {3, 5, 9, 8} | |
}; | |
this._uiChart.ItemsSource = itemsSource; |
Thanks,
Adrien.