Colouring points individually
Posted: Wed Jul 13, 2016 3:07 pm
Hi,
With a TLineSeries, I colour values according to a quality atribute. To do this I use TLineSeries.AddXY(Const AXValue, AYValue: TChartValue; Const ALabel: String; AColor: TColor), and everything is fine. The pointers are coloured as expected. Each line segment takes the colour of the following point.
But, if the TLineSeries is created first from a saved template, and has its properties assigned using the method AssignFormat, then it seems that the AddXY method colours only the line segments, and not the pointers.
Is there a property of a TLineSeries that separately controls whether line segments and pointers receive the colour specified in the call to AddXY?
Thanks for any advice.
Toreba
With a TLineSeries, I colour values according to a quality atribute. To do this I use TLineSeries.AddXY(Const AXValue, AYValue: TChartValue; Const ALabel: String; AColor: TColor), and everything is fine. The pointers are coloured as expected. Each line segment takes the colour of the following point.
But, if the TLineSeries is created first from a saved template, and has its properties assigned using the method AssignFormat, then it seems that the AddXY method colours only the line segments, and not the pointers.
Is there a property of a TLineSeries that separately controls whether line segments and pointers receive the colour specified in the call to AddXY?
Thanks for any advice.
Toreba