Inline the function for generating lines (when drawing datasets)
Implemented a custom formatter for the axis labels