Home > front end >  ECharts dragging the nodes
ECharts dragging the nodes

Time:12-23

ECharts, if the x coordinate is the "category" type, but Y is a value type (25, 25 range value is: -), how to implement drag and drop the control node move up and down?
And how to control the node values, are all integers, not allowing the decimal, for example, are not allowed to appear: 5.5 this data, and data is integer times 5?
In addition if through external to control the movement of nodes, (such as the slider move, the node is sliding) at the meeting, the vue program!!!!!
All of a sudden, ask the three questions, seek help from bosses ~, thank you!!!!!

CodePudding user response:

1. The control nodes move up and down, you see if this
https://echarts.apache.org/examples/zh/editor.html? C=line - draggable

2. Don't want to let y a decimal in yAxis Riga minInterval: 5 try

3. That should be zoom in, don't set a maximum of y axis in the yAxis Max: xx, want to let the node according to the slider sliding up and down, so don't set the y axis is fixed
  • Related