Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

ScatterLine Char - How to make Dynamic the color of the line

$
0
0
Hello Oliver,

A line from the same series cannot have two different colors, but a line made of two different series can. To end up with the look you're looking for, work with your data before sending it to the chart and separate it in two series, those with a Y value greater than 0 and those with a Y value smaller than 0.

I prepared a sample in the Kendo UI Dojo to show you how it can be done; take a look at it here.

I hope this helps!

Regards,
Eduardo Serra
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 

Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>