You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/11/12 09:33:13 UTC

[GitHub] [echarts] 59637428 edited a comment on issue #16061: vue3.x & echartsV5.2.1, when i click the [ legend ] which on the chart, Console error: coordSys is undefined

59637428 edited a comment on issue #16061:
URL: https://github.com/apache/echarts/issues/16061#issuecomment-966954910


   this is my code:  
   
   
                   myChart.setOption({
                       title: {
                           text: 'Stacked Line'
                       },
                       tooltip: {
                           trigger: 'axis'
                       },
                       legend: {
                           data: ['Email', 'Union Ads']
                       },
                       grid: {
                           left: '3%',
                           right: '4%',
                           bottom: '3%',
                           containLabel: true
                       },
                       toolbox: {
                           feature: {
                               saveAsImage: {}
                           }
                       },
                       xAxis: {
                           type: 'category',
                           boundaryGap: false,
                           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
                       },
                       yAxis: {
                           type: 'value'
                       },
                       series: [
                           {
                               name: 'Email',
                               type: 'line',
                               coordinateSystem: 'cartesian2d',
                               data: [120, 132, 101, 134, 90, 230, 210]
                           },
                           {
                               name: 'Union Ads',
                               type: 'line',
                               coordinateSystem: 'cartesian2d',
                               data: [220, 182, 191, 234, 290, 330, 310]
                           },
                       ]
                   });
               },


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org