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

Change line color in custom intervals

1 Answer 27 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 22 May 2014, 08:41 AM
Hi,

is it possible to change the line color in a RadCartesianChart depending on the DataItem (e.g. for the line segment before the data point)?
I found an old thread (http://www.telerik.com/forums/change-line-colour-part-of-the-line-only) where it was stated that such a functionality was planned - however I don't see any evidence that it was implemented...

Alex

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 26 May 2014, 07:18 AM
Hi Alexander,

The link you provided is for the old RadChart. Your question concerns the new ChartView (this is a set of controls - RadCartesianChart, RadPieChart, RadPolarChart). The new chart does not have such a functionality built in. The line is not drawn with different segments as this will decrease performance. The line is a single Path element and it has a Stroke property.

We have not planned this feature for the new ChartView control because we are not sure that it would bring value into perceiving data. Can you send us some pictures demonstrating the results you are after so that we see if we should consider such finctionality for a future release. Currently you can use the PointTemplate property and have custom visuals (point marks) in different color depending on the data item.

Regards,
Petar Marchev
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ChartView
Asked by
Alexander
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or