Page 1 of 1

Gallery Chart from code

Posted: Wed Feb 29, 2012 4:03 pm
by 16661821
Hi,

My question is about if it is possible to show from code the gallery of charts that we can see with the module Editing => Changes.

If it is not possible, how can I determine (from code) if a type of chart is available for the introduced information?

Thanks.
Primi.

Re: Gallery Chart from code

Posted: Fri Mar 02, 2012 8:26 am
by yeray
Hi
Primi wrote:My question is about if it is possible to show from code the gallery of charts that we can see with the module Editing => Changes.
Almost the same question was answered here:
http://www.teechart.net/support/viewtop ... 892#p15892
Primi wrote:If it is not possible, how can I determine (from code) if a type of chart is available for the introduced information?
I'm not sure to understand you. What conditions would make you choose a type or another?
If your data has X and Y values (or only one of them), the series type would probably be a Point, Line, Area, Pie, etc
If your data includes X, Y and Z, the series type would probably be one of the 3D series: Surface, ColorGrid, Contour or Point3D.
Would you like TeeChart to decide what series type is the most appropriate to graph a given data? I'm afraid this is not possible right now.

Re: Gallery Chart from code

Posted: Mon Mar 05, 2012 7:16 am
by 16661821
Thanks Yeray,

You refer to a response of 2006 and I thought that there could be some upgrade who was contemplating this. I think it is important to be able to show the gallery directly to the user without giving option to other modifications. In addition in your gallery one does not lead to the types of chart that they are not compatible.

It is a pity to have to develop code for something that you have so well solved.

Best regards,
Primi.

Re: Gallery Chart from code

Posted: Tue Mar 06, 2012 12:39 pm
by yeray
Hi Primi,

I've added it to the wish list to be implemented in future releases (TA05016069).