MatthiasMert commented on issue #19555:
URL: https://github.com/apache/echarts/issues/19555#issuecomment-1911888562

   You are missing one set of brackets.
   
   In my example code 
   `[
       {yAxis: 'average', x: '10%', name: 'average'},
       {yAxis: 'average', x: '90%'}
   ]`
   specifies a line between two points which have to be encapsulated into '[' 
brackets.
   
   So the correct syntax is
   `
   data: [
       [    // <-- brackets
           {yAxis: 'average', x: '10%', name: 'average'},
           {yAxis: 'average', x: '90%'}
       ]    // <-- bracktes
   ]
   `
   instead of your
   `
   data: [
       {yAxis: 'average', x: '10%', name: 'average'},
       {yAxis: 'average', x: '90%'}
   ]
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to