wmjcom opened a new issue #9709: How to make the line symbol different for each 
point and make the mark line style different for each line?
URL: https://github.com/apache/incubator-echarts/issues/9709
 
 
   This is my codes:
   option = {
       xAxis: {    
           type: 'category',
           data: ['Mon', 'Tue', 'Wed']
       },
       yAxis: {
           type: 'value',
       },
       series: [{
           data: [15, 45, 25],
           type: 'line',
           symbol: 'rect',
           symbolSize: 10,
           symbolRotate: 90,
           markLine: {
                   silent: true,
                   lineStyle: {
                       type:'solid'
                   },
                   data: [{
                       name: 'LSL',
                       yAxis: 20
                   }, {
                       name: 'X',
                       yAxis: 30
                   }, {
                       name: 'USL',
                       yAxis: 40
                   }]
               }
       }]
   };   
   
   I have two requirements.
   (1) Make the line symbol different for each point.
        For example, current the line symbol is 'rect' and it is used for all 
points. How can we set different symbol for each point? I want that point 1 is 
'rect' and point 2 is 'circle'.
   
   (2) Make the mark line style different for each mark line.
        For example, current the mark line style is 'solid' and it is used for 
all lines. How can we set different style for each line? I want that the first 
mark line is 'solid', the second mark line is 'dashed' and the third mark line 
is 'dotted'.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to