Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 623 Bytes

title.rst

File metadata and controls

36 lines (20 loc) · 623 Bytes

Titles

title

You can add a title to the chart by setting the title option:

chart = pygal.Line(title=u'Some points') chart.add('line', [.0002, .0005, .00035])

x_title

You can add a title to the x axis by setting the x_title option:

chart = pygal.Line(title=u'Some points', x_title='X Axis') chart.add('line', [.0002, .0005, .00035])

y_title

You can add a title to the y axis by setting the y_title option:

chart = pygal.Line(title=u'Some points', y_title='Y Axis') chart.add('line', [.0002, .0005, .00035])