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

5 posts, 0 answers
  1. kumu
    kumu avatar
    3 posts
    Member since:
    Mar 2014

    Posted 24 Mar 2014 Link to this post

    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!!.:)
  2. kumu
    kumu avatar
    3 posts
    Member since:
    Mar 2014

    Posted 24 Mar 2014 Link to this post

    Needed :- Example for the creation of multiple Y axis with constant x axis .
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 25 Mar 2014 Link to this post

    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.

     
  5. William
    William avatar
    4 posts
    Member since:
    Sep 2016

    Posted 27 Oct in reply to Petar Marchev Link to this post

    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.
  6. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 01 Nov Link to this post

    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!
Back to Top
UI for WPF is Visual Studio 2017 Ready