Added function to determine best step for grid lines (and labels) for a given range.
Use automatic step sizes by default. Document use of negative values to trigger automatic steps in header file.
Automatic steps now consider the size of the view on screen.
Added automatic label formatting if formatting block properties are nil. Default is now automatic.
Changed absolute padding property to fractional padding, which scales with the data.
Prevent value labels from overlapping (this is usually unnecessary). Grid lines are no longer drawn in a separate method as too many variables needed passing in and out, and method was only called from one place.
Merge branch 'master' into dev.
Updated README and use more modern syntax.
Support for drawing multiple lines, each with its own colour and thickness
Support for drawing multiple lines, each with its own colour and thickness
Merge commit 'be863f187a2cdae550b669d081e7fe695bce6e8f' into dev
Removed valuelabeloffset property. Instead, offset of labels from origin is based on the points size of the labels.
Use private method to get value label text, taking out copy-pasted code.
Ensure text for labels is fully within bounds by shifting it. Added methods for finding max label widths and heights (currently only two of these methods are used and return values are just an approximation).