procedure TForm1.Button1Click(Sender: TObject);begin Chart1.Series.Clear; Lser:=TLineSeries.Create(Chart1); for x:= 1 to 20 do for y:=0 to 7 do Lser.AddXY(strtofloat(stringgrid1.Cells[1,x]),strtofloat(stringgrid1.Cells[2,x])); chart1.AddSeries(Lser); lser.LinePen.Width:=2;end;
What about creating a separate folder for all TAChart related postings (subfolder of Graphics)? There are a lot of positings now, and they are spread all over the entire forum. The search function here is not very powerful, and I often don't find postings any more where I want to read you answer again.
I missed this thread since the title does not contain anything about chart.Please include "TAChart" into the title next time.Regarding your question -- I think you need to use area series.