Page 1 of 2

Problems with TBubbleSeries

Posted: Wed Oct 12, 2011 2:41 pm
by 16560392
I have (finally) gotten the pre-release of TeeChart installed, and I am having some problems with the Bubble Series.

1) I cannot get the Data in the series cleared. Is there a way to do that?
2) I will need a label along the Left Axis rotated so that it read down-to-up. Is there a way to do that?
3) The Color boxes seem to work intermittently. Is there a way to get the same text Delphi uses in the drop-downs in the Style editor? That would simplify things greatly to get the colors matching up.
4) Can the bubbles in the bubble series be clipped so that they stay inside the back panel?
5) Is there a way to get the bounding rectangle of the back panel?
6) Is there a way to force the back panel (or the first quadrant) to always be square?
7) Titles seem to always revert back to being drawn in blue, rather then my preferred black, bold.

At first, it seemed to be working OK, but then after I shut down XE2, then re-loaded I got this error:

1) "Error reading Series3.Pointer.HorizSize: Pointer size must be greater than zero. Ignore and continue?..."
2) then...VertZise, too
3) I now get a run-time error "Pointer size must be greater than zero." and am dead in the water.

Thank you for your time.

Re: Problems with TBubbleSeries

Posted: Fri Oct 14, 2011 11:10 am
by yeray
Hello,
CUS wrote:1) I cannot get the Data in the series cleared. Is there a way to do that?
At runtime you can clear the date in a series by (assuming you want to clear the first series in the chart):

Code: Select all

Chart1[0].Clear;
At designtime you can clear the data in a series with the "Clear" button in the "Series\Data Source" tab, with "Random" selected in the combobox.
CUS wrote:2) I will need a label along the Left Axis rotated so that it read down-to-up. Is there a way to do that?
To rotate the labels in an axis you can use:

Code: Select all

Chart1.Axes.Left.LabelsAngle:=90;
CUS wrote:3) The Color boxes seem to work intermittently. Is there a way to get the same text Delphi uses in the drop-downs in the Style editor? That would simplify things greatly to get the colors matching up.
I've added the possibility to change the colorpicker to the old one, that is more practical (TV52015786).
CUS wrote:4) Can the bubbles in the bubble series be clipped so that they stay inside the back panel?
You are right. I see the series aren't clipped. I've added it to the wish list to be implemented in future releases (TV52015787).
CUS wrote:5) Is there a way to get the bounding rectangle of the back panel?
I think you are looking for this, isn't it?

Code: Select all

Chart1.ChartRect
CUS wrote:6) Is there a way to force the back panel (or the first quadrant) to always be square?
I'm not sure to understand what do you mean. Do you mean the left and bottom axes scales or the ChartRect?
Please, take a look at the example at "All features\Welcome !\Axes\Isometric Axis" in the features demo program included with the installation.
CUS wrote:7) Titles seem to always revert back to being drawn in blue, rather then my preferred black, bold.
The following code seems to work fine for me here. Doesn't it for you?

Code: Select all

Chart1.Title.Font.Color:=claBlack;
If you still have problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
CUS wrote:At first, it seemed to be working OK, but then after I shut down XE2, then re-loaded I got this error:

1) "Error reading Series3.Pointer.HorizSize: Pointer size must be greater than zero. Ignore and continue?..."
2) then...VertZise, too
3) I now get a run-time error "Pointer size must be greater than zero." and am dead in the water.
It would be helpful if you could arrange a simple example project we can run as-is to reproduce the problem here too.
Thanks in advance.

Re: Problems with TBubbleSeries

Posted: Mon Oct 17, 2011 8:23 pm
by 16560392
It would be helpful if you could arrange a simple example project we can run as-is to reproduce the problem here too.
To where shall I send this?

Re: Problems with TBubbleSeries

Posted: Tue Oct 18, 2011 7:41 am
by narcis
Hi CUS,

You can attach it here or post it at the upload page.

Thanks in advance.

Re: Problems with TBubbleSeries

Posted: Tue Oct 18, 2011 4:29 pm
by 16560392
On the Upload Page as ToSteema.zip

Re: Problems with TBubbleSeries

Posted: Tue Oct 18, 2011 9:19 pm
by 16560392
Oh yeah. How to compile under xCode. I got a 'Could not find unit FMX_Tee_Engine" error

Re: Problems with TBubbleSeries

Posted: Wed Oct 19, 2011 4:44 pm
by 16560392
OK, I got it starting to compile in xCode.I had to change some ReadStr calls to ReadString in Canvas.

I am now getting this error:

FMXTee_Canvas.pas(16029,1) Fatal: Internal error 200602041
Fatal: Compilation aborted

Re: Problems with TBubbleSeries

Posted: Thu Oct 20, 2011 8:46 am
by yeray
Hello CUS,
CUS wrote:On the Upload Page as ToSteema.zip
I've seen you have some "empty" values in your first series (they have "Radius=0"). If I remove them, the HorizSize&VertSize are recalculated according to the values in your series and the axes min&max, and the error doesn't appear any more. The steps I followed: Go to the editor tab "Series/Series1 (the first one)/Data Source". Select Random and apply with 1 number of sample values. Then, change the combobox to manual and set the values you had in the first point "Text=0", "Y=11" and "Radius=2.5". Close the editor.
CUS wrote:OK, I got it starting to compile in xCode.I had to change some ReadStr calls to ReadString in Canvas.

I am now getting this error:

FMXTee_Canvas.pas(16029,1) Fatal: Internal error 200602041
Fatal: Compilation aborted
Could you please send us a simple example project we can run to reproduce this as well?
Thank you in advance.

Re: Problems with TBubbleSeries

Posted: Thu Oct 27, 2011 9:54 pm
by 16560392
Try this.

** Project removed by Yeray. There were some TeeChart units included in it.

Re: Problems with TBubbleSeries

Posted: Mon Oct 31, 2011 10:50 am
by yeray
Hello CUS,

I found no problems compiling and running your project here with XE2 and the PreRelease version v2011.04. Could you please check the paths in your IDE?

PS: Excuse me for editing your last message.

Re: Problems with TBubbleSeries

Posted: Mon Oct 31, 2011 2:36 pm
by 16560392
It compiled in XE2, but not in xCode.

Re: Problems with TBubbleSeries

Posted: Wed Nov 02, 2011 6:45 pm
by 16560392
FMXTee_Canvas.pas(8976,5) Note: Local variable "Center" is assigned but never used
FMXTee_Canvas.pas(8977,5) Note: Local variable "Radius" is assigned but never used
FMXTee_Canvas.pas(10798,7) Note: Local variable "P0" is assigned but never used
FMXTee_Canvas.pas(2638,16) Hint: Local type "PPoints" is not used
FMXTee_Canvas.pas(13452,3) Note: Local variable "AlphaBlendChecked" not used
FMXTee_Canvas.pas(13453,3) Note: Local variable "CanUseWinAlphaBlend" not used
FMXTee_Canvas.pas(14311,15) Hint: Local type "PColorRGB" is not used
FMXTee_Canvas.pas(14316,14) Hint: Local type "PRGBList" is not used
FMXTee_Canvas.pas(15185,5) Note: Private field "TFilerAccess.FRootAncestor" is never used
FMXTee_Canvas.pas(16029,1) Fatal: Internal error 200602041
Fatal: Compilation aborted

That line seems to be the start of the initialization section.

Re: Problems with TBubbleSeries

Posted: Wed Nov 09, 2011 9:00 am
by yeray
Hello CUS,

Excuse us for the delay here. We are investigating this but our experience with XCode is limited.
We haven't forgotten this.
Note this isn't the final release and we expect to revise this for the stable release.

Re: Problems with TBubbleSeries

Posted: Mon Nov 21, 2011 11:12 pm
by 16560785
Still a problem! Now with slightly different linenumber...

FMXTee_Canvas.pas(16044,1) Fatal: Internal error 200602041

Re: Problems with TBubbleSeries

Posted: Tue Nov 22, 2011 4:18 pm
by yeray
Hello dcore,

Are you using the final v2011.04 release? Are you experiencing the same problem CUS exposed with a different project? If it's simple, could you please send it to us?