Are line chart's editable / dragable?

1 Answer 37 Views
Charts Grid
George
Top achievements
Rank 3
Bronze
Bronze
Iron
George asked on 27 Nov 2024, 10:21 PM

Hi,

Maybe this is a misunderstanding on my part. I am trying to create a demo project using the kendoChart, specifically a line chart with points.

 

I would like to be able to drag the points and  thus change the values, buuut it seems like I get an error when I try to do drag a point up or down:

But when I try to drag the points on line I get this error:

And the value doesn't change either.

Here is a kendo dojo example:

Drag Line Chart Example | Kendo UI Dojo

I eventually want to create a line chart that is bound to a dataSource and shares this with a grid and I can see the changes made by manipulating the graph points in the cells of the grid. Am I going in the right direction?

Thanks!

George

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 02 Dec 2024, 02:06 PM

Hello, George,

By default, the point dragging in the Kendo Chart is not supported out-of-the-box. In the drag event handler from the Dojo example, some of the variables (such as index and value) are undefined which is also raising the error. 

There's a SO thread that discusses the same topic, perhaps it will provide some valuable insight. We also have an open feature request where you can cast your vote and provide some additional comments about the functionality.

As for the shared dataSource, if the requirement is to reflect changes are made in the Chart in the Grid as well, that would depend on how you would implement the dragging part. The other way around (Grid changes reflected in the Chart) should be easy to achieve.

Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Charts Grid
Asked by
George
Top achievements
Rank 3
Bronze
Bronze
Iron
Answers by
Martin
Telerik team
Share this question
or