So, I use chart.js http://www.chartjs.org/docs/ and I can’t change the color of the text below
for example: “January February March April May June July” and the numbers on the left
I tried all these options: scaleFontColor: "#FFFFFF" pointLabelFontColor: "#FFFFFF"
my full code is:
<script> var randomScalingFactor = function(){ return Math.round(Math.random()*100)}; var lineChartData = { labels : ["January","February","March","April","May","June","July"], datasets : [ { label: "My Second dataset", fillColor : "rgba(255, 89, 114, 0.6)", strokeColor : "rgba(51, 51, 51, 1)", pointColor : "rgba(255, 89, 114, 1)", pointStrokeColor : "#fff", pointHighlightFill : "#fff", pointHighlightStroke : "rgba(151,187,205,1)", maintainAspectRatio: false, scaleFontColor: "#FFFFFF", pointLabelFontColor : "#FFFFFF", pointLabelFontSize : 30, data : [1,2,10,7,3,1] } ] } window.onload = function(){ var ctx = document.getElementById("canvas").getContext("2d"); window.myLine = new Chart(ctx).Line(lineChartData, { responsive: true }); } </script>