Chart abilities

2 posts, 0 answers
  1. Roman
    Roman avatar
    1 posts
    Member since:
    Oct 2016

    Posted 18 Oct Link to this post

    Hello everyone,

    I'm looking for a chart (x-y Axis) which has the following abilities:

    1. can display series of different types (line , area ..)

    2. drag and drop ability of point in line series

    3. drag and drop ability of section in line series

    4. give a different style ( color, thickness) to each section in the line series.

    Is there a chart containing all these abilities? maybe some example of this chart.

    Thanks for your help,

    Roman


  2. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 20 Oct Link to this post

    Hello Roman,

    I recommend you to take a look at the RadChartView which is the newer and improved charting component. About your requirements, yes there are different series types which you can see in the Series section of the chart documentation or in the demo application. However, the rest of your requirements are not built in the chart.

    To achieve a drag drop functionality you will need to implement it yourself. For example, you can subscribe for the mouse events of the chart and update the data point (or line) under the mouse. You can use the Conversion API of the chart to convert screen coordinates to chart coordinates if necessary.

    Since the line series of the chart is using a single Path element to draw itself, you cannot color the line in different colors. In this case you can use different series for each segment, but in the most cases this is not much convenient. Instead, you can consider to mark the different line segments using an annotation. For example, the plot band annotation could be a good choice to do that.

    Regards,
    Martin
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top