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])
chart.render()
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])
chart.render()
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])
chart.render()