How to customize the range of Chart axis?
Essential Chart supports customizing the range of an axis by using Range property of axis. This property has options to set the minimum, maximum and interval values of axis by using Min, Max and Interval properties. The following code example illustrates the same.
<ej:Chart ID="container" CanResize="true" runat="server"> <PrimaryXAxis> <Range Min="0" Max="11" Interval="2" /> </PrimaryXAxis> </ej:Chart>
The following screenshot displays the Chart with customized range in primary X axis.
Figure 1: Chart with customized range in primary X axis
The Classic controls can be used in existing projects; however, if you are starting a new project, we recommend using the latest version of Essential Studio for ASP.NET. Although Syncfusion will continue to support all Classic Versions, we are happy to assist you in migrating to the newest edition.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls. If you have any queries or require clarifications, please let us know in the comments section below.