You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/09/13 09:22:29 UTC

[GitHub] ranlu823 opened a new issue #9064: 4.0版本在angular中多标题报错

ranlu823 opened a new issue #9064: 4.0版本在angular中多标题报错
URL: https://github.com/apache/incubator-echarts/issues/9064
 
 
   <!--
   为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
   -->
   
   
   ### One-line summary [问题简述]
   
   
   
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [4.1.0]:
   + Browser version [chrome: 70.0.3514.0(正式版本) (32 位)]:
   + OS Version [windows 10]:
   
   
   
   
   
   ### Expected behaviour [期望结果]
   
   
   
   
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
         title: [{
           gridIndex: 0,
           text: '在线构建',
           subtext: '总计 ',
           x: '25%',
           textAlign: 'center'
         },{
           gridIndex: 0,
           text: '在线构建',
           subtext: '总计 ',
           x: '50%',
           textAlign: 'center'
         }],
         tooltip: {},
         xAxis: [
           { type: 'category', gridIndex: 0, data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] },
           { type: 'category', gridIndex: 1, data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }
         ],
         yAxis: [
           { gridIndex: 0 },
           { gridIndex: 1 }
         ],
         grid: [{
           top: 50,
           width: '100%',
           bottom: '45%',
           left: 10,
           containLabel: true
         }, {
           top: '55%',
           width: '100%',
           bottom: 0,
           left: 10,
           containLabel: true
         }],
         series: [
           {
             name: '直接访问',
             type: 'bar',
             xAxisIndex: 0,
             yAxisIndex: 0,
             data: [86.5, 92.1, 85.7, 83.1]
   
           },
           {
             name: '间接访问',
             type: 'bar',
             xAxisIndex: 1,
             yAxisIndex: 1,
             data: [86.5, 92.1, 85.7, 83.1]
           }
         ]
   }
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   <!-- For example: Screenshot or Online demo -->
   <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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