Page 1 of 2
TEECHART PRO v7 and PIE
Posted: Tue Jul 08, 2008 9:02 am
by 9350489
Hi narcis,
The Chart type "BAR" work BUT not those type "PIE".
It does not just see the legend..
Why?
thank you for your help
Didier
Posted: Tue Jul 08, 2008 9:11 am
by narcis
Hi Didier,
Could you please arrange a simple example project we can run "as-is" to reproduce the problem here and let us know the exact TeeChart version you are using?
You can either post your files at news://
www.steema.net/steema.public.attachments newsgroup or at our
upload page.
Thanks in advance.
Posted: Tue Jul 08, 2008 9:22 am
by 9350489
It's a very simple exercise:
I put a TDBChart, I choose "PIE" and I connects
the series to a dataset is working well.
thank you for your help
Didier
Posted: Tue Jul 08, 2008 10:20 am
by narcis
Hi Didier,
This works fine for me here. Which exact version are you using? Which is the exact problem, that you can't see pie's legend?
Thanks in advance.
Posted: Tue Jul 08, 2008 11:38 am
by 9350489
here is my version :
Teechart pro v7
@1995-2004 by David Berneda
is it ok ?
When I choose BAR, that's good but
if I choose PIE, nothing
only the legend
I do not see the chart!
???
Thank you
Didier
Posted: Tue Jul 08, 2008 11:40 am
by narcis
Hi Didier,
If your right-click on the chart and select the "About" option you'll see the exact version. Latest v7 release is v7.12, which is available at the client download area. Looking at the copyright dates I guess you are using an old v7 version as latest versions were published by the end of 2006 or beginning 2007.
Posted: Tue Jul 08, 2008 12:13 pm
by 9350489
hou hou..
I bought this version in June 2007.. and I read into the mail :
Thanks for Ordering TeeChart Pro 7.0 VCL/CLX version !
At that time the PIE not working?
there is a problem..
Can I get the updated 7.12?
Thank you
Didier
Posted: Tue Jul 08, 2008 12:25 pm
by 9350489
I download the 7.12..
Posted: Tue Jul 08, 2008 1:29 pm
by 9350489
I am the same problem with the version 7.12...
I am very sad..
Posted: Tue Jul 08, 2008 1:43 pm
by narcis
Hi Didier,
This works fine for me here using v7.12.
Here's how I setup the table I'm using:
Pie's datasource:
And the result:
Could you please try using same database, table and datasource settings and check if it works fine here? It might be that data you are using is not appropiate for plotting a pie series.
Thanks in advance.
Posted: Tue Jul 08, 2008 2:39 pm
by 9350489
I tried with a component TTable and TQuery BDE) with the employee table of DBDEMOS and
actually it works!
Do I have to conclude that the CHART does not work with all QUERY?
For my part, I use TIBOQuery.
Posted: Tue Jul 08, 2008 2:42 pm
by narcis
Hi Didier,
If your query works fine with bar series but not using pie series I'd conclude the data your are using is not able to define a pie series. If you want you can post here data you are using for us to have a look.
Thanks in advance.
Posted: Tue Jul 08, 2008 2:57 pm
by 9350489
EXPORT CSV:
"ATG normalisation",114530
"ATG ponctuelle",55340
"Clients centraux- hors recherche",875846.39
"Clients centraux- recherche",74840
"DDE-ETAT-interventions sur autoroutes ou sur routes nationales",1136597.99
"EGR",103902
Posted: Tue Jul 08, 2008 3:27 pm
by narcis
Hi Didier,
Thanks for the info. Are you using the first field as dataset's "Labels" field and second one as "Pie" field?
Thanks in advance.
Posted: Tue Jul 08, 2008 6:43 pm
by 8571714
This is the label "DDE-ETAT-interventions sur autoroutes ou sur routes nationales" that blocks the chart !
why ?
??????????????????????????????????????
Thank you very much for your help narcis
Didier