Help needed in Scrolling LeftAxis via TScrollbar

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Obelix
Newbie
Newbie
Posts: 10
Joined: Thu Oct 21, 2004 4:00 am

Help needed in Scrolling LeftAxis via TScrollbar

Post by Obelix » Wed Nov 03, 2004 12:20 pm

Hello,

please is anybody able to give me a detailed example, to setup and run a standard delphi TScrollbar component, therefor I am able to scroll my gantt chart vertically? I don't understand how to setup the values for min/max/pos in relation to the min/max/position of the left axis.

And how can I calculate the amount of visible items in a chart, depending on the height of the chart and the height of the items (Labelsize and Multiline) and the offsets of the left axis?

Tia Obelix
:(

Post Reply