Userinterface for TeeChart series
Hi All,
I am using TeeChart in Report Builder. What i do is; i create a dataset,
like the one below.
Shop1 Product1 Quantity Month1
Shop1 Product2 Quantity Month1
Shop1 Product1 Quantity Month2
Shop1 Product2 Quantity Month2
What i would like to get is a lineChart with on the X the quantity and on
the Y the months. The line Itself have to be the product ofcourse.
But i can't do this because i have to connect my dataset to a serie and i
need at least 2 series for the products so i should create a dataset for
each of the series.
I would like to use one dataset and divide it into more series within
Report Builder.
Does anybody know how i can solve this problem or which component i have
to use?
Thanks in advance,
Daniel
--- posted by geoForum on http://delphi.newswhat.com
I am using TeeChart in Report Builder. What i do is; i create a dataset,
like the one below.
Shop1 Product1 Quantity Month1
Shop1 Product2 Quantity Month1
Shop1 Product1 Quantity Month2
Shop1 Product2 Quantity Month2
What i would like to get is a lineChart with on the X the quantity and on
the Y the months. The line Itself have to be the product ofcourse.
But i can't do this because i have to connect my dataset to a serie and i
need at least 2 series for the products so i should create a dataset for
each of the series.
I would like to use one dataset and divide it into more series within
Report Builder.
Does anybody know how i can solve this problem or which component i have
to use?
Thanks in advance,
Daniel
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
It is possible to assign the same pipeline to separate series in a TeeChart.
If for instance you add two series to a single TeeChart component, you can
assign the data for each one by clicking on the individual series and then
selecting the Series | DataSource tab.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thank you for your reply.
But what you are describing i already have done it. What i see is a
strange line who aggrates all the data.(for example it shows the data from
Product1 and 2 in the same colour).
I guess i have to create for every product a new query(aka dataset) and a
new serie.
Or am i wrong? If you want i can send you a picture of the chart so you
can see what i mean.
Daniel
--- posted by geoForum on http://delphi.newswhat.com
Yes, it seems you will need to create a new dataset for each product to get
the effect you are after. Note that the TeeChart component in ReportBuilder
is simply a wrapper around the actual TChart component in Delphi. You might
try contacting Steema's support to be sure there is not a work-around to
this limitation.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com