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/04/23 19:23:39 UTC

[GitHub] [echarts] lmulin opened a new issue #14780: Is it possible to display both name and value for a graph node?

lmulin opened a new issue #14780:
URL: https://github.com/apache/echarts/issues/14780


   ### What problem does this feature solve?
   Actually only the name can be displayed in or near a graph node, however the value can only be displayed via tooltip. Can both name and value showed without mouseover? I need this feature for graph in order to implement a state diagram, whose nodes contain the value about the element amout and the name present the state name. The value can be displayed for the links, but it isn't what I need, because the value refernces the node, but not the links
   
   ### What does the proposed API look like?
   series: [ { type: 'graph', valueStyle: { show: true | false, position: top|botton|right|left, color: fontSize: .. },
   
   <!-- This issue is generated by echarts-issue-helper. 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.

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 #14780: Is it possible to display both name and value for a graph node?

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


   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.

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 #14780: Is it possible to display both name and value for a graph node?

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


   You can set `label.formatter` to be `'{b}: {c}`. The document seems to be missing for the graph series. You may refer to [that of line series](https://echarts.apache.org/en/option.html#series-line.label.formatter) for reference.


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


[GitHub] [echarts] Ovilia commented on issue #14780: Is it possible to display both name and value for a graph node?

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


   You can set `label.formatter` to be `'{b}: {c}`. The document seems to be missing for the graph series. You may refer to [that of line series](https://echarts.apache.org/en/option.html#series-line.label.formatter) for reference.


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


[GitHub] [echarts] Ovilia edited a comment on issue #14780: Is it possible to display both name and value for a graph node?

Posted by GitBox <gi...@apache.org>.
Ovilia edited a comment on issue #14780:
URL: https://github.com/apache/echarts/issues/14780#issuecomment-826292149


   You can set `label.formatter` to be `'{b}: {c}'`. The document seems to be missing for the graph series. You may refer to [that of line series](https://echarts.apache.org/en/option.html#series-line.label.formatter) for reference.


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


[GitHub] [echarts] lmulin commented on issue #14780: Is it possible to display both name and value for a graph node?

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


   Thank you Ovilia for the hint. 
   But is it possible to display for example the name on the top of the node, the value inside the node?
   


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


[GitHub] [echarts] Ovilia edited a comment on issue #14780: Is it possible to display both name and value for a graph node?

Posted by GitBox <gi...@apache.org>.
Ovilia edited a comment on issue #14780:
URL: https://github.com/apache/echarts/issues/14780#issuecomment-826292149


   You can set `label.formatter` to be `'{b}: {c}'`. The document seems to be missing for the graph series. You may refer to [that of line series](https://echarts.apache.org/en/option.html#series-line.label.formatter) for reference.


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