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/08/18 22:56:45 UTC

[GitHub] [echarts] ataft opened a new issue #15556: Calendar Heatmap series label does not show

ataft opened a new issue #15556:
URL: https://github.com/apache/echarts/issues/15556


   ### Version
   5.1.2
   
   ### Reproduction link
   [https://codepen.io/ataft/pen/MWmMqXW](https://codepen.io/ataft/pen/MWmMqXW)
   
   ### Steps to reproduce
   See the CodePen example
   
   ### What is expected?
   Calendar series labels should be shown for the heatmap
   
   ### What is actually happening?
   Calendar series labels are not shown for the heatmap, but are shown for the scatter
   
   <!-- 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] susiwen8 commented on issue #15556: Calendar Heatmap series label does not show

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


   @ataft try `formatter`
   ```js
           label: {
               show: true,
               formatter(e) {
                   console.log(e)
                   return e.data[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] ataft commented on issue #15556: Calendar Heatmap series label does not show

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


   Add series.label.show = true to this example and you'll see what I mean. There's no label, just a "-"
   
   ```
   label: {
     show: true
   },
   
   ```
   
   ![image](https://user-images.githubusercontent.com/11670864/130171699-799b4993-6357-4c49-be63-c1209e20255a.png)
   


-- 
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] ataft closed issue #15556: Calendar Heatmap series label does not show

Posted by GitBox <gi...@apache.org>.
ataft closed issue #15556:
URL: https://github.com/apache/echarts/issues/15556


   


-- 
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] ataft commented on issue #15556: Calendar Heatmap series label does not show

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


   Confirmed, the `formatter: (e) => e.data[1]` logic works for scatter, heatmap, and effectScatter types.


-- 
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] Ovilia commented on issue #15556: Calendar Heatmap series label does not show

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


   https://echarts.apache.org/examples/en/editor.html?c=calendar-heatmap Please refer to this demo


-- 
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 #15556: Calendar Heatmap series label does not show

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


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