This question is locked. New answers and comments are not allowed.
Hi
I have a RadCartesianChart with 6 LineSeries, now i want to add more VerticalAxis / LinearAxis.
I know i can add one VerticalAxis to one LineSeries by doing this, however i want two LineSeries to share one VerticalAxis.
Overall that would be 3 VerticalAxis in one RadCartesianChart, with 6 LineSeries in a group of 2 by 2
I tried to add a LinearAxis into the Resources:
However, it i add the new LinearAxis to a LineSeries the programm chrashes on startup with an unidentified error.
Is it possible to share additional LinearAxis with multiple LineSeries?
Thanks in advance.
I have a RadCartesianChart with 6 LineSeries, now i want to add more VerticalAxis / LinearAxis.
I know i can add one VerticalAxis to one LineSeries by doing this, however i want two LineSeries to share one VerticalAxis.
Overall that would be 3 VerticalAxis in one RadCartesianChart, with 6 LineSeries in a group of 2 by 2
I tried to add a LinearAxis into the Resources:
<
Chart:RadCartesianChart
Grid.Row
=
"1"
PaletteName
=
"DefaultDark"
>
<
Chart:RadCartesianChart.Resources
>
<
Chart:LinearAxis
x:Name
=
"foo"
>
</
Chart:LinearAxis
>
</
Chart:RadCartesianChart.Resources
>
<
Chart:RadCartesianChart.HorizontalAxis
>
<
Chart:DateTimeContinuousAxis
MaximumTicks
=
"15"
LabelFormat
=
"{}{0:dd. MMM}"
/>
</
Chart:RadCartesianChart.HorizontalAxis
>
<
Chart:RadCartesianChart.VerticalAxis
>
<
Chart:LinearAxis
>
</
Chart:LinearAxis
>
</
Chart:RadCartesianChart.VerticalAxis
>
<
Chart:LineSeries
CombineMode
=
"None"
StrokeDashArray
=
"2"
Stroke
=
"#FFC200"
ItemsSource
=
"{Binding ElectroResult, Mode=TwoWay}"
>
<
Chart:LineSeries.ValueBinding
>
<
Chart:PropertyNameDataPointBinding
PropertyName
=
"Value"
/>
</
Chart:LineSeries.ValueBinding
>
<
Chart:LineSeries.CategoryBinding
>
<
Chart:PropertyNameDataPointBinding
PropertyName
=
"Date"
/>
</
Chart:LineSeries.CategoryBinding
>
</
Chart:LineSeries
>
<
Chart:LineSeries
CombineMode
=
"None"
Stroke
=
"#FFC200"
ItemsSource
=
"{Binding ElectroResult, Mode=TwoWay}"
>
<
Chart:LineSeries.ValueBinding
>
<
Chart:PropertyNameDataPointBinding
PropertyName
=
"BudgetValue"
/>
</
Chart:LineSeries.ValueBinding
>
<
Chart:LineSeries.CategoryBinding
>
<
Chart:PropertyNameDataPointBinding
PropertyName
=
"Date"
/>
</
Chart:LineSeries.CategoryBinding
>
</
Chart:LineSeries
>
........
</
Chart:RadCartesianChart
>
However, it i add the new LinearAxis to a LineSeries the programm chrashes on startup with an unidentified error.
<
Chart:LineSeries
CombineMode
=
"None"
StrokeDashArray
=
"2"
Stroke
=
"#FFFF2A00"
ItemsSource
=
"{Binding HeatResult, Mode=TwoWay}"
VerticalAxis
=
"{StaticResource foo}"
>
Is it possible to share additional LinearAxis with multiple LineSeries?
Thanks in advance.