3

I'm using Pygal's SolidGuage chart to display a value between two ranges. See the link below for an image of the chart.

Pygal Chart Example

I'm trying to make the font size for the labels (0 & 12%) larger.

Does anyone know how I can do this? I can't seem to find the right command in the documentation.

Thanks in advance for all of the help!

ashap
  • 101
  • 1
  • 11

2 Answers2

3

Try to set font size in constructor

gauge = pygal.SolidGauge(
        half_pie=True, inner_radius=0.70,
        style=pygal.style.styles['default'](value_font_size=8),
        show_legend=False)
0

chart = pygal.Bar(style=pygal.style.styles'default')

Agnel Amodia
  • 765
  • 8
  • 18