Skip to content
Advertisement

c3 graph in a dark background; how to change axis and tick value color

I have plotted a graph on a dark background but due to the axis-color and tick-value color it is very difficult to read. How do I change to color of the axis, ticks and axis tick value to white?

Advertisement

Answer

You could use CSS to style the graph, for example

JavaScript

To make the axis white, the tick labels yellow, and the legend text grey.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement