How to put the echarts linear graph and text title at the beginning of the line?

clipboard.png

I would like to ask, how does echarts put the text at the beginning of the line?

official link demo:
http://echarts.baidu.com/exam.

Apr.07,2021

series: [{
    name:'Step Start',
    type:'line',
    step: 'start',
    data:[{
        name:'Step Start',
        value:120,
        label:{
        show:true,
        formatter:params=>{
            return params.seriesName
        },
        poisition:'top'
    }
    }, 132, 101, 134, 90, 230, 210]  
}]

there is no such operation originally, but you can hack into the data. The first name is in the same position as the name of series. You can adjust it according to poistion

.

E-mail marketing, alliance advertising these words are a group of legends, there is no way to separate, separate positioning, but these line charts can be represented separately in legend. The bottom in the
attribute can be represented dynamically. For example, the data of email marketing is data=. Then, you can define a function data0=data [0], and then set the bottom of email marketing to data0

.
legend: [
  {
    icon: 'line',
    textStyle: {
      color: "-sharpaaa"
    },
    data: [''],
    x: 'left',
    bottom: 20
  }, {
    icon: 'line',
    textStyle: {
      color: "-sharpccc"
    },
    data: [''],
    x: 'left',
    bottom: 40
  }
],
Menu