Home forums Chart Support How to make a vertical bar graph with horizontally draggable bars? Reply To: How to make a vertical bar graph with horizontally draggable bars?

#32114

@mepc36,

Width of columns / datapoints depends on multiple factors like width of the chart, number of dataPoints within the viewport, value difference between the consecutive dataPoints, etc. As dataPoints are dragged to reposition it, dataPoint’s x-value gets updated which in turn changes the value difference between its neighboring dataPoints. Hence width of dataPoints / columns are getting updated when you reposition the column. However, you can fix the width of the column / dataPoint by setting dataPointWidth property.

___________
Indranil Deo
Team CanvasJS