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

Chart abilities

1 Answer 63 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Roman
Top achievements
Rank 1
Roman asked on 18 Oct 2016, 08:46 AM

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


1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 20 Oct 2016, 02:21 PM
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!
Tags
Chart
Asked by
Roman
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or