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

Drawing chart line in different color for positive and negative values

1 Answer 63 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Stuart
Top achievements
Rank 1
Stuart asked on 25 Oct 2011, 07:27 AM
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?

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 27 Oct 2011, 04:45 PM
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 >>
Tags
Chart
Asked by
Stuart
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or