By shweta jain - 4 Years Ago
|
Hello, I am using Bar chart in which x- axis value is overlapping with each other. I am setting x - axis value using setting Labels on scale like below lines of code. I want to reduce ticks to readable x- axis value and avoid overlapping. How can I autoscale labels on scale? Is any other way to set x-axis value in bar chart which provide autoscaling? NStandardScaleConfigurator scale = (NStandardScaleConfigurator)this._cartesianChart.Axis(StandardAxis.PrimaryX).ScaleConfigurator; scale.AutoLabels = false; scale.Labels.Add("0"); scale.Labels.Add("4"); scale.Labels.Add("8");
|
By Nevron Support - 4 Years Ago
|
Hi Shweta, You can take a look at the following topic in the documentation: http://helpdotnetvision.nevron.com/#UsersGuide_Axes_Scale_Scale_Labels.html The "Label Layout Fit Modes" section talks about the different options you have to configure the label fit modes. You can also take a look at the All Examples\Axes\General\Axis labels example on how to apply different label non-overlapping settings. In this case, you probably need stagger and auto-scale label fit modes. You can also consider using label formatting with limited decimal precision to avoid excessively large labels. We hope this helps – let us know if you have any questions or meet any problems.
|