Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/462.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何使用角度图表更改标签的颜色_Javascript_Html_Angularjs - Fatal编程技术网

Javascript 如何使用角度图表更改标签的颜色

Javascript 如何使用角度图表更改标签的颜色,javascript,html,angularjs,Javascript,Html,Angularjs,我需要一个不同颜色的条形图标签。一切工作只需要标签是白色,而不是默认的灰色 <canvas id="bar" class="chart chart-bar whiteFont" chart-data="ageData" chart-labels="ageLabels" colours="colours"> </canvas> 将颜色延迟为数组。欲了解更多信息,请参见此能否在plunkr或其他地方共享您的代码片段?该解决方案似乎不适用于OP要求的标签

我需要一个不同颜色的条形图标签。一切工作只需要标签是白色,而不是默认的灰色

<canvas id="bar" class="chart chart-bar whiteFont"
    chart-data="ageData" chart-labels="ageLabels"
    colours="colours">
</canvas>


颜色延迟为数组。欲了解更多信息,请参见此

能否在plunkr或其他地方共享您的代码片段?该解决方案似乎不适用于OP要求的标签