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

StepLineSeries Change Step Point

1 Answer 40 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 09 Nov 2018, 12:16 PM

The default behaviour for the StepLineSeries is that the centre of the step is over the point, is there a way to change the position of the step up/down so it corresponds with change in the horizontal axis

e.g. Imagine I have a StepLineSeries displaying the amount of money in my piggy bank on the vertical axis, and the date on a DateTimeContinuous horizontal axis, with the following amounts on dates:

1st Jan = £0

2nd Jan = £10

5th Jan = £3

Currently the first step up happens in between the horizontal axis markers for 1st and 2nd Jan, instead of on the axis marker for 2nd Jan, which is when I actually changed the value. Is there a way to adjust this behaviour?

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Vladimir Stoyanov
Telerik team
answered on 14 Nov 2018, 10:02 AM
Hello Abbie,

May I ask you to take a look at the PlotMode property of the axis? Can you try setting the PlotMode of the horizontal axis to OnTicks or OnTicksPadded and let me know if this is what you were going for?

If it is not, may I ask you to send over a sample picture of how the chart currently looks on your end and another picture of the wanted result. This will allow me to better understand the scenario and further assist you.

I am looking forward to your reply. 

Regards,
Vladimir Stoyanov
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
ChartView
Asked by
n/a
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or