Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 158
  • Last Modified:

how using dbchart?

how i can use dbchart with query ?
0
hass80
Asked:
hass80
1 Solution
 
DragonSlayerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now