From: Evert Timberg Date: Thu, 12 May 2016 22:42:52 +0000 (-0400) Subject: Update doc files for ticks.minRotation X-Git-Tag: v2.1.3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=691a7c6a4bef0c6e0b8d1c82bafd4e2807239fac;p=thirdparty%2FChart.js.git Update doc files for ticks.minRotation --- diff --git a/docs/01-Scales.md b/docs/01-Scales.md index 1c06af8ee..19977e532 100644 --- a/docs/01-Scales.md +++ b/docs/01-Scales.md @@ -53,6 +53,7 @@ afterUpdate | Function | undefined | Callback that runs at the end of the update *ticks*.fontFamily | String | "Helvetica Neue" | Font family for the tick labels, follows CSS font-family options. *ticks*.fontSize | Number | 12 | Font size for the tick labels. *ticks*.fontStyle | String | "normal" | Font style for the tick labels, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit). +*ticks*.minRotation | Number | 0 | Minimum rotation for tick labels *ticks*.maxRotation | Number | 90 | Maximum rotation for tick labels when rotating to condense labels. Note: Rotation doesn't occur until necessary. *Note: Only applicable to horizontal scales.* *ticks*.minRotation | Number | 20 | *currently not-implemented* Minimum rotation for tick labels when condensing is necessary. *Note: Only applicable to horizontal scales.* *ticks*.maxTicksLimit | Number | 11 | Maximum number of ticks and gridlines to show. If not defined, it will limit to 11 ticks but will show all gridlines.