Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Added axis label multiline support in canvas #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jan 31, 2014

  1. Added axis label multiline support in canvas

    All \n line breaks in an axis label will now be displayed as such in a canvas axis label. Also, the axis label text can be automatically broken into multiple lines (if wished) if the length of the axis isn't enough. The alignment of and padding between this lines can be choosen.
    Added axis options are...
    axisLabelAdjustment (true/false): If the axis label should be broken into multiple lines at spaces in case the length of the axis isn't enough for the width of the label. Default is false.
    axisLabelLinePadding (number): Padding between multiple axis label lines. Default is 5.
    axisLabelAlignment ('left', 'center'/'middle', 'right): Alignment of multiple axis label lines (aligned according to widest line and reading direction). Default is 'center'.
    
    Also: Fix in calculating canvas label size, the 0.72 multiplier was missing (but used when calculating position of line).
    echalone committed Jan 31, 2014
    Configuration menu
    Copy the full SHA
    3cc017d View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2014

  1. Cleaned up formatting

    Removed spaces between keyword "function" and opening bracket and so on...
    echalone committed Aug 11, 2014
    Configuration menu
    Copy the full SHA
    e344198 View commit details
    Browse the repository at this point in the history
  2. Updated format

    Added spaces in "degrees / 90"
    echalone committed Aug 11, 2014
    Configuration menu
    Copy the full SHA
    dcf9207 View commit details
    Browse the repository at this point in the history