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/01/16 12:01:09 UTC
[GitHub] [incubator-echarts] mingzichongfu opened a new issue #12073: 使用svg渲染,rich不能使用
mingzichongfu opened a new issue #12073: 使用svg渲染,rich不能使用
URL: https://github.com/apache/incubator-echarts/issues/12073
### Version
4.5.0
### Steps to reproduce
var rich={
aaa:{
fontSize: 12,
color: '#1A879E'
},
bbb:{
fontSize: 12,
color: '#fff'
}
}
obj.label={
normal: {
//formatter:'{aaa|{b}}\n{yellow|{d}}%',
color:"#fff",
rich:rich,
formatter: function(params){
//console.log("params.name=" params.name ",value=" params.value ",percent=" params.percent);
if(params!=null&¶ms.name!=""){
return params.name '\n {aaa|' params.percent '%}';
}else{
return "";
}
},
}
}
### What is expected?
期望饼状图的信息,例如名称和百分比,能用不同的颜色展示
### What is actually happening?
rich没起作用,最终发现是canvas渲染可以
---
svg渲染,什么时候可以支持rich
<!-- 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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [incubator-echarts] Ovilia commented on issue #12073: 使用svg渲染,rich不能使用
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12073: 使用svg渲染,rich不能使用
URL: https://github.com/apache/incubator-echarts/issues/12073#issuecomment-575475983
SVG 不支持富文本,这在[文档](https://echarts.apache.org/zh/tutorial.html#%E4%BD%BF%E7%94%A8%20Canvas%20%E6%88%96%E8%80%85%20SVG%20%E6%B8%B2%E6%9F%93)里已经说明了。短期内不会修复,需要 5.0 调整底层架构后再考虑。
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12073: 使用svg渲染,rich不能使用
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12073: 使用svg渲染,rich不能使用
URL: https://github.com/apache/incubator-echarts/issues/12073#issuecomment-575120710
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 **you have posted enough image to demo your request**. 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 questions.
If you are interested in the project, you may also subscribe our [mail 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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [incubator-echarts] Ovilia commented on issue #12073: 使用svg渲染,rich不能使用
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12073: 使用svg渲染,rich不能使用
URL: https://github.com/apache/incubator-echarts/issues/12073#issuecomment-575476371
Duplicate of #10259.
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [incubator-echarts] Ovilia closed issue #12073: 使用svg渲染,rich不能使用
Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #12073: 使用svg渲染,rich不能使用
URL: https://github.com/apache/incubator-echarts/issues/12073
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [incubator-echarts] panhuajian commented on issue #12073: 使用svg渲染,rich不能使用
Posted by GitBox <gi...@apache.org>.
panhuajian commented on issue #12073:
URL: https://github.com/apache/incubator-echarts/issues/12073#issuecomment-741628978
现在5.0出来了,我看svg还是不支持富文本
----------------------------------------------------------------
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] [incubator-echarts] pissang commented on issue #12073: 使用svg渲染,rich不能使用
Posted by GitBox <gi...@apache.org>.
pissang commented on issue #12073:
URL: https://github.com/apache/incubator-echarts/issues/12073#issuecomment-741694343
@panhuajian 支持了
----------------------------------------------------------------
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