charts : Shared horizontal axis in windows phone

2 posts, 0 answers
  1. Naveen
    Naveen avatar
    6 posts
    Member since:
    Jun 2016

    Posted 13 Jun Link to this post


    I am trying the information mentioned in the below url to come up with shared horizontal axis in windows phone 8.

    There is some info that says"To achieve this you should create an axis collection (a simple class that inherits System.Collections.ObjectModel.Collection<Axis>). Add it as a static resource in XAML and you may reuse for each series that will share a common axis."

    I am not able to understand it completely and hence not able to proceed.

    Can you pls share the complete working code for the chart with shared horizontal axis. 

  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1165 posts

    Posted 16 Jun Link to this post

    Hello Naveen,

    The idea is to create a custom collection class and use it in XAML. The article suggests to create a new class which inherits from System.Collections.ObjectModel.Collection<Axis>. This way you will have a custom collection in your project which can be used in XAML to hold the axis you need to use.

    Pavel R. Pavlov
    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
  3. DevCraft banner
Back to Top