Hi.
I have one problem.
My source is below.
<telerik:RadCartesianChart.SeriesProvider>
<telerik:ChartSeriesProvider Source="{Binding Series}">
<telerik:ChartSeriesProvider.SeriesDescriptors>
<telerik:CategoricalSeriesDescriptor ItemsSourcePath="Data" ValuePath="Value" CategoryPath="LocalTime">
<telerik:CategoricalSeriesDescriptor.Style>
<Style TargetType="telerik:LineSeries">
<Setter Property="StrokeThickness" Value="1"/>
<Setter Property="Visibility" Value="{Binding Name , Converter={StaticResource pointFocusConverter}}"/>
<Setter Property="ShowLabels" Value="{Binding Path=DataContext.Ribbon.IsShowLabel, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"/>
<Setter Property="LegendSettings">
<Setter.Value>
<telerik:SeriesLegendSettings Title="{Binding Name}" />
</Setter.Value>
</Setter>
<Setter Property="VerticalAxis">
<Setter.Value>
<MultiBinding Converter="{StaticResource multiVerticalAxisConverter}">
<Binding Path="Data"/>
<Binding Path="DataContext.Series" ElementName="lineChart"/>
</MultiBinding>
</Setter.Value>
</Setter>
</Style>
</telerik:CategoricalSeriesDescriptor.Style>
</telerik:CategoricalSeriesDescriptor>
</telerik:ChartSeriesProvider.SeriesDescriptors>
</telerik:ChartSeriesProvider>
</telerik:RadCartesianChart.SeriesProvider>
Currently, good work.
But I want to wort setter about [Property="VerticalAxis"]
Now chart is changed by changing [ItemsSourcePath="Data"]
But converter of 'VerticalAxis' do not work.
Why is this not work?
What should I do for working of converter ?
I have one problem.
My source is below.
<telerik:RadCartesianChart.SeriesProvider>
<telerik:ChartSeriesProvider Source="{Binding Series}">
<telerik:ChartSeriesProvider.SeriesDescriptors>
<telerik:CategoricalSeriesDescriptor ItemsSourcePath="Data" ValuePath="Value" CategoryPath="LocalTime">
<telerik:CategoricalSeriesDescriptor.Style>
<Style TargetType="telerik:LineSeries">
<Setter Property="StrokeThickness" Value="1"/>
<Setter Property="Visibility" Value="{Binding Name , Converter={StaticResource pointFocusConverter}}"/>
<Setter Property="ShowLabels" Value="{Binding Path=DataContext.Ribbon.IsShowLabel, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"/>
<Setter Property="LegendSettings">
<Setter.Value>
<telerik:SeriesLegendSettings Title="{Binding Name}" />
</Setter.Value>
</Setter>
<Setter Property="VerticalAxis">
<Setter.Value>
<MultiBinding Converter="{StaticResource multiVerticalAxisConverter}">
<Binding Path="Data"/>
<Binding Path="DataContext.Series" ElementName="lineChart"/>
</MultiBinding>
</Setter.Value>
</Setter>
</Style>
</telerik:CategoricalSeriesDescriptor.Style>
</telerik:CategoricalSeriesDescriptor>
</telerik:ChartSeriesProvider.SeriesDescriptors>
</telerik:ChartSeriesProvider>
</telerik:RadCartesianChart.SeriesProvider>
Currently, good work.
But I want to wort setter about [Property="VerticalAxis"]
Now chart is changed by changing [ItemsSourcePath="Data"]
But converter of 'VerticalAxis' do not work.
Why is this not work?
What should I do for working of converter ?