TChartScrollBar fading effect problem

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
sswang
Newbie
Newbie
Posts: 24
Joined: Wed Mar 28, 2012 12:00 am

TChartScrollBar fading effect problem

Post by sswang » Mon May 13, 2013 9:52 am

Hi,

I did a runtime created TChartScrollBar like this:

FChartScrollBar := TChartScrollBar.Create(GetHost);
FChartScrollBar.Parent := GetHost;
FChartScrollBar.Chart := GetHost;
FChartScrollBar.Align := alBottom;

It worked fine.
But when I mouse over the scrollbar, It generate a fading animation,
but the image that it captured for fading is from the top portion of chart, which is wrong bescause
the scrollbar is actually on the bottom, so the result is weird.
Please advice, thanks.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TChartScrollBar fading effect problem

Post by Yeray » Wed May 15, 2013 8:13 am

Hello,

I'm using the following code:

Code: Select all

uses Series, TeeScroB;

procedure TForm1.FormCreate(Sender: TObject);
var FChartScrollBar: TChartScrollBar;
begin
  Chart1.AddSeries(TPointSeries).FillSampleValues;
  Chart1.Axes.Bottom.SetMinMax(0, 10);

  FChartScrollBar := TChartScrollBar.Create(Chart1);
  FChartScrollBar.Parent := Chart1;
  FChartScrollBar.Chart := Chart1;
  FChartScrollBar.Align := alBottom;
end;
And I see the animation just on the bar with Delphi 7. What IDE are you using?
Have you tried with a regular TScrollBar?
2013-05-15_1005.png
2013-05-15_1005.png (16.22 KiB) Viewed 3445 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply