????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.144.41.223 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/appsrv.astacus.se/shellyctr/js/package/dist/docs/assets/js/ |
Upload File : |
(window.webpackJsonp=window.webpackJsonp||[]).push([[130],{459:function(e,t,o){"use strict";o.r(t);var a=o(6),n=Object(a.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h3",{attrs:{id:"common-tick-options-to-all-cartesian-axes"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#common-tick-options-to-all-cartesian-axes"}},[e._v("#")]),e._v(" Common tick options to all cartesian axes")]),e._v(" "),o("p",[e._v("Namespace: "),o("code",[e._v("options.scales[scaleId].ticks")])]),e._v(" "),o("table",[o("thead",[o("tr",[o("th",[e._v("Name")]),e._v(" "),o("th",[e._v("Type")]),e._v(" "),o("th",[e._v("Default")]),e._v(" "),o("th",[e._v("Description")])])]),e._v(" "),o("tbody",[o("tr",[o("td",[o("code",[e._v("align")])]),e._v(" "),o("td",[o("code",[e._v("string")])]),e._v(" "),o("td",[o("code",[e._v("'center'")])]),e._v(" "),o("td",[e._v("The tick alignment along the axis. Can be "),o("code",[e._v("'start'")]),e._v(", "),o("code",[e._v("'center'")]),e._v(", "),o("code",[e._v("'end'")]),e._v(", or "),o("code",[e._v("'inner'")]),e._v(". "),o("code",[e._v("inner")]),e._v(" alignment means align "),o("code",[e._v("start")]),e._v(" for first tick and "),o("code",[e._v("end")]),e._v(" for the last tick of horizontal axis")])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("crossAlign")])]),e._v(" "),o("td",[o("code",[e._v("string")])]),e._v(" "),o("td",[o("code",[e._v("'near'")])]),e._v(" "),o("td",[e._v("The tick alignment perpendicular to the axis. Can be "),o("code",[e._v("'near'")]),e._v(", "),o("code",[e._v("'center'")]),e._v(", or "),o("code",[e._v("'far'")]),e._v(". See "),o("RouterLink",{attrs:{to:"/axes/cartesian/#tick-alignment"}},[e._v("Tick Alignment")])],1)]),e._v(" "),o("tr",[o("td",[o("code",[e._v("sampleSize")])]),e._v(" "),o("td",[o("code",[e._v("number")])]),e._v(" "),o("td",[o("code",[e._v("ticks.length")])]),e._v(" "),o("td",[e._v("The number of ticks to examine when deciding how many labels will fit. Setting a smaller value will be faster, but may be less accurate when there is large variability in label length.")])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("autoSkip")])]),e._v(" "),o("td",[o("code",[e._v("boolean")])]),e._v(" "),o("td",[o("code",[e._v("true")])]),e._v(" "),o("td",[e._v("If true, automatically calculates how many labels can be shown and hides labels accordingly. Labels will be rotated up to "),o("code",[e._v("maxRotation")]),e._v(" before skipping any. Turn "),o("code",[e._v("autoSkip")]),e._v(" off to show all labels no matter what.")])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("autoSkipPadding")])]),e._v(" "),o("td",[o("code",[e._v("number")])]),e._v(" "),o("td",[o("code",[e._v("3")])]),e._v(" "),o("td",[e._v("Padding between the ticks on the horizontal axis when "),o("code",[e._v("autoSkip")]),e._v(" is enabled.")])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("includeBounds")])]),e._v(" "),o("td",[o("code",[e._v("boolean")])]),e._v(" "),o("td",[o("code",[e._v("true")])]),e._v(" "),o("td",[e._v("Should the defined "),o("code",[e._v("min")]),e._v(" and "),o("code",[e._v("max")]),e._v(' values be presented as ticks even if they are not "nice".')])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("labelOffset")])]),e._v(" "),o("td",[o("code",[e._v("number")])]),e._v(" "),o("td",[o("code",[e._v("0")])]),e._v(" "),o("td",[e._v("Distance in pixels to offset the label from the centre point of the tick (in the x-direction for the x-axis, and the y-direction for the y-axis). "),o("em",[e._v("Note: this can cause labels at the edges to be cropped by the edge of the canvas")])])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("maxRotation")])]),e._v(" "),o("td",[o("code",[e._v("number")])]),e._v(" "),o("td",[o("code",[e._v("50")])]),e._v(" "),o("td",[e._v("Maximum rotation for tick labels when rotating to condense labels. Note: Rotation doesn't occur until necessary. "),o("em",[e._v("Note: Only applicable to horizontal scales.")])])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("minRotation")])]),e._v(" "),o("td",[o("code",[e._v("number")])]),e._v(" "),o("td",[o("code",[e._v("0")])]),e._v(" "),o("td",[e._v("Minimum rotation for tick labels. "),o("em",[e._v("Note: Only applicable to horizontal scales.")])])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("mirror")])]),e._v(" "),o("td",[o("code",[e._v("boolean")])]),e._v(" "),o("td",[o("code",[e._v("false")])]),e._v(" "),o("td",[e._v("Flips tick labels around axis, displaying the labels inside the chart instead of outside. "),o("em",[e._v("Note: Only applicable to vertical scales.")])])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("padding")])]),e._v(" "),o("td",[o("code",[e._v("number")])]),e._v(" "),o("td",[o("code",[e._v("0")])]),e._v(" "),o("td",[e._v("Padding between the tick label and the axis. When set on a vertical axis, this applies in the horizontal (X) direction. When set on a horizontal axis, this applies in the vertical (Y) direction.")])]),e._v(" "),o("tr",[o("td",[o("code",[e._v("maxTicksLimit")])]),e._v(" "),o("td",[o("code",[e._v("number")])]),e._v(" "),o("td",[o("code",[e._v("11")])]),e._v(" "),o("td",[e._v("Maximum number of ticks and gridlines to show.")])])])])])}),[],!1,null,null,null);t.default=n.exports}}]);