Recent

Author Topic: LineSeries Styles and Colors  (Read 2642 times)

chucky

  • New Member
  • *
  • Posts: 43
LineSeries Styles and Colors
« on: May 23, 2013, 07:01:49 pm »
Is it possible to change the style or color of a point or line independant of the other points in the same series?

Let's say you have a few missing data records in your series so you extrapolate the missing values but you want to display them with a different style or color so you can readily see the data was extrapoated and not actual.

wp

  • Hero Member
  • *****
  • Posts: 13554
Re: LineSeries Styles and Colors
« Reply #1 on: May 24, 2013, 12:09:24 am »
You can use the (optional) 4th parameter of series' AddXY method to specify the individual color of the new data point, overriding the color of the series.

There is no "official" way to change the style of the data point. But you could put all the "missing data" into a separate series where you are free to use a different pointer style. If the missing points are contained also in the other series you must draw the "missing data" series at the top, give it a ZPosition larger than that of the normal series to achieve this effect.
« Last Edit: May 24, 2013, 09:25:56 am by wp »

 

TinyPortal © 2005-2018