Select range in chart

4 posts, 1 answers
  1. Iurii
    Iurii avatar
    5 posts
    Member since:
    Jan 2014

    Posted 05 Mar 2015 Link to this post

    Hi Telerik team,

    Does WPF Telerik Chart control support range selection? If yes then could you please attach the example?
    I need to add chart control to view where user can select some range. 

    I've attached the sample image of chat.

    Thank you,
    Iurii.
  2. Answer
    Milena
    Admin
    Milena avatar
    204 posts

    Posted 10 Mar 2015 Link to this post

    Hello Iurii,

    ChartView doesn't support range selection out of the box. But you can see our SDK example TimeBarOverChartView which demonstrates one possible approach for implementing a mixed functionality between TimeBar and ChartView (including range selection).

    Another possibility is to use Sparkline inside the TimeBar as in the picture you sent (you can see a sample implementation in RadTimeBarOverview exampe). Please have in mind that the Sparkline is comparable to the chartview in some ways but in order to maximize performance there are some limitations and 
    spark lines do not utilize this many visual indicators, as well as x or y axis or multiple axes. So, it depends on your scenario which control would be more suitable.

    I hope this information will help you and don't hesitate to write back if you have more questions.

    Regards,
    Milena
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Iurii
    Iurii avatar
    5 posts
    Member since:
    Jan 2014

    Posted 24 Mar 2015 in reply to Milena Link to this post

    Hello Milena,

    Thank you for the solution. It works.

    I have one more question. 
    I am trying to use RadCartesianChart with few lines. I displayed the lines on RadCartesianChart and added RadLegend to display line names. But the color is the same for each lines.

    So my question is How can I add unique color for every line? Or How can I add title for every line (like attached NamedLines.jpg) with some set of colors (can be repeated)?

    Thank you,
    Iurii.



  5. Milena
    Admin
    Milena avatar
    204 posts

    Posted 25 Mar 2015 Link to this post

    Hello Iurii,

    I'm glad that the suggested approach works for you. 

    As for the legend - I've already answered to your question in this forum post.

    I would ask you to keep the communication for a particular topic in a single thread. This way we will be able to track the issue easier, organize our communication history better and assist you in a more convenient manner. We appreciate your understanding in this matter.

    Regards,
    Milena
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top