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.
TChartScrollBar fading effect problem
Re: TChartScrollBar fading effect problem
Hello,
I'm using the following code:
And I see the animation just on the bar with Delphi 7. What IDE are you using?
Have you tried with a regular TScrollBar?
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;
Have you tried with a regular TScrollBar?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |