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

Manipulate selected data point (marker) on line chart

1 Answer 125 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Vincent asked on 08 Aug 2012, 02:19 PM
Hello,

I'm using the series.type="line" chart. I was wondering if these are possible?

If someone clicks on a data point (marker), I was wondering if you can manipulate the colour, size, etc. The only way i could do this was by changing the properties in the DOM element itself, but then when i hover to a new point, the selected data point reverts back to the default settings. Is there no way to change colours and sizes of each data point or does it have to be a standard throughout the entire chart.

Thanks.

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 13 Aug 2012, 02:42 PM
Hi,

The recommended approach is to modify the underlying data and rebind or recreate the chart.

The color of each point can be bound to a field, see colorField.

All the best,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Vincent
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or