Drawing chart line in different color for positive and negative values

2 posts, 0 answers
  1. Stuart
    Stuart avatar
    6 posts
    Member since:
    Jun 2011

    Posted 25 Oct 2011 Link to this post

    I'm using Silverlight RadChart and charting a series of amounts over time with a LineSeriesDefinition, effectively a simple line chart with amount on the Y axis and time on the X axis. Charted amounts can be negative or positive. I'd like do draw the chart line in red where the line falls below zero and in black where the line is above zero.

    Is this possible?
  2. Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 27 Oct 2011 Link to this post

    Hello Stuart,

    Since the Line Series geometry is drawn as single path currently there is no way that you can colorize parts of it differently.

    Regards,
    Evgenia
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top