Forum > TAChart
(Solved) LinePen Width does not work
arneolav:
Sorry, no runtime in the attached version.
Tried recompile IDE, cleanup, etc, .. but no..
arneolav:
It seems ColorEach is the problem:
As one want an other color on values under a split value colorEach is used:
TLineSeries(LSeries).ColorEach := cePointAndLineAfter;
Removed ColorEach and then PenWidth does work.
But this created another problem: Color under split value is lost.
Edit:
Did a test, put a line .ColorEach in demo Linepen_width, unit1:
// Change the LinePen.Width of the red series
procedure TForm1.SpinEdit1Change(Sender: TObject);
begin
LineSeries_Red.ColorEach := cePointAndLineAfter; // <--------------
LineSeries_Red.LinePen.Width := SpinEdit1.Value;
end;
Then LinePenWidth does not work.
arneolav:
As there is no response i'll repeate:
LinePen.Width does work when ColorEach is NOT set.
LinePen.Width does NOT work when ColorEach is set.
Is this a bug or anything?
wp:
Fixed in main (trunk) and fixes_2_2.
arneolav:
Thank's a lot!!!
Tested ok.
Navigation
[0] Message Index
[*] Previous page