CodePudding user response:
See along while didn't see you can customize the X coordinates, but you can add a layer of canvas on it, do your own dotted line, may be feasibleCodePudding user response:
Series: [{
Name: 'direct access to the'
Type: 'bar',
BarWidth: '60%',
Data: [10, 52, 200, 334, 390, 330, 220],
//average configuration
MarkLine: {
Type: 'the line',
Data: [{type: 'business' name: 'average'},]
}
}
]
CodePudding user response:
When I zoom function is added in the chart, the resized average change, this how to solve?CodePudding user response:
In the series:MarkLine: {
Label: {
The formatter: function () {
Return 'custom text
'},
},
}