[Solved]TChart How to shade area under lineseries lazarus / 21-General ---------------------------------------------------------------------- Wilko500 · 2025-06-16 22:37 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] Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i    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 ---------------------------------------------------------------------- wp · 2025-06-16 23:05 Quote from: Wilko500 on June 17, 2025, 12:37:29 amI 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. What do you mean with "shade the area under a line series"? Draw a shadow of the line? Or do you mean an AreaSeries? For the latter, find an example in the attachment ---------------------------------------------------------------------- Wilko500 · 2025-06-17 02:39 I did indeed mean AreaSeries. Just a couple of tweaks to style and now working as required thank youCode: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   Chart1AreaSeries1.AreaBrush.Style:=bsSolid;  Chart1AreaSeries1.AreaBrush.Color:=$00A3E1E3;  Chart1AreaSeries1.AreaLinesPen.Color:=$00A3E1E3;