This question is locked. New answers and comments are not allowed.
Hi,
i am using this string to create on the fly a chart and when i use the
XamlReader.Load(result)
there is a error message on the IsDateTime attribute.
Could someone have a look?
Here is the string i use:
<control:RadChart Name="RadChart1" Width="499" Height="258">
<control:RadChart.DefaultView>
<chart:ChartDefaultView>
<chart:ChartDefaultView.ChartArea>
<chart:ChartArea>
<chart:ChartArea.DataSeries>
<chart:DataSeries Label="Serie1">
<chart:DataSeries.Definition>
<chart:BarSeriesDefinition />
</chart:DataSeries.Definition>
<chart:DataPoint XValue="39425" YValue="3033" />
<chart:DataPoint XValue="39426" YValue="2589" />
<chart:DataPoint XValue="39427" YValue="2370" />
</chart:DataSeries>
<chart:DataSeries Label="Serie2">
<chart:DataSeries.Definition>
<chart:LineSeriesDefinition />
</chart:DataSeries.Definition>
<chart:DataPoint XValue="39425" YValue="21" />
<chart:DataPoint XValue="39426" YValue="23" />
<chart:DataPoint XValue="39427" YValue="24" />
</chart:DataSeries>
<chart:DataSeries Label="Serie3">
<chart:DataSeries.Definition>
<chart:SplineSeriesDefinition />
</chart:DataSeries.Definition>
<chart:DataPoint XValue="39425" YValue="15" />
<chart:DataPoint XValue="39426" YValue="12" />
<chart:DataPoint XValue="39427" YValue="10" />
</chart:DataSeries>
</chart:ChartArea.DataSeries>
<chart:ChartArea.AxisX>
<chart:AxisX DefaultFormat="MM/dd/yy" IsDateTime="True" />
</chart:ChartArea.AxisX>
</chart:ChartArea>
</chart:ChartDefaultView.ChartArea>
</chart:ChartDefaultView>
</control:RadChart.DefaultView>
</control:RadChart>
Cheers
i am using this string to create on the fly a chart and when i use the
XamlReader.Load(result)
there is a error message on the IsDateTime attribute.
Could someone have a look?
Here is the string i use:
<control:RadChart Name="RadChart1" Width="499" Height="258">
<control:RadChart.DefaultView>
<chart:ChartDefaultView>
<chart:ChartDefaultView.ChartArea>
<chart:ChartArea>
<chart:ChartArea.DataSeries>
<chart:DataSeries Label="Serie1">
<chart:DataSeries.Definition>
<chart:BarSeriesDefinition />
</chart:DataSeries.Definition>
<chart:DataPoint XValue="39425" YValue="3033" />
<chart:DataPoint XValue="39426" YValue="2589" />
<chart:DataPoint XValue="39427" YValue="2370" />
</chart:DataSeries>
<chart:DataSeries Label="Serie2">
<chart:DataSeries.Definition>
<chart:LineSeriesDefinition />
</chart:DataSeries.Definition>
<chart:DataPoint XValue="39425" YValue="21" />
<chart:DataPoint XValue="39426" YValue="23" />
<chart:DataPoint XValue="39427" YValue="24" />
</chart:DataSeries>
<chart:DataSeries Label="Serie3">
<chart:DataSeries.Definition>
<chart:SplineSeriesDefinition />
</chart:DataSeries.Definition>
<chart:DataPoint XValue="39425" YValue="15" />
<chart:DataPoint XValue="39426" YValue="12" />
<chart:DataPoint XValue="39427" YValue="10" />
</chart:DataSeries>
</chart:ChartArea.DataSeries>
<chart:ChartArea.AxisX>
<chart:AxisX DefaultFormat="MM/dd/yy" IsDateTime="True" />
</chart:ChartArea.AxisX>
</chart:ChartArea>
</chart:ChartDefaultView.ChartArea>
</chart:ChartDefaultView>
</control:RadChart.DefaultView>
</control:RadChart>
Cheers