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

Dynamic creation of "multiple X axis" , with Legend and Line series

4 Answers 179 Views
Chart
This is a migrated thread and some comments may be shown as answers.
kumu
Top achievements
Rank 1
kumu asked on 24 Mar 2014, 10:59 AM
Hi

 am creating a Line series chat with RadCartesianChart in WPF application.
i have verified the samples in telerik chart control, i didn't find any  example for the creation of multiple x axis with constant y axis .

Can u please give a sample for the creation of dynamic creation of "X axis".

i have attached an image for "example of chart look like"

Thanks in advance!!.:)

4 Answers, 1 is accepted

Sort by
0
kumu
Top achievements
Rank 1
answered on 25 Mar 2014, 03:51 AM
Needed :- Example for the creation of multiple Y axis with constant x axis .
0
Petar Marchev
Telerik team
answered on 25 Mar 2014, 10:14 AM
Hi,

You can find many examples where we have demonstrate the use of multiple axes. The Multiple Axes Qsf example is one of these places to look.

You can also try our SDK browser and check out our SDK examples. You can find the multiple axes demonstrate in the IndividualAxisZooming and MultipleAxes examples.

Regards,
Petar Marchev
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
William
Top achievements
Rank 1
answered on 27 Oct 2016, 06:27 PM
Is there an example where you can have multiple axes when the series are filled in dynamically? All the examples I see have full specification of the series in the XAML.
0
Martin Ivanov
Telerik team
answered on 01 Nov 2016, 07:51 AM
Hello William,

If you are using SeriesProvider to add the series you can use its SeriesCreated event to set up the axis.
private void ChartSeriesProvider_SeriesCreated(object sender, ChartSeriesCreatedEventArgs e)
{
    var series = (CartesianSeries)e.Series;
    series.VerticalAxis = new LinearAxis() { Title = "Series axis" };
}

Regards,
Martin
Telerik by Progress
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
Tags
Chart
Asked by
kumu
Top achievements
Rank 1
Answers by
kumu
Top achievements
Rank 1
Petar Marchev
Telerik team
William
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or