MacOs Sequoia Laz 4.1 FPC 3.2.3
I am trying to shade the area under a TChart line series. I have managed to draw the line series but cannot figure out how to shade the area under the line. I have found some references to doing this with TChartStyles. So I added the component added a chartstyle and added the ChartStyle to my lineseries. Running the program draws the line but does not shade. My line series is named Power and the key styling code is [I think]
Power.clear;
tmpDt:=scandateTime('yyyy"-"mm"-"dd" "hh":"nn":"ss', '2025-06-16 00:00:00');
Chart1.BottomAxis.Range.Min:=tmpDt; //was dtMin
Chart1.BottomAxis.Range.Max:=IncDay(tmpDt); //was dt(min)
Power.Styles:=ChartStyles1;
ChartStyles1.Styles[0].Brush.Style:=bsSolid;
ChartStyles1.Styles[0].Brush.Color:=clYellow
Either I am missing something or this can't be done??? Help please