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/08/15 08:09:07 UTC

[GitHub] [echarts] 329988300 opened a new issue, #17517: [Bug] xAxis. type = 'category',没有自动从 dataset.source 中取

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

   ### Version
   
   5.2.0+
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   配置如下:
   ```
   option = {
     series: [
       {
         type: 'bar'
       },
       {
         barGap: '0%',
         data: [200, 2240],
         type: 'bar'
       }
     ],
     tooltip: {
       show: true,
     },
     dataset: {
       source: [
         ['t1_column2', 't1_column11'],
         ['内蒙古', 225],
         ['广东', 3081],
       ],
       sourceHeader: ['t1_column2', 't1_column11']
     },
     yAxis: [
       {
         type: 'value'
       }
     ],
     xAxis: [
       {
         type: 'category',
       }
     ],
   };
   ```
   
   ### Current Behavior
   
   ### 5.1.2
   <img width="1087" alt="image" src="https://user-images.githubusercontent.com/43880841/184599399-1e435dc4-7d95-471e-925b-400fe53d924e.png">
   
   ### 5.2.0
   <img width="1102" alt="image" src="https://user-images.githubusercontent.com/43880841/184599426-83dddf1b-c2fb-4949-a901-dcce4813e342.png">
   
   
   ### Expected Behavior
   
   期待5.1.2的效果
   
   ### 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] 329988300 commented on issue #17517: [Bug] xAxis. type = 'category',没有自动从 dataset.source 中取

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

   series单独了设置了data就不会生效,这在5.1.2中是生效的


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


Re: [I] [Bug] xAxis. type = 'category',没有自动从 dataset.source 中取 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #17517: [Bug] xAxis. type = 'category',没有自动从 dataset.source 中取
URL: https://github.com/apache/echarts/issues/17517


-- 
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] echarts-bot[bot] commented on issue #17517: [Bug] xAxis. type = 'category',没有自动从 dataset.source 中取

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

   @329988300 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] xAxis.type = 'category', not automatically taken from dataset.source
   </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] jiawulin001 commented on issue #17517: [Bug] xAxis. type = 'category',没有自动从 dataset.source 中取

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

   Hi, do you want to share the reason why you need to set the data like this?
   As I understand, you can easily achieve the effect as the following code.
   <details>
   <summary>Code Sample</summary>
   
   ```
   option = {
     series: [
       {
         type: 'bar'
       },
       {
         barGap: '0%',
         type: 'bar'
       }
     ],
     tooltip: {
       show: true,
     },
     dataset: {
       source: [
         ['内蒙古', 225, 200],
         ['广东', 3081, 2240],
       ]
     },
     yAxis: [
       {
         type: 'value'
       }
     ],
     xAxis: [
       {
         type: 'category',
       }
     ],
   };
   ```
   </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


Re: [I] [Bug] xAxis. type = 'category',没有自动从 dataset.source 中取 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17517:
URL: https://github.com/apache/echarts/issues/17517#issuecomment-2313541570

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


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


Re: [I] [Bug] xAxis. type = 'category',没有自动从 dataset.source 中取 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17517:
URL: https://github.com/apache/echarts/issues/17517#issuecomment-2297454463

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


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