TEECHART PRO v7 and PIE

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Clara Genermont
Newbie
Newbie
Posts: 42
Joined: Mon Jun 11, 2007 12:00 am
Contact:

TEECHART PRO v7 and PIE

Post by Clara Genermont » Tue Jul 08, 2008 9:02 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jul 08, 2008 9:11 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Clara Genermont
Newbie
Newbie
Posts: 42
Joined: Mon Jun 11, 2007 12:00 am
Contact:

Post by Clara Genermont » Tue Jul 08, 2008 9:22 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jul 08, 2008 10:20 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Clara Genermont
Newbie
Newbie
Posts: 42
Joined: Mon Jun 11, 2007 12:00 am
Contact:

Post by Clara Genermont » Tue Jul 08, 2008 11:38 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jul 08, 2008 11:40 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Clara Genermont
Newbie
Newbie
Posts: 42
Joined: Mon Jun 11, 2007 12:00 am
Contact:

Post by Clara Genermont » Tue Jul 08, 2008 12:13 pm

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

Clara Genermont
Newbie
Newbie
Posts: 42
Joined: Mon Jun 11, 2007 12:00 am
Contact:

Post by Clara Genermont » Tue Jul 08, 2008 12:25 pm

I download the 7.12..

Clara Genermont
Newbie
Newbie
Posts: 42
Joined: Mon Jun 11, 2007 12:00 am
Contact:

Post by Clara Genermont » Tue Jul 08, 2008 1:29 pm

I am the same problem with the version 7.12...

I am very sad.. :( :(

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jul 08, 2008 1:43 pm

Hi Didier,

This works fine for me here using v7.12.

Here's how I setup the table I'm using:

Image

Pie's datasource:

Image

And the result:

Image

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Clara Genermont
Newbie
Newbie
Posts: 42
Joined: Mon Jun 11, 2007 12:00 am
Contact:

Post by Clara Genermont » Tue Jul 08, 2008 2:39 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jul 08, 2008 2:42 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Clara Genermont
Newbie
Newbie
Posts: 42
Joined: Mon Jun 11, 2007 12:00 am
Contact:

Post by Clara Genermont » Tue Jul 08, 2008 2:57 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jul 08, 2008 3:27 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

nitin
Newbie
Newbie
Posts: 51
Joined: Thu Aug 22, 2002 4:00 am

Post by nitin » Tue Jul 08, 2008 6:43 pm

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

Post Reply