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

[Solved] LineSeries with labels and datapoints

1 Answer 102 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas
Top achievements
Rank 1
Thomas asked on 05 Nov 2012, 03:11 PM
Hi,

I have created a simple chart with LineSeries and there seems to be a problem with the first and the last datapoint in the series since they appear half outside the chart canvas. The label and datapoint is therefor not visible as they should be.
Is there anyway to create some space to the left of the first datapoint and to the right of the last datapoint?

Thanks
Thomas

1 Answer, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 06 Nov 2012, 12:53 PM
Hello, Thomas

Thank you for using Telerik RadControls for Windows 8!

Yes, it is possible. You can use the PlotMode property of DateTime and Categorical Axes. For the described scenario you need to set it to:
PlotMode="OnTicksPadded"

I hope this helps. If you have any further questions do not hesitate to contact us again.

 

Regards,
Ivaylo Gergov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart for XAML
Asked by
Thomas
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Share this question
or