I have several curves on a single plot which are populated with a SeriesProvider like as follows:
<telerik:RadCartesianChart.SeriesProvider> <telerik:ChartSeriesProvider Source="{Binding DataToPlot.OperationConditions}"> <telerik:ChartSeriesProvider.SeriesDescriptors> <telerik:CategoricalSeriesDescriptor ItemsSourcePath="DataPoints" ValuePath="Magnitude" CategoryPath="TimeLabel"> <telerik:CategoricalSeriesDescriptor.Style> <Style TargetType="telerik:LineSeries" BasedOn="{StaticResource LineSeriesStyle}"> <Setter Property="LegendSettings"> <Setter.Value> <telerik:SeriesLegendSettings Title="{Binding Name}"/> </Setter.Value> </Setter> </Style> </telerik:CategoricalSeriesDescriptor.Style> </telerik:CategoricalSeriesDescriptor> </telerik:ChartSeriesProvider.SeriesDescriptors> </telerik:ChartSeriesProvider></telerik:RadCartesianChart.SeriesProvider>
In addition, I have another set of data which I should populate on the same plot with the same X-axis values (date/time). However these data have another order of magnitude (another physical meaning), so the only way is to add additional Y-axis on the same plot. I have the following xaml-code:
<telerik:LineSeries ItemsSource="{Binding Path=DataToPlot.VibrationConditions}" CategoryBinding="TimeLabel" ValueBinding="Magnitude"> <telerik:LineSeries.VerticalAxis> <telerik:LinearAxis HorizontalLocation="Left" ElementBrush="Green"/> </telerik:LineSeries.VerticalAxis> </telerik:LineSeries>
When these blocks of code are located one after other, the former (data which are populated with a SeriesProvider) is depicted on a plot as I expected, but the latter (data which are populated with LineSeries) is depicted as a vertical green line to the left of the first Y-Axis (see attachment).
Is is possible to combine multiply Y-data (from various sources and distinct populating mechanism) on a single plot?
