This is a migrated thread and some comments may be shown as answers.

The line of the graph is cut

1 Answer 48 Views
Chart
This is a migrated thread and some comments may be shown as answers.
alejandro
Top achievements
Rank 1
alejandro asked on 06 Sep 2019, 08:35 AM
Hi,

Is there any way to prevent the line of the graph from being cut when its curve is below the minimum?
I send an example.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 10 Sep 2019, 11:19 AM

Hello Alejandro,

The reported behavior appears because the points generated by the spline function are not taken into account when auto-calculating the range of the axis. So, the axis is trying to define a proper range based on the concrete data points, but not on the additional spline points.

To avoid this, you can extend the range of the vertical axis manually by setting its Minimum property. For example:

<telerik:RadCartesianChart.VerticalAxis>
	<telerik:LinearAxis Minimum="-5"/>
</telerik:RadCartesianChart.VerticalAxis>

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Chart
Asked by
alejandro
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or