Jump to content
Software FX Community

How to adjust labels after a zoom

User (Legacy)

Recommended Posts

I have an X scale that is 0-100 mm with a major grid line ever 10 mm. So the

labels are

0, 10, 20, 30 etc. If I zoom in to see the area between 11 and 19 mm I no

longer have any

labels, because they are at 10 and 20. When I zoom in to this level for


I'd like to change the lableing to 10, 12, 14, 16 etc. That way I can see

the X axis labels

when zoomed in. It would be too cluttered if I also labeled every 2 mm when

zoomed out.

My X axis code is:



this.chart1.AxisX.Title.Text = "Height";

this.chart1.AxisX.Min = 0;

this.chart1.AxisX.Step = 10;

this.chart1.AxisX.MinorStep = 1;

this.chart1.AxisX.Max = 100;

this.chart1.AxisX.Gridlines = true;

this.chart1.AxisX.MinorGridlines = true;

this.chart1.AxisX.MinorTickMark = SoftwareFX.ChartFX.TickMark.Outside;

this.chart1.AxisX.TickMark = SoftwareFX.ChartFX.TickMark.Outside;



"SoftwareFX Support" <support@softwarefx.com> wrote in message


> No. If MajorStep is set to Auto (default) it will re-calculate itself


> Zoomin-in or out.


> Can you please explain a little better (with an specific example) what you

> are trying to achieve ?


> --

> FP

> Software FX, Inc.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...