Group: Forum Members
Last Active: Last Year
Posts: 33,
Visits: 76
|
Are there axis or chart settings to make the automatic ranging tighter? for example if data on a linear scale is ranging from 325 to 570 I would prefer that the automatic range would be 325 to 575 with increments of 50 but it is currently auto ranging to 300 to 600 with increments of 100. I know I can force this with custom step and range, but we are generating several hundred graphs with different ranges and it would be nice if it auto ranged instead of being manually set.
|
Group: Forum Members
Last Active: 2 days ago @ 1:54 AM
Posts: 3,054,
Visits: 4,009
|
Hi Rich, The following code shows how to increase the automatic tick density (by default ticks are placed at about 25pt - this code sets this property to 15pt): NLinearScaleConfigurator yScale = nChartControl1.Charts[0].Axis(StandardAxis.PrimaryY).ScaleConfigurator as NLinearScaleConfigurator; yScale.MajorTickMode = MajorTickMode.AutoMinDistance; yScale.MinTickDistance = new NLength(15, NGraphicsUnit.Point);
Best Regards, Nevron Support Team
|