User want to drag the series point as well as series line(whole series line) in any direction, so the user can move the series where he want, please refer the below URL, where user can move the series point in vertical direction only, likewise the user want to drag the series point as well as series line in any direction, so he can set the threshold limit where he want by using the custom series and analysis the chart against his threshold limit http://jsfiddle.net/SpaceDog/QsKaJ/1/
Hi Jeff,
Thank you for showing interest in the drag and drop of the Chart series feature.
Currently, Kendo UI for jQuery Chart does not provide built-in support for dragging series points or entire series lines in both horizontal and vertical directions.
To achieve the behavior you described—dragging series points and lines in any direction and setting threshold limits—you would need to implement custom logic. Here are some possible approaches:
plotAreaClick, seriesClick, or similar events to detect user interaction. Combine these with mouse/touch events to calculate new positions for series points and update the chart data accordingly.Here is a basic outline for custom point dragging in both axes (not a full implementation):
// Example outline for custom point dragging
$("#chart").kendoChart({
// ... chart configuration ...
series: [{
// your series config
}],
seriesClick: function(e) {
// Store index of clicked point
// Attach mousemove/mouseup handlers to update point coordinates
// Update data and redraw chart
}
// Additional event handlers as needed
});
Implementing full series line dragging would require iterating over all points in the series and updating their positions together as the user drags.
Regards,
Nikolay
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.