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/07/06 06:51:51 UTC

[GitHub] [echarts] zhoufanglu opened a new issue #15301: echarts4 update to echarts5 questions

zhoufanglu opened a new issue #15301:
URL: https://github.com/apache/echarts/issues/15301


   ### Version
   5.1.2
   
   ### Reproduction link
   [https://ecomfe.github.io/echarts-issue-helper/](https://ecomfe.github.io/echarts-issue-helper/)
   
   ### Steps to reproduce
   npm echarts4 update to echarts5
   
   ```js
             axisLabel: {
               textStyle: {
                 color: '#999', //坐标轴字颜色
                 fontSize: '1rem'
               },
             },
   ```
   
   
   ### What is expected?
   I want to no warning
   
   ### What is actually happening?
   [ECharts] DEPRECATED: textStyle hierarchy in axisLabel has been removed since 4.0. All textStyle properties are configured in axisLabel directly now.
   ![image](https://user-images.githubusercontent.com/24451091/124555346-92289e80-de69-11eb-9e9c-694bbb67b60d.png)
   
   
   ---
   4->5,What should we pay attention to when we upgrade the API?
   The content of the report's warning is almost impossible to find online
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
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] pissang commented on issue #15301: echarts4 update to echarts5 questions

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






-- 
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 #15301: echarts4 update to echarts5 questions

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


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


-- 
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] zhoufanglu commented on issue #15301: echarts4 update to echarts5 questions

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






-- 
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 #15301: echarts4 update to echarts5 questions

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






-- 
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] pissang commented on issue #15301: echarts4 update to echarts5 questions

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


   @zhoufanglu 嗯,主题编辑器正在升级中


-- 
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 #15301: echarts4 update to echarts5 questions

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


   ```json
   "itemStyle": {
       "areaColor": "#eeeeee",
       "borderColor": "#aaaaaa",
       "borderWidth": 0.5
   },
   "emphasis": {
     "itemStyle": {
       "areaColor": "rgba(63,177,227,0.25)",
       "borderColor": "#3fb1e3",
       "borderWidth": 1
     }
   }
   ```


-- 
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 #15301: echarts4 update to echarts5 questions

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


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


-- 
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] zhoufanglu commented on issue #15301: echarts4 update to echarts5 questions

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


   > @zhoufanglu 嗯,主题编辑器正在升级中
   
   ```js
         "itemStyle": {
           "areaColor": "#eeeeee",
           "borderColor": "#aaaaaa",
           "borderWidth": 0.5,
           "emphasis": {
             "areaColor": "rgba(63,177,227,0.25)",
             "borderColor": "#3fb1e3",
             "borderWidth": 1
           }
         },
   ```
   ![image](https://user-images.githubusercontent.com/24451091/124572301-218a7d80-de7b-11eb-93d3-e9b54a104830.png)
   how to modify by this warning? 


-- 
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] zhoufanglu commented on issue #15301: echarts4 update to echarts5 questions

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


   > A very simple usage,
   > 
   > Before v4.0, we usually use like this,
   > 
   > ```
   > lineStyle: {
   >   normal: {
   >      ...
   >   },
   >   emphasis: {
   >      ...
   >   }
   > }
   > ```
   > 
   > Now it's suggested to configure like this,
   > 
   > ```js
   > // normal state
   > lineStyle: {
   >   ...
   > },
   > emphasis: {
   >   lineStyle: {
   >     ...
   >   }
   > }
   > ```
   
   
   
   > A very simple usage,
   > 
   > Before v4.0, we usually use like this,
   > 
   > ```
   > lineStyle: {
   >   normal: {
   >      ...
   >   },
   >   emphasis: {
   >      ...
   >   }
   > }
   > ```
   > 
   > Now it's suggested to configure like this,
   > 
   > ```js
   > // normal state
   > lineStyle: {
   >   ...
   > },
   > emphasis: {
   >   lineStyle: {
   >     ...
   >   }
   > }
   > ```
   
   chart.resize(), The animation is gone?


-- 
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] pissang commented on issue #15301: echarts4 update to echarts5 questions

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


   @zhoufanglu Please see https://echarts.apache.org/en/api.html#echartsInstance.resize


-- 
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 #15301: echarts4 update to echarts5 questions

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


   A very simple usage,
   
   Before v4.0, we usually use like this,
   
   ```
   lineStyle: {
     normal: {
        ...
     },
     emphasis: {
        ...
     }
   }
   ```
   
   Now it's suggested to configure like this,
   
   ```js
   // normal state
   lineStyle: {
     ...
   },
   emphasis: {
     lineStyle: {
       ...
     }
   }
   ```
   


-- 
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] zhoufanglu commented on issue #15301: echarts4 update to echarts5 questions

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


   > @zhoufanglu Please see https://echarts.apache.org/en/api.html#echartsInstance.resize
   
   Thanks for the answer, it is valid.
   https://echarts.apache.org/zh/theme-builder.html  
   官方的主题文件是否没有更新到echarts5的版本? 我引用全部警告
   Is the official subject file not updated to the version of Echarts5?I quote all the warnings
   
   


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