Kratov Posted August 30, 2017 Share Posted August 30, 2017 Hi, I'm trying to create series at run time, It updates titles but not graphic bars. Need Help Please. procedure CargarGrafica< T: TUniChartSeries >(); procedure TFrmConGrupo.CargarGrafica<T>(); var Serie : T; begin DBChart1.SeriesList.Clear; DmoConsultasConta.QrySaldoGru.First; While not DmoConsultasConta.QrySaldoGru.Eof do begin Serie := T(TUniChartSeries.Create(DBChart1)); Serie.Name := ''; Serie.Parent := DBChart1; Serie.Add(DmoConsultasConta.QrySaldoGruSALDO.AsInteger,DmoConsultasConta.QrySaldoGruDESCRIPCION.AsString); DmoConsultasConta.QrySaldoGru.Next; end; end; procedure TFrmConGrupo.BtnPastelClick(Sender: TObject); begin inherited; CargarGrafica<TUniPieSeries>(); end; Best Regards, Quote Link to comment Share on other sites More sharing options...
ricardolb Posted August 30, 2017 Share Posted August 30, 2017 For all I know it's not possible, I already tried it, I started using HighCharts 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.