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 2022/11/14 09:02:42 UTC

[GitHub] [echarts] Valar103769 opened a new issue, #17912: [Bug] dataSet.source 支持对象数组, series.data不支持吗?

Valar103769 opened a new issue, #17912:
URL: https://github.com/apache/echarts/issues/17912

   ### Version
   
   latest
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   无
   
   ### Current Behavior
   
   无
   
   ### Expected Behavior
   
   无
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17912: [Bug] dataSet.source 支持对象数组, series.data不支持吗?

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17912:
URL: https://github.com/apache/echarts/issues/17912#issuecomment-1313325475

   @Valar103769 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] dataSet.source supports object array, does series.data not?
   </details>


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


[GitHub] [echarts] plainheart commented on issue #17912: [Bug] dataSet.source 支持对象数组, series.data不支持吗?

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17912:
URL: https://github.com/apache/echarts/issues/17912#issuecomment-1313407380

   不支持。`series.data` 的数据项需要按照文档中定义的格式来。


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


[GitHub] [echarts] Valar103769 commented on issue #17912: [Bug] dataSet.source 支持对象数组, series.data不支持吗?

Posted by GitBox <gi...@apache.org>.
Valar103769 commented on issue #17912:
URL: https://github.com/apache/echarts/issues/17912#issuecomment-1314705190

   > 
   
   请教一下实现方式,
   异步返回对象数组数据,需要加入一条线, 在无法使用
   ```
   myChart.setOption({
       xAxis: {
         data: data.categories
       },
       series: [
         {
           // 根据名字对应到相应的系列
           name: '销量',
           data: data.data
         }
       ]
     });
   ```
   `series.data` 来更新数据时, 应该怎么实现呢? 


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


[GitHub] [echarts] plainheart closed issue #17912: [Bug] dataSet.source 支持对象数组, series.data不支持吗?

Posted by GitBox <gi...@apache.org>.
plainheart closed issue #17912: [Bug] dataSet.source 支持对象数组, series.data不支持吗?
URL: https://github.com/apache/echarts/issues/17912


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