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/08/16 03:56:13 UTC

[GitHub] wqqwqq666 opened a new issue #8880: 如何动态赋值dataset source 和 dimission

wqqwqq666 opened a new issue #8880: 如何动态赋值dataset source 和 dimission
URL: https://github.com/apache/incubator-echarts/issues/8880
 
 
   <!--
   为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
   -->
   
   
   ### One-line summary [问题简述]
   如何动态设置dataset 中的source 和 dimission
   初始化的时候我这样写报错:
   ```
                           dataset: {
                               dimensions: {},
                               source: {},
                           },
   ```
   JQ赋值:
   ```
    var test3 = myChart.getOption();
                       test3.dataset.source = result;
                       test3.dataset.dimensions = ['WorkDate', 'OutputByStaff'];
   ```
   初始化的时候就报错
   
   
   
   
   
   
   
   
   
   

----------------------------------------------------------------
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