top of page
To see this working, head to your live site.
Edited:Â Jul 03, 2023
How do I change the font color of a chart?
How do I change the font color of a chart?
1 comment
Opmerkingen (1)
Commenting on this post isn't available anymore. Contact the site owner for more info.
bottom of page

To change the font color you can set the optional argument font_color when you create your chart object. For example
bar = BarRace.bar_race(canvas=canvas.canvas, df=df, font_color=(255,255,255)) canvas.add_sub_plot(bar)This example sets the font of the bar race to white, for example if you want to have a black background.