can RadHtmlChart LineSeries have multiple colors for it's DataPoints?

2 posts, 0 answers
  1. Doug
    Doug avatar
    103 posts
    Member since:
    Aug 2014

    Posted 29 Mar Link to this post

    is there a way to have different colors for DataPoints on the line series yet?
    my need is when value < 3 = green; value >3 and < 6  = yellow; value > 6 = red on a line series
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3907 posts

    Posted 31 Mar Link to this post

    Hello Doug,

    You can use the ColorField and provide the desired colors in the data source. You can find an example with similar logic in the following demo: http://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/custombarcolor/defaultcs.aspx.

    Regards,

    Marin Bratanov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top