This is a migrated thread and some comments may be shown as answers.

RadChartView integration(RadCartesianChart) : Enable two Y-axis (left and right)

1 Answer 60 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Sheuly
Top achievements
Rank 1
Sheuly asked on 15 Feb 2016, 02:21 PM

Hi,
I have added chart based on demo http://demos.telerik.com/silverlight/#PivotGrid/PivotChart, which is using ChartSeriesProvider. 

Here is the xaml(partly):

 <telerik:RadCartesianChart.SeriesProvider >
     <telerik:ChartSeriesProvider x:Name="seriesProvider" />
</telerik:RadCartesianChart.SeriesProvider>

code behind:
seriesProvider.Source = selectedSeries;
seriesProvider.SeriesDescriptorSelector = ChartSerieSelector;


In the above code, ChartSerieSelector is a custom ChartSeriesDescriptorSelector inherited from ChartSeriesDescriptorSelector, which has two ChartSeriesDescriptor of Bar and Line.
Now I want to place all the Bar chart to the left Y axis and Lines to the Right-Y axis.

Any thoughts how to enable two Y-axis (left and right) with ChartSeriesProvider/ ChartSeriesProvider.SeriesDescriptorSelector?

 Thanks in advance!

 

-Sheuly

1 Answer, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 17 Feb 2016, 09:55 AM
Hello Sheuly,

You can take a look at Multiple VerticalAxis forum post, where it is described a similar scenario and my colleague Martin has proposed a suitable approach with attached property for the VerticalAxis.

Please take a look at it an let me know if it works for you.

Regards,
Milena
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
PivotGrid
Asked by
Sheuly
Top achievements
Rank 1
Answers by
Milena
Telerik team
Share this question
or