简体   繁体   English

在Chart.js中将标签颜色更改为特定值

[英]Change label color over a specific value in Chart.js

I have a Chart.js like this: 我有一个这样的Chart.js: 在此处输入图片说明

I want change color of horizontal label over 70.00 - 73.99. 我想将水平标签的颜色更改为70.00-73.99以上。 There is a specif option to do this? 有指定选项可以执行此操作吗? Tks TKS

This is not yet possible. 这还不可能。 You would need something similar to https://github.com/chartjs/Chart.js/pull/6037 to be implemented. 您将需要实现类似于https://github.com/chartjs/Chart.js/pull/6037的内容 You could ask @kurkle in the Slack channel if he has plans to resume that PR 您可以在Slack频道中询问@kurkle,如果他有计划恢复该PR

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM