generalise axis_format handling

replace x_axis_date_format with x_axis_format, and support
y_axis_format too.
support hiding the chart legend
add another linechart example showing new features
Merge pull request #8 from strawlab/line-fixes

Line fixes