Home Forums Chart Support Draggable chart and accessing endpoints Reply To: Draggable chart and accessing endpoints


Thanks Shashi for clarifying, so looks like I just needed to duplicate the jquery function for each chart1 + 2 to utilize the mouseup/mousedown interactions.

$(“#chartContainer2 > .canvasjs-chart-container”).on({

Do you have any suggestions on how to making the endpoints of the dragged elements into a global variable that I can use in a separate calculation? For example, I drag chart1.dataPoint y to 10, and use that 10 to calculate a balance (say fn(10)) that is displayed in a different canvasJS chart.