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

RadCartesianChart change new data points to plot left to right?

1 Answer 85 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Maxwell
Top achievements
Rank 1
Maxwell asked on 15 Nov 2019, 02:29 PM

     I have a live updating RadCartesianChart and I noticed the data plots from right to left then scrolls.

I want the data to start plotting on the left then scroll as new data comes in...

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 18 Nov 2019, 11:08 AM

Hello Maxwell,

The chart data points are plotting based on their position on the axis. For example, if you have a categorical axis and data with categories "Apples", "Tomatoes" and "Melons", the "Apples" category will get positioned first (on the left side of the axis), then the "Tomatoes" and finally "Melons".

If you have a numeric axis (like LinearAxis), the data points will be positioned on the concrete numeric value they hold. The range of the numeric axes goes starts from left and goes to the right. You can switch the direction by setting its IsInverse property of the axis to True.

This said, I cannot tell for sure, why the data is plotted from right to left. Can you send me a drawing of the current and the expected result and also some code that you are using to set up the chart? Also, can you check the answer in the following forum and see if it helps?

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
Maxwell
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or