Hi,
how to change yvalue of dbchart series at runtime? (Delphi 6)
Datasource is TQuery.
many thanks
jangbu
change Teechartv4 DBchart series yvalue at runtime
Re: change Teechartv4 DBchart series yvalue at runtime
Hi,
You can modify your values directly in the database, before loading the values to the chart.
Or you can load the values to the chart and then loop the Series YValues array to modify them.
You can modify your values directly in the database, before loading the values to the chart.
Or you can load the values to the chart and then loop the Series YValues array to modify them.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: change Teechartv4 DBchart series yvalue at runtime
Hi Yeray,
just tested this code, seems it is what i'm looking for.
DBChart1.Visible := false;
Series1.Active := false;
Series1.XLabelsSource := 'abc';
Series1.YValues.ValueSource := 'abc';
Series1.Active := true;
DBChart1.Visible := true;
regards
jangu
just tested this code, seems it is what i'm looking for.
DBChart1.Visible := false;
Series1.Active := false;
Series1.XLabelsSource := 'abc';
Series1.YValues.ValueSource := 'abc';
Series1.Active := true;
DBChart1.Visible := true;
regards
jangu
Re: change Teechartv4 DBchart series yvalue at runtime
Hi Jangu,
I'm glad to hear you found how to solve it
I'm glad to hear you found how to solve it
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |