jep
1 Nov 2012, 2:49 PM
In ST 2.1 RC2, this is the help for Axis#label:
label : Object
The label configuration object for the Axis. This object may include style attributes like spacing, padding, font, and a renderer function that receives a string or number and returns a new string with the modified values.
Defaults to: {x: 0, y: 0, textBaseline: 'middle', textAlign: 'center', fontSize: 12, fontFamily: 'Helvetica'}
This needs to be much better defined. It leaves off important ones like rotate. Is it actually using some kind of CSS values or is it custom to ST? Who knows!
label : Object
The label configuration object for the Axis. This object may include style attributes like spacing, padding, font, and a renderer function that receives a string or number and returns a new string with the modified values.
Defaults to: {x: 0, y: 0, textBaseline: 'middle', textAlign: 'center', fontSize: 12, fontFamily: 'Helvetica'}
This needs to be much better defined. It leaves off important ones like rotate. Is it actually using some kind of CSS values or is it custom to ST? Who knows!