Vision Posted January 11, 2019 Share Posted January 11, 2019 hi I tried this but not work nserie := 2; SetLength(Serie, nserie); Serie[0] := TUniBarSeries.Create(self); Serie[0].Name := 'serie0'; Serie[0].Parent := UniChart1; Serie[1] := TUniBarSeries.Create(self); Serie[1].Name := 'serie1'; Serie[1].Parent := UniChart1; SetLength(dummy, 10); for i := 0 to 10 do begin dummy[i] := Random(100); end; for i := 0 to 10 do begin Serie[0].Add(dummy[i], IntToStr(i)) end; Can anyone help me? I need to change on run time the number of bar chart in a chart tnks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 11, 2019 Share Posted January 11, 2019 5 minutes ago, cristian said: I need to change on run time the number of bar chart in a chart Hi, Sorry, can you explain a little more? Do you want to add a new series to the chart? Quote Link to comment Share on other sites More sharing options...
Vision Posted January 11, 2019 Author Share Posted January 11, 2019 yes i wold like to add new series to a chart run time tnks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.