The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ASP.Net Chart Web Control
I added a custom YAxis using the following code.
Dim CustomAxis As New ChartAxis
CustomAxis.OpposedPosition = True
CustomAxis.Orientation = Windows.Forms.Orientation.Vertical
ChartWebControl1.ChartArea.Axes.Add(CustomAxis)
DesiredIntervals for both axis is set at 10.
I expected 10 horizontal lines. But there are 20.
somtimes, The horizontal lines of each axis are so close. How to make sure that there only 10 intervals(10 horizontal lines)
thanks
shankar
ADAdministrator Syncfusion Team June 11, 2005 05:03 AM UTC
Hi Shanker,
I tested with the default values of the chart series (0 and 1000) and set the DesiredIntervals to be 2 and that works. Could you please tell us what range you are using so that I can try to reproduce the problem.
Another option would be to set the Range.Interval property of the ChartAxis to control the interval:
ChartWebControl1.ChartArea.PrimaryYAxis.Range.Interval = 100
If you range has a spread of 1000, the above statement forces the chart to have 10 intervals.
Thanks.
Regards,
Davis