Hi, i want to change color of text that comes along with ticks. I know that I can change color of ticks with strokeStyle parameter, but that doesn't changes color of text.
Hi, i want to change color of text that comes along with ticks. I know that I can change color of ticks with strokeStyle parameter, but that doesn't changes color of text.
If you mean metric one, two, three... text then so.
Code:... ... { type: 'category', position: 'bottom', fields: ['name'], title: { text: 'Sample Values', fontSize: 15, }, style: { strokeStyle: 'red' }, // USE THIS CONFIG label: { color: '#0000FF' } }] ... ...
Here is fiddle
As you can see, bottom axis is set to red color, but color of text along ticks('metric one', 'metric two', etc) is not changed. What i want is to change color of this text.
If you mean metric one, two, three... text then so.
Code:... ... { type: 'category', position: 'bottom', fields: ['name'], title: { text: 'Sample Values', fontSize: 15, }, style: { strokeStyle: 'red' }, // USE THIS CONFIG label: { color: '#0000FF' } }] ... ...
"The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague." – Edsger W. Dijkstra
yeghikyan, thank you!