how using dbchart?

how i can use dbchart with query ?
hass80Asked:
Who is Participating?
 
DragonSlayerConnect With a Mentor Commented:
1. Drop in a TDataSource and a TTable component
2. Connect TTable to the table you want to, set TDataSource to point to the TTable, set TTable's Active to True
3. Drop in DBChart, double click SeriesList property at the Object Inspector
4. Add new Series, double click on the newly added series, go to Data Source, change it to DataSet and the select the fields you want to use for X and Y Axis.



HTH
DragonSlayer
0
 
kretzschmarCommented:
or for query just replace ttable
from dragonslayers-comment with tquery

;-)
0
 
hass80Author Commented:
i want to see code using dbchart
0
 
kretzschmarCommented:
well, then tell first,
what data you will show in the grid,
and should it complete done at runtime,
or will be a "template" at designtime enough

meikl ;-)
0
 
pnh73Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from DragonSlayer

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0
All Courses

From novice to tech pro — start learning today.