The line is composed of continuous points. When I zoom the chart, duplicate numbers appear on the axis. How should I avoid this situation.
The normal chart is shown in 2.png, and the zoomed chart is shown in 3.png. The figure below shows some of the data.
Axis value repeat
Axis value repeat
- Attachments
-
- 2.PNG (7.69 KiB) Viewed 14080 times
-
- 3.png (26.42 KiB) Viewed 14080 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Axis value repeat
You can set the ValueFormat of series points and axis label values to any of the Standard or Custom numeric format strings, e.g.
Code: Select all
private void InitializeChart()
{
_tChart.Aspect.View3D = false;
var fastLine = new FastLine(_tChart.Chart);
fastLine.Add(1.96583, 0.2855);
fastLine.Add(1.96667, 0.2825);
fastLine.Add(1.9675, 0.2795);
fastLine.Add(1.96833, 0.27683);
fastLine.Add(1.96917, 0.2745);
_tChart.Axes.Bottom.Labels.ValueFormat = "N5";
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Axis value repeat
Thanks for your suggestions, the problem was successfully solved.