Page 1 of 1
ChartClickSeries Problem
Posted: Fri Apr 19, 2013 4:27 pm
by 16464229
I have several programs that, as I recall, worked fine with the previous version, but when I compile them with v2011/12, clicking on bar series seems to be scaled down from the actual display.
Attached is an example:
Code: Select all
procedure TSSGraphForm.FormActivate(Sender: TObject);
var x, y : integer;
Series : TBarSeries;
begin
WindowState := wsMaximized;
Chart.Visible := true;
for x := 1 to 5 do
begin
Series := Chart.AddSeries(TBarSeries) as TBarSeries;
Series.Title := IntToStr(x);
Series.MultiBar := mbnone;
Series.Marks.Visible := false;
Series.Transparency := 20;
for y := 1 to 6 do Series.Add((6-x)*y,IntToStr(y));
end;
end;
procedure TSSGraphForm.ChartClickSeries(Sender: TCustomChart; Series: TChartSeries;
ValueIndex: Integer; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
MessageDlg (Series.Title, mtInformation, [mbOk], 0);
end;
I'm also attaching the complied EXE.
I'm running Windows 7 64 bit Ultimate and Delphi XE3
The bars seem to display fine, but if you click on the higher part of the front side of any bar, the ChartClickSeries doesn't fire normally. As you click down the bar lower and lower, eventually you get an event, but it returns the wrong series.
It's almost like the vertical scale is off between the mouse position and the display
Any assistance in what I'm doing wrong would be appreciated
Hank
Re: ChartClickSeries Problem
Posted: Mon Apr 22, 2013 11:31 am
by yeray
Hi Hank,
You are right. It seems the Clicked function was broken with v2011.04 when having the default orthogonal 3D view and MultiBar=mbNone.
I've added it to the defect list to be revised for future releases (TV52016555).
Re: ChartClickSeries Problem
Posted: Mon Apr 22, 2013 1:33 pm
by 16464229
Thanks very much, Yeray
Can you suggest a work-around?
Maybe I could use a different series type like COLUMNS to get the same effect
mbBarNone was just the first one I stumbled upon that gave me that unstacked 3D look
Hank
Re: ChartClickSeries Problem
Posted: Tue Apr 23, 2013 1:27 pm
by yeray
Hi Hank,
Of course you can implement your own version of the clicked function and call it at the Chart OnClick event. However, if you do it you'll see this function has to handle a quite significant number of possibilities (Bar styles, MultiBar styles, 3D/2D, etc) making it quite complicate.
I'm afraid I can't think on any other workaround at the moment.
Re: ChartClickSeries Problem
Posted: Wed Apr 24, 2013 12:19 pm
by yeray
Hi Hank,
We've revised this and found the fix for it. It will be included with the next maintenance release.
Re: ChartClickSeries Problem
Posted: Wed Apr 24, 2013 9:49 pm
by 16464229
Great, and thanks very much
Do you have any idea when that will be and how I check for it?
Hank
Re: ChartClickSeries Problem
Posted: Thu Apr 25, 2013 7:54 am
by yeray
Hi Hank,
We are focused in the support for the new XE4 at this moment. The Standard version is shipped with it, as always, and we are testing the Pro version with it.
What I'm not sure right now is if we'll be able to publish a full maintenance release when these tests will have finished or if we'll have to publish a beta version only for XE4. This will depend on these changes to support XE4, if they break the support for the other IDEs or not.
Re: ChartClickSeries Problem
Posted: Thu Apr 25, 2013 1:10 pm
by 16464229
At this point I don't mind buying any new versions of Delphi or TeeChart
Is there currently ANY version of TeeChart available where this problem doesn't exist?
If not, when/where will the first version of TeeChart for any version of Delphi be available where this problem doesn't exist?
If it's available now I'll buy whatever I need to.
If the time frame is a few weeks I might be able to wait
If the time frame is longer than a few weeks I need to give up and start over with something else
Re: ChartClickSeries Problem
Posted: Thu Apr 25, 2013 2:19 pm
by yeray
Hi Hank,
Hank wrote:Is there currently ANY version of TeeChart available where this problem doesn't exist?
TV52016555 seem to appear in TeeChart v2011.04. So this as far as we know this should work with TeeChart v2011.03 or lower.
Hank wrote:If not, when/where will the first version of TeeChart for any version of Delphi be available where this problem doesn't exist?
If it's available now I'll buy whatever I need to.
If the time frame is a few weeks I might be able to wait
If the time frame is longer than a few weeks I need to give up and start over with something else
The next version we publish will include the fix.
We'll probably publish a pre-release version just for XE4 as soon as possible and a full maintenance release supporting all the usual IDEs a bit later.
However, as said above, I'm not sure when it will be. The pre-release for XE4 hopefully in a few days.
Re: ChartClickSeries Problem
Posted: Thu Apr 25, 2013 4:52 pm
by 16464229
Great
I've purchased XE4, how will I know when the XE4 TeeChart version is available?
Re: ChartClickSeries Problem
Posted: Fri Apr 26, 2013 7:19 am
by yeray
Hi Hank,
Hank wrote:I've purchased XE4, how will I know when the XE4 TeeChart version is available?
I recommend you to be aware at the following channels for new release announcements and what's implemented on them:
-
Support forum.
-
RSS news feed.
-
Twitter.
-
Facebook.
We also have a list of customers interested to who we'll send a mail when available.
Re: ChartClickSeries Problem
Posted: Fri Apr 26, 2013 2:05 pm
by 16464229
How do I get on the list that will get an email?
Re: ChartClickSeries Problem
Posted: Mon Apr 29, 2013 7:42 am
by yeray
Hi Hank,
Hank wrote:How do I get on the list that will get an email?
You already are
Re: ChartClickSeries Problem
Posted: Tue Apr 30, 2013 3:07 pm
by yeray
Hi,
I've sent you a mail but anyway,
This is just to let you know we've just published a TeeChart VCL/FMX BETA installer supporting RAD XE4.
http://www.teechart.net/support/viewtop ... =3&t=14016