Hi David Bauer,
Greetings from Syncfusion.
We would like to let know that the requirement “Extend the range of axis” has been achieved by using the following ways. Please find the code example below.
Solution1: Use PlotOffset property of Chart Axis.
You can add additional range for both start and end of range by pixel.
Solution 2: Use RangePadding property of NumericalAxis and DateTimeAxis
Which is used to extend the range based on the interval of axis.
Solution 3: Use Minimum and Maximum property of axis.
If you are known the axis range predefined, you can customize the range of axis by using Minimum and Maximum property.
Please find the code example below.
CodeSnippet:
<chart:SfChart.PrimaryAxis>
<chart:CategoryAxis ArrangeByIndex="False" PlotOffset="10">
<chart:CategoryAxis.Title>
<chart:ChartAxisTitle Text="CategoryAxis"/>
</chart:CategoryAxis.Title>
</chart:CategoryAxis>
</chart:SfChart.PrimaryAxis>
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis RangePadding="Additional" />
</chart:SfChart.SecondaryAxis> |
Also, we have attached the sample for your reference. Please find the sample from the below link.
Output:
For more details, please refer the below link
Regards,
Yuvaraj.