Page 1 of 1
Automatically scale left axis to visible data.
Posted: Mon Aug 10, 2015 9:39 pm
by 16475083
Is there any way to have the left axis max and min reset to only the data currently visible on the chart instead of to the max and min of the entire series?
Thanks.
Re: Automatically scale left axis to visible data.
Posted: Tue Aug 11, 2015 7:30 am
by narcis
Hi MVBobj,
You can calculate local minimum and maximum using the example suggested
here. You could use series' FirstVisibleIndex and LastVisibleIndex as first and last arguments. This is a TeeChart .NET thread but same should apply to VCL version.