Reputation: 1502
By default, the biggest value in the chart will have a full bar from bottom to top.
Is there a way to get some space between the top of the diagram and the maximum value? I wanted to have a standard zoom of 90% or something like this, but zooming out any further is not possible.
Upvotes: 0
Views: 1120
Reputation: 8331
As @Narcis Calvet sad one option is to use MaximumOffset but another option is to use:
Chart1.Axes.Left.Increment := 20;
I prefer to use Increments instead of MaximumOffset becouse usually it reults in nicer numerical scale on the side.
EDIT: To learn more about controlling the TChart Axis controll check this site: http://wiki.teechart.net/index.php?title=VCLTutorial4
Upvotes: 1
Reputation: 7452
Yes, this is possible using axis MaximumOffset property. For example:
Chart1.Axes.Left.MaximumOffset:=25;
Upvotes: 3