How to edit the dimensions of an echart line chart

as shown in the figure, I want the annotations pointed to by the arrows in the picture to be editable. Echart does not provide such an example. I do not know if there is such a solution
clipboard.png

.
Jul.12,2022

modify the prompt text. You can customize tooltip's formatter
reference:
https://echarts.baidu.com/opt...


formatter can return html , so it is very flexible. Listen for events in tipHtml , modify data, and re- setOption

.
{
    formatter: function(params) {
        // console.log(params)
        var tipHtml = '<div><input type="text" /></div>';
        return tipHtml;
    }
}
Menu