如何更改 voronoiTreemap 图例中的文本颜色
这是一个例子。文本颜色默认为黑色。
library(voronoiTreemap)
data(ExampleGDP)
gdp_json <- vt_export_json(vt_input_from_df(ExampleGDP))
vt_d3(gdp_json, legend=TRUE)
Here is an example. Text color is black by default.
library(voronoiTreemap)
data(ExampleGDP)
gdp_json <- vt_export_json(vt_input_from_df(ExampleGDP))
vt_d3(gdp_json, legend=TRUE)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
哇!我对此非常满意。我离题。
设置传奇文本颜色更改此 - &gt; 代码中的'#b21e29'
以下 isbs8.png“ alt =”在此处输入图像描述>
WOO HOO! I'm pretty happy with myself on this one. I digress.
To set the legend text color change this -> '#b21e29' in the following code: