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 2020/08/04 15:16:02 UTC

[GitHub] [incubator-echarts] pissang commented on pull request #12563: fix(axisLabel): show min(max) label when interval is function and configured showMin(Max)Label #12142

pissang commented on pull request #12563:
URL: https://github.com/apache/incubator-echarts/pull/12563#issuecomment-668657517


   `showMinLabel`, `showMaxLabel` is not designed for this purpose. It is used to make sure the first or last label is still be shown when they are overlapped. For example in the time axis:
   
   ![image](https://user-images.githubusercontent.com/841551/89310975-f9f9c680-d6a7-11ea-9451-31bcf22b3d1e.png)
   
   If `showMinLabel` is true:
   
   ![image](https://user-images.githubusercontent.com/841551/89311123-2ad9fb80-d6a8-11ea-9ef9-888a211ab54a.png)
   
   In the case of interval is a function. It is easy to determine if show the first and last label in the callback function.


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

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