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

Select range in chart

3 Answers 166 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Yuriy
Top achievements
Rank 1
Yuriy asked on 06 Mar 2015, 12:44 AM
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.

3 Answers, 1 is accepted

Sort by
0
Accepted
Milena
Telerik team
answered on 10 Mar 2015, 08:51 AM
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.

 
0
Yuriy
Top achievements
Rank 1
answered on 25 Mar 2015, 01:55 AM
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.



0
Milena
Telerik team
answered on 25 Mar 2015, 09:42 AM
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.

 
Tags
Chart
Asked by
Yuriy
Top achievements
Rank 1
Answers by
Milena
Telerik team
Yuriy
Top achievements
Rank 1
Share this question
or