Ticket #6 (closed enhancement: fixed)
patch adds axis labels, rotate for tick labels and enables font options
| Reported by: | jae@… | Owned by: | lgs |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | |
| Keywords: | Cc: | jae@… |
Description
This patch is adds several things.
It adds a rotate option for the x and y axis labels. Options takes degrees of rotation. Default options are to not rotate.
It also adds an option for x and y axis labels. They take into account rotation if it is used. The axis labels are bolded. They default to no label.
I added calls to enable the labelFont and labelFontSize options. I needed the font settings to enable bold fonts for the axis labels.
The code is all (except the default options) in the _renderAxis() method. This lengthens this method quite a bit and I would normally try to break this up into some smaller functions, but I thought it better for the patch to include it all in that one method.
This patch includes/supersedes ticket #5 which only included the rotate x axis label option.
