Reputation: 93
I wanna change the label color of the graph.
I'm using google's charts library (https://github.com/google/charts).
Upvotes: 2
Views: 3266
Reputation: 3265
You can change the color using axis
var axis = charts.NumericAxisSpec(
renderSpec: charts.GridlineRendererSpec(
labelStyle: charts.TextStyleSpec(
fontSize: 10, color: charts.MaterialPalette.white), //chnage white color as per your requirement.
));
And define in the graph
primaryMeasureAxis: axis,
domainAxis: axis,
Upvotes: 5