Hi,
in my application I'm recording values at run-time. So I add series dynamic to my chartview. Next step would be to add vertical axis dynamically to my chartview.
So I added a collection where I can add the axis at run-time. Then when I want to change from one axis to another i got a InvalidOperationException: Specified element is already the logical child of another element. Disconnect it first.
Here is my SeriesProvider:
Is there another way to do this?
Reagards Markus
in my application I'm recording values at run-time. So I add series dynamic to my chartview. Next step would be to add vertical axis dynamically to my chartview.
So I added a collection where I can add the axis at run-time. Then when I want to change from one axis to another i got a InvalidOperationException: Specified element is already the logical child of another element. Disconnect it first.
Here is my SeriesProvider:
<telerik:RadCartesianChart.SeriesProvider> <telerik:ChartSeriesProvider Source="{Binding RecItemCollection}"> <telerik:ChartSeriesProvider.SeriesDescriptors> <telerik:CategoricalSeriesDescriptor ItemsSourcePath="DataItems" ValuePath="ItemValue" CategoryPath="Time"> <telerik:CategoricalSeriesDescriptor.Style> <Style TargetType="telerik:LineSeries"> <Setter Property="RenderMode" Value="Full"/> <Setter Property="StrokeThickness" Value="2"/> <Setter Property="Stroke" Value="{Binding Stroke}"/> <Setter Property="Visibility" Value="{Binding Visibility}"/> <Setter Property="VerticalAxis" Value="{Binding VerticalAxis}"/> </Style> </telerik:CategoricalSeriesDescriptor.Style> </telerik:CategoricalSeriesDescriptor> </telerik:ChartSeriesProvider.SeriesDescriptors> </telerik:ChartSeriesProvider></telerik:RadCartesianChart.SeriesProvider>Is there another way to do this?
Reagards Markus
