-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCartesianScaleOptions.html
53 lines (53 loc) · 82.5 KB
/
CartesianScaleOptions.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Interface: CartesianScaleOptions | Chart.js</title>
<meta name="generator" content="VuePress 1.8.2">
<link rel="icon" href="/docs/3.6.0/favicon.ico">
<meta name="description" content="Open source HTML5 Charts for your website">
<link rel="preload" href="/docs/3.6.0/assets/css/0.styles.e9288f6d.css" as="style"><link rel="preload" href="/docs/3.6.0/assets/js/app.9e2e0c27.js" as="script"><link rel="preload" href="/docs/3.6.0/assets/js/2.413130e4.js" as="script"><link rel="preload" href="/docs/3.6.0/assets/js/38.6999c87b.js" as="script"><link rel="prefetch" href="/docs/3.6.0/assets/js/10.6dfb790a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/100.bdd75344.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/101.ba367fb0.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/102.ba2d17be.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/103.cc35165b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/104.24be1e4a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/105.ab31de8a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/106.61621460.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/107.74760d7a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/108.ff24790e.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/109.f75eea78.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/11.16ca5bd5.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/110.cc49c856.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/111.929232ea.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/112.0d1f36c4.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/113.f8e5fa36.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/114.930504ae.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/115.d15abee3.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/116.507c5260.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/117.0dd30a72.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/118.0a1bd260.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/119.a020afba.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/12.477bac1e.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/120.88c9bb2a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/121.57f2afcd.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/122.ecbd959b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/123.0167f472.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/124.3952d98c.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/125.5a5b3ada.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/126.2b7b4f00.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/127.6922b0dd.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/128.e7bff904.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/129.3e85b746.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/13.e6be73be.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/130.a7a6f5f6.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/131.341f8021.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/132.8e3e933e.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/133.9bc0e294.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/134.cb9a47e6.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/135.1558393c.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/136.ed2733f9.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/137.602cd57e.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/138.d6b7cc34.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/139.8e8cfa43.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/14.2622ab43.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/140.9168d68d.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/141.e1750e91.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/142.bf90fea8.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/143.140724b4.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/144.9df4d6c8.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/145.febfa863.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/146.c5f7eed6.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/147.f8b34fd3.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/148.66650264.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/149.548f7f47.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/15.fa4073d4.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/150.22bcb98a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/151.7a18cf24.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/152.576ca86f.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/153.935a1a3a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/154.9f539141.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/155.7ba95295.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/156.f7b18248.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/157.04691de9.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/158.10f960a6.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/159.0a54b3ca.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/16.70954847.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/160.af7a9b32.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/161.5f91782b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/162.4c2c012f.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/163.6c636d91.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/164.ab75b328.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/165.74486c25.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/166.a0eb5387.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/167.9c65115c.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/168.05f39c90.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/169.6c43f346.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/17.bc67fe6b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/170.75a9c877.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/171.c57ea92b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/172.e69e2ca2.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/173.75190231.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/174.f2b294bf.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/175.654247ab.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/176.a33e24b6.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/177.932d58bd.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/178.1ca92550.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/179.b55a1088.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/18.bcc8fc02.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/180.5fa50b39.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/181.08259b6b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/182.635cbc1d.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/183.96eb23ea.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/184.1dee1078.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/185.e4916e00.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/186.977d0bc2.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/187.e192c538.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/188.02954f34.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/189.c122d4be.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/19.5f10396f.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/190.00f0c825.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/191.1a7c933b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/192.07b7481f.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/193.58e47739.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/194.c453ca1e.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/195.47f1afb8.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/196.a9222744.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/197.1554ddee.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/198.562465e5.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/199.d8dd2c1f.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/20.228858c0.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/200.c69bf0b5.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/201.2581238c.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/202.84102ce9.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/203.a341ade1.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/204.29323d7a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/205.8af74f44.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/206.762955e7.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/207.f853dacd.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/208.ee28ab72.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/209.b0885a32.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/21.d5dc4444.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/210.8a5a5911.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/211.a3ef65af.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/212.bd46dbb9.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/213.b8c54237.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/214.df27b726.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/215.85c697fb.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/216.61ec2674.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/217.14961fc6.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/218.04d8b030.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/219.576f8b72.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/22.2d32ff66.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/220.140b3613.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/221.9fe46c72.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/222.79bb4a05.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/223.3a4e01a3.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/224.b11fa2e0.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/225.677fa636.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/226.a7401e20.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/227.57fb74d8.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/228.519888ba.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/229.a6e4c2e9.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/23.6a0a2cf0.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/230.f5d1afeb.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/231.82b4fcc4.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/232.60505c4f.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/233.66be9100.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/234.67d740dd.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/235.d8d9cf9d.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/236.3ababf21.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/237.00eee225.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/238.afaa4f77.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/239.d212f322.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/24.9ab92e4a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/240.467895df.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/241.4f2e5ac2.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/242.cf853b19.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/243.d1fd2e57.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/244.97c14ba6.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/245.22248a90.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/246.0dc382c4.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/247.06b54759.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/248.84470849.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/25.c16acb1a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/26.bea3173a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/27.9b097070.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/28.81e344ec.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/29.7f1712b5.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/3.e2fd7cce.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/30.938a2116.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/31.851d350b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/32.b48cff30.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/33.47bb255c.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/34.37d64e95.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/35.20a0c166.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/36.a4d58709.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/37.8cdf3de2.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/39.e1723901.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/4.cfb630b3.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/40.351414e1.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/41.5e191798.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/42.bb6e8369.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/43.416254d9.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/44.b0e6fa7d.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/45.6cb12679.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/46.51592b33.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/47.e2ea80a9.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/48.f95272d8.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/49.2e0316c7.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/5.af43cbd6.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/50.5a3acd36.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/51.54f2c66d.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/52.0a4fbf85.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/53.a1dc450b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/54.6e6b0601.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/55.a7857386.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/56.4d991362.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/57.38437a25.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/58.843f5505.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/59.38549295.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/6.3a712537.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/60.cb1249b7.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/61.53e24899.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/62.d394c6c7.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/63.00983bf2.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/64.40d9d9e1.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/65.cb2d7569.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/66.bae63537.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/67.77f94f4a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/68.a0d8c364.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/69.07a31afe.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/7.5ce46ca3.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/70.536ccdf5.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/71.b4fb3150.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/72.4827ad4d.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/73.ff392d10.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/74.62b061c0.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/75.ba30b227.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/76.a75ea098.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/77.bce5bf58.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/78.e65e12aa.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/79.a6018e48.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/8.eabe9f87.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/80.8743e16a.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/81.17c55db2.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/82.940ec6fb.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/83.66c8c37c.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/84.75ac6611.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/85.cc35c79f.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/86.51c61428.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/87.08f8b621.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/88.3e40b7ec.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/89.8ca8029b.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/9.8cf9b79d.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/90.0bd52d28.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/91.afad75bd.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/92.9bb18dd0.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/93.dc287a42.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/94.5de73505.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/95.cc51922d.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/96.373045c6.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/97.a9ccddd7.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/98.955e5754.js"><link rel="prefetch" href="/docs/3.6.0/assets/js/99.8fa9e703.js">
<link rel="stylesheet" href="/docs/3.6.0/assets/css/0.styles.e9288f6d.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/docs/3.6.0/" class="home-link router-link-active"><img src="/docs/3.6.0/favicon.ico" alt="Chart.js" class="logo"> <span class="site-name can-hide">Chart.js</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/docs/3.6.0/" class="nav-link">
Home
</a></div><div class="nav-item"><a href="/docs/3.6.0/api/" class="nav-link router-link-active">
API
</a></div><div class="nav-item"><a href="/docs/3.6.0/samples/" class="nav-link">
Samples
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Community Menu" class="dropdown-title"><span class="title">Ecosystem</span> <span class="arrow down"></span></button> <button type="button" aria-label="Community Menu" class="mobile-dropdown-title"><span class="title">Ecosystem</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://github.com/chartjs/awesome" target="_blank" rel="noopener noreferrer" class="nav-link external">
Awesome
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://chartjs-slack.herokuapp.com/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Slack
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://stackoverflow.com/questions/tagged/chart.js" target="_blank" rel="noopener noreferrer" class="nav-link external">
Stack Overflow
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <a href="https://github.com/chartjs/Chart.js" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/docs/3.6.0/" class="nav-link">
Home
</a></div><div class="nav-item"><a href="/docs/3.6.0/api/" class="nav-link router-link-active">
API
</a></div><div class="nav-item"><a href="/docs/3.6.0/samples/" class="nav-link">
Samples
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Community Menu" class="dropdown-title"><span class="title">Ecosystem</span> <span class="arrow down"></span></button> <button type="button" aria-label="Community Menu" class="mobile-dropdown-title"><span class="title">Ecosystem</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://github.com/chartjs/awesome" target="_blank" rel="noopener noreferrer" class="nav-link external">
Awesome
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://chartjs-slack.herokuapp.com/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Slack
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://stackoverflow.com/questions/tagged/chart.js" target="_blank" rel="noopener noreferrer" class="nav-link external">
Stack Overflow
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <a href="https://github.com/chartjs/Chart.js" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>API</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/docs/3.6.0/api/" aria-current="page" class="sidebar-link">Exports</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Enumerations</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Classes</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading open"><span>Interfaces</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/docs/3.6.0/api/interfaces/ActiveDataPoint.html" class="sidebar-link">ActiveDataPoint</a></li><li><a href="/docs/3.6.0/api/interfaces/ActiveElement.html" class="sidebar-link">ActiveElement</a></li><li><a href="/docs/3.6.0/api/interfaces/AnimationEvent.html" class="sidebar-link">AnimationEvent</a></li><li><a href="/docs/3.6.0/api/interfaces/ArcBorderRadius.html" class="sidebar-link">ArcBorderRadius</a></li><li><a href="/docs/3.6.0/api/interfaces/ArcElement.html" class="sidebar-link">ArcElement</a></li><li><a href="/docs/3.6.0/api/interfaces/ArcHoverOptions.html" class="sidebar-link">ArcHoverOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/ArcOptions.html" class="sidebar-link">ArcOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/ArcProps.html" class="sidebar-link">ArcProps</a></li><li><a href="/docs/3.6.0/api/interfaces/BarControllerChartOptions.html" class="sidebar-link">BarControllerChartOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/BarControllerDatasetOptions.html" class="sidebar-link">BarControllerDatasetOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/BarElement.html" class="sidebar-link">BarElement</a></li><li><a href="/docs/3.6.0/api/interfaces/BarHoverOptions.html" class="sidebar-link">BarHoverOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/BarOptions.html" class="sidebar-link">BarOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/BarProps.html" class="sidebar-link">BarProps</a></li><li><a href="/docs/3.6.0/api/interfaces/BorderRadius.html" class="sidebar-link">BorderRadius</a></li><li><a href="/docs/3.6.0/api/interfaces/BubbleControllerDatasetOptions.html" class="sidebar-link">BubbleControllerDatasetOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/BubbleDataPoint.html" class="sidebar-link">BubbleDataPoint</a></li><li><a href="/docs/3.6.0/api/interfaces/CartesianScaleOptions.html" aria-current="page" class="active sidebar-link">CartesianScaleOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/CartesianScaleTypeRegistry.html" class="sidebar-link">CartesianScaleTypeRegistry</a></li><li><a href="/docs/3.6.0/api/interfaces/ChartArea.html" class="sidebar-link">ChartArea</a></li><li><a href="/docs/3.6.0/api/interfaces/ChartComponent.html" class="sidebar-link">ChartComponent</a></li><li><a href="/docs/3.6.0/api/interfaces/ChartConfiguration.html" class="sidebar-link">ChartConfiguration</a></li><li><a href="/docs/3.6.0/api/interfaces/ChartData.html" class="sidebar-link">ChartData</a></li><li><a href="/docs/3.6.0/api/interfaces/ChartDatasetProperties.html" class="sidebar-link">ChartDatasetProperties</a></li><li><a href="/docs/3.6.0/api/interfaces/ChartEvent.html" class="sidebar-link">ChartEvent</a></li><li><a href="/docs/3.6.0/api/interfaces/ChartTypeRegistry.html" class="sidebar-link">ChartTypeRegistry</a></li><li><a href="/docs/3.6.0/api/interfaces/CommonElementOptions.html" class="sidebar-link">CommonElementOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/CommonHoverOptions.html" class="sidebar-link">CommonHoverOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/ComplexFillTarget.html" class="sidebar-link">ComplexFillTarget</a></li><li><a href="/docs/3.6.0/api/interfaces/ControllerDatasetOptions.html" class="sidebar-link">ControllerDatasetOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/CoreChartOptions.html" class="sidebar-link">CoreChartOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/CoreInteractionOptions.html" class="sidebar-link">CoreInteractionOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html" class="sidebar-link">CoreScaleOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/DatasetControllerChartComponent.html" class="sidebar-link">DatasetControllerChartComponent</a></li><li><a href="/docs/3.6.0/api/interfaces/DateAdapter.html" class="sidebar-link">DateAdapter</a></li><li><a href="/docs/3.6.0/api/interfaces/Defaults.html" class="sidebar-link">Defaults</a></li><li><a href="/docs/3.6.0/api/interfaces/DoughnutAnimationOptions.html" class="sidebar-link">DoughnutAnimationOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/DoughnutController.html" class="sidebar-link">DoughnutController</a></li><li><a href="/docs/3.6.0/api/interfaces/DoughnutControllerChartOptions.html" class="sidebar-link">DoughnutControllerChartOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/DoughnutControllerDatasetOptions.html" class="sidebar-link">DoughnutControllerDatasetOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/DoughnutMetaExtensions.html" class="sidebar-link">DoughnutMetaExtensions</a></li><li><a href="/docs/3.6.0/api/interfaces/Element.html" class="sidebar-link">Element</a></li><li><a href="/docs/3.6.0/api/interfaces/ElementOptionsByType.html" class="sidebar-link">ElementOptionsByType</a></li><li><a href="/docs/3.6.0/api/interfaces/ExtendedPlugin.html" class="sidebar-link">ExtendedPlugin</a></li><li><a href="/docs/3.6.0/api/interfaces/FillerControllerDatasetOptions.html" class="sidebar-link">FillerControllerDatasetOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/FillerOptions.html" class="sidebar-link">FillerOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/FontSpec.html" class="sidebar-link">FontSpec</a></li><li><a href="/docs/3.6.0/api/interfaces/GridLineOptions.html" class="sidebar-link">GridLineOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/InteractionItem.html" class="sidebar-link">InteractionItem</a></li><li><a href="/docs/3.6.0/api/interfaces/InteractionModeMap.html" class="sidebar-link">InteractionModeMap</a></li><li><a href="/docs/3.6.0/api/interfaces/InteractionOptions.html" class="sidebar-link">InteractionOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/LayoutItem.html" class="sidebar-link">LayoutItem</a></li><li><a href="/docs/3.6.0/api/interfaces/LegendElement.html" class="sidebar-link">LegendElement</a></li><li><a href="/docs/3.6.0/api/interfaces/LegendItem.html" class="sidebar-link">LegendItem</a></li><li><a href="/docs/3.6.0/api/interfaces/LegendOptions.html" class="sidebar-link">LegendOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/LineControllerChartOptions.html" class="sidebar-link">LineControllerChartOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/LineControllerDatasetOptions.html" class="sidebar-link">LineControllerDatasetOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/LineElement.html" class="sidebar-link">LineElement</a></li><li><a href="/docs/3.6.0/api/interfaces/LineHoverOptions.html" class="sidebar-link">LineHoverOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/LineOptions.html" class="sidebar-link">LineOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/LineProps.html" class="sidebar-link">LineProps</a></li><li><a href="/docs/3.6.0/api/interfaces/ParsingOptions.html" class="sidebar-link">ParsingOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/Plugin.html" class="sidebar-link">Plugin</a></li><li><a href="/docs/3.6.0/api/interfaces/PluginChartOptions.html" class="sidebar-link">PluginChartOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/PluginOptionsByType.html" class="sidebar-link">PluginOptionsByType</a></li><li><a href="/docs/3.6.0/api/interfaces/Point.html" class="sidebar-link">Point</a></li><li><a href="/docs/3.6.0/api/interfaces/PointElement.html" class="sidebar-link">PointElement</a></li><li><a href="/docs/3.6.0/api/interfaces/PointHoverOptions.html" class="sidebar-link">PointHoverOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/PointOptions.html" class="sidebar-link">PointOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/PointPrefixedHoverOptions.html" class="sidebar-link">PointPrefixedHoverOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/PointPrefixedOptions.html" class="sidebar-link">PointPrefixedOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/PointProps.html" class="sidebar-link">PointProps</a></li><li><a href="/docs/3.6.0/api/interfaces/PolarAreaController.html" class="sidebar-link">PolarAreaController</a></li><li><a href="/docs/3.6.0/api/interfaces/PolarAreaControllerChartOptions.html" class="sidebar-link">PolarAreaControllerChartOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/PolarAreaControllerDatasetOptions.html" class="sidebar-link">PolarAreaControllerDatasetOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/RadarControllerDatasetOptions.html" class="sidebar-link">RadarControllerDatasetOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/RadialLinearScale.html" class="sidebar-link">RadialLinearScale</a></li><li><a href="/docs/3.6.0/api/interfaces/RadialScaleTypeRegistry.html" class="sidebar-link">RadialScaleTypeRegistry</a></li><li><a href="/docs/3.6.0/api/interfaces/Registry.html" class="sidebar-link">Registry</a></li><li><a href="/docs/3.6.0/api/interfaces/ScaleTypeRegistry.html" class="sidebar-link">ScaleTypeRegistry</a></li><li><a href="/docs/3.6.0/api/interfaces/ScatterDataPoint.html" class="sidebar-link">ScatterDataPoint</a></li><li><a href="/docs/3.6.0/api/interfaces/ScriptableContext.html" class="sidebar-link">ScriptableContext</a></li><li><a href="/docs/3.6.0/api/interfaces/ScriptableLineSegmentContext.html" class="sidebar-link">ScriptableLineSegmentContext</a></li><li><a href="/docs/3.6.0/api/interfaces/ScriptableScaleContext.html" class="sidebar-link">ScriptableScaleContext</a></li><li><a href="/docs/3.6.0/api/interfaces/ScriptableScalePointLabelContext.html" class="sidebar-link">ScriptableScalePointLabelContext</a></li><li><a href="/docs/3.6.0/api/interfaces/ScriptableTooltipContext.html" class="sidebar-link">ScriptableTooltipContext</a></li><li><a href="/docs/3.6.0/api/interfaces/Segment.html" class="sidebar-link">Segment</a></li><li><a href="/docs/3.6.0/api/interfaces/Tick.html" class="sidebar-link">Tick</a></li><li><a href="/docs/3.6.0/api/interfaces/TickOptions.html" class="sidebar-link">TickOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/TimeScale.html" class="sidebar-link">TimeScale</a></li><li><a href="/docs/3.6.0/api/interfaces/TitleOptions.html" class="sidebar-link">TitleOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/TooltipCallbacks.html" class="sidebar-link">TooltipCallbacks</a></li><li><a href="/docs/3.6.0/api/interfaces/TooltipItem.html" class="sidebar-link">TooltipItem</a></li><li><a href="/docs/3.6.0/api/interfaces/TooltipLabelStyle.html" class="sidebar-link">TooltipLabelStyle</a></li><li><a href="/docs/3.6.0/api/interfaces/TooltipModel.html" class="sidebar-link">TooltipModel</a></li><li><a href="/docs/3.6.0/api/interfaces/TooltipOptions.html" class="sidebar-link">TooltipOptions</a></li><li><a href="/docs/3.6.0/api/interfaces/TypedRegistry.html" class="sidebar-link">TypedRegistry</a></li><li><a href="/docs/3.6.0/api/interfaces/VisualElement.html" class="sidebar-link">VisualElement</a></li></ul></section></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="interface-cartesianscaleoptions"><a href="#interface-cartesianscaleoptions" class="header-anchor">#</a> Interface: CartesianScaleOptions</h1> <h2 id="hierarchy"><a href="#hierarchy" class="header-anchor">#</a> Hierarchy</h2> <ul><li><p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a></p> <p>↳ <strong><code>CartesianScaleOptions</code></strong></p></li></ul> <h2 id="properties"><a href="#properties" class="header-anchor">#</a> Properties</h2> <h3 id="aligntopixels"><a href="#aligntopixels" class="header-anchor">#</a> alignToPixels</h3> <p>• <strong>alignToPixels</strong>: <code>boolean</code></p> <p>Align pixel values to device pixels</p> <h4 id="inherited-from"><a href="#inherited-from" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#aligntopixels">alignToPixels</a></p> <h4 id="defined-in"><a href="#defined-in" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1106" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1106<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="axis"><a href="#axis" class="header-anchor">#</a> axis</h3> <p>• <strong>axis</strong>: <code>"x"</code> | <code>"y"</code></p> <p>Which type of axis this is. Possible values are: 'x', 'y'. If not set, this is inferred from the first character of the ID which should be 'x' or 'y'.</p> <h4 id="defined-in-2"><a href="#defined-in-2" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2898" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2898<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="bounds"><a href="#bounds" class="header-anchor">#</a> bounds</h3> <p>• <strong>bounds</strong>: <code>"ticks"</code> | <code>"data"</code></p> <p>Scale boundary strategy (bypassed by min/max time options)</p> <ul><li><code>data</code>: make sure data are fully visible, ticks outside are removed</li> <li><code>ticks</code>: make sure ticks are fully visible, data outside are truncated</li></ul> <p><strong><code>since</code></strong> 2.7.0</p> <p><strong><code>default</code></strong> 'ticks'</p> <h4 id="defined-in-3"><a href="#defined-in-3" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2877" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2877<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="display"><a href="#display" class="header-anchor">#</a> display</h3> <p>• <strong>display</strong>: <code>boolean</code> | <code>"auto"</code></p> <p>Controls the axis global visibility (visible when true, hidden when false). When display: 'auto', the axis is visible only if at least one associated dataset is visible.</p> <p><strong><code>default</code></strong> true</p> <h4 id="inherited-from-2"><a href="#inherited-from-2" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#display">display</a></p> <h4 id="defined-in-4"><a href="#defined-in-4" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1102" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1102<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="grid"><a href="#grid" class="header-anchor">#</a> grid</h3> <p>• <strong>grid</strong>: <a href="/docs/3.6.0/api/interfaces/GridLineOptions.html"><code>GridLineOptions</code></a></p> <h4 id="defined-in-5"><a href="#defined-in-5" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2916" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2916<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="max"><a href="#max" class="header-anchor">#</a> max</h3> <p>• <strong>max</strong>: <code>number</code></p> <p>User defined maximum value for the scale, overrides maximum value from data.</p> <h4 id="defined-in-6"><a href="#defined-in-6" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2908" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2908<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="min"><a href="#min" class="header-anchor">#</a> min</h3> <p>• <strong>min</strong>: <code>number</code></p> <p>User defined minimum value for the scale, overrides minimum value from data.</p> <h4 id="defined-in-7"><a href="#defined-in-7" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2903" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2903<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="offset"><a href="#offset" class="header-anchor">#</a> offset</h3> <p>• <strong>offset</strong>: <code>boolean</code></p> <p>If true, extra space is added to the both edges and the axis is scaled to fit into the chart area. This is set to true for a bar chart by default.</p> <p><strong><code>default</code></strong> false</p> <h4 id="defined-in-8"><a href="#defined-in-8" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2914" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2914<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="position"><a href="#position" class="header-anchor">#</a> position</h3> <p>• <strong>position</strong>: <code>"left"</code> | <code>"right"</code> | <code>"bottom"</code> | <code>"top"</code> | <code>"center"</code> | { [scale: string]: <code>number</code>; }</p> <p>Position of the axis.</p> <h4 id="defined-in-9"><a href="#defined-in-9" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2882" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2882<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="reverse"><a href="#reverse" class="header-anchor">#</a> reverse</h3> <p>• <strong>reverse</strong>: <code>boolean</code></p> <p>Reverse the scale.</p> <p><strong><code>default</code></strong> false</p> <h4 id="inherited-from-3"><a href="#inherited-from-3" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#reverse">reverse</a></p> <h4 id="defined-in-10"><a href="#defined-in-10" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1111" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1111<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="stack"><a href="#stack" class="header-anchor">#</a> stack</h3> <p>• <code>Optional</code> <strong>stack</strong>: <code>string</code></p> <p>Stack group. Axes at the same <code>position</code> with same <code>stack</code> are stacked.</p> <h4 id="defined-in-11"><a href="#defined-in-11" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2887" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2887<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="stackweight"><a href="#stackweight" class="header-anchor">#</a> stackWeight</h3> <p>• <code>Optional</code> <strong>stackWeight</strong>: <code>number</code></p> <p>Weight of the scale in stack group. Used to determine the amount of allocated space for the scale within the group.</p> <p><strong><code>default</code></strong> 1</p> <h4 id="defined-in-12"><a href="#defined-in-12" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2893" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2893<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="stacked"><a href="#stacked" class="header-anchor">#</a> stacked</h3> <p>• <code>Optional</code> <strong>stacked</strong>: <code>boolean</code> | <code>"single"</code></p> <p>If true, data will be comprised between datasets of data</p> <p><strong><code>default</code></strong> false</p> <h4 id="defined-in-13"><a href="#defined-in-13" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2934" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2934<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="ticks"><a href="#ticks" class="header-anchor">#</a> ticks</h3> <p>• <strong>ticks</strong>: <a href="/docs/3.6.0/api/interfaces/TickOptions.html"><code>TickOptions</code></a> & { <code>align</code>: <code>"start"</code> | <code>"end"</code> | <code>"center"</code> ; <code>autoSkip</code>: <code>boolean</code> ; <code>autoSkipPadding</code>: <code>number</code> ; <code>crossAlign</code>: <code>"center"</code> | <code>"near"</code> | <code>"far"</code> ; <code>includeBounds</code>: <code>boolean</code> ; <code>labelOffset</code>: <code>number</code> ; <code>maxRotation</code>: <code>number</code> ; <code>minRotation</code>: <code>number</code> ; <code>mirror</code>: <code>boolean</code> ; <code>padding</code>: <code>number</code> ; <code>sampleSize</code>: <code>number</code> }</p> <h4 id="defined-in-14"><a href="#defined-in-14" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2936" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2936<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="title"><a href="#title" class="header-anchor">#</a> title</h3> <p>• <strong>title</strong>: <code>Object</code></p> <h4 id="type-declaration"><a href="#type-declaration" class="header-anchor">#</a> Type declaration</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>align</code></td> <td style="text-align:left;"><code>"start"</code> | <code>"end"</code> | <code>"center"</code></td></tr> <tr><td style="text-align:left;"><code>color</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/#color"><code>Color</code></a></td></tr> <tr><td style="text-align:left;"><code>display</code></td> <td style="text-align:left;"><code>boolean</code></td></tr> <tr><td style="text-align:left;"><code>font</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/interfaces/FontSpec.html"><code>FontSpec</code></a></td></tr> <tr><td style="text-align:left;"><code>padding</code></td> <td style="text-align:left;"><code>number</code> | { <code>bottom</code>: <code>number</code> ; <code>top</code>: <code>number</code> }</td></tr> <tr><td style="text-align:left;"><code>text</code></td> <td style="text-align:left;"><code>string</code> | <code>string</code>[]</td></tr></tbody></table> <h4 id="defined-in-15"><a href="#defined-in-15" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L2918" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2918<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="weight"><a href="#weight" class="header-anchor">#</a> weight</h3> <p>• <strong>weight</strong>: <code>number</code></p> <p>The weight used to sort the axis. Higher weights are further away from the chart area.</p> <p><strong><code>default</code></strong> true</p> <h4 id="inherited-from-4"><a href="#inherited-from-4" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#weight">weight</a></p> <h4 id="defined-in-16"><a href="#defined-in-16" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1116" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1116<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h2 id="methods"><a href="#methods" class="header-anchor">#</a> Methods</h2> <h3 id="afterbuildticks"><a href="#afterbuildticks" class="header-anchor">#</a> afterBuildTicks</h3> <p>▸ <strong>afterBuildTicks</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs after ticks are created. Useful for filtering ticks.</p> <h4 id="parameters"><a href="#parameters" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns"><a href="#returns" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-5"><a href="#inherited-from-5" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#afterbuildticks">afterBuildTicks</a></p> <h4 id="defined-in-17"><a href="#defined-in-17" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1144" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1144<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="aftercalculatelabelrotation"><a href="#aftercalculatelabelrotation" class="header-anchor">#</a> afterCalculateLabelRotation</h3> <p>▸ <strong>afterCalculateLabelRotation</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs after tick rotation is determined.</p> <h4 id="parameters-2"><a href="#parameters-2" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-2"><a href="#returns-2" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-6"><a href="#inherited-from-6" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#aftercalculatelabelrotation">afterCalculateLabelRotation</a></p> <h4 id="defined-in-18"><a href="#defined-in-18" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1160" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1160<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="afterdatalimits"><a href="#afterdatalimits" class="header-anchor">#</a> afterDataLimits</h3> <p>▸ <strong>afterDataLimits</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs after data limits are determined.</p> <h4 id="parameters-3"><a href="#parameters-3" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-3"><a href="#returns-3" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-7"><a href="#inherited-from-7" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#afterdatalimits">afterDataLimits</a></p> <h4 id="defined-in-19"><a href="#defined-in-19" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1136" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1136<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="afterfit"><a href="#afterfit" class="header-anchor">#</a> afterFit</h3> <p>▸ <strong>afterFit</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs after the scale fits to the canvas.</p> <h4 id="parameters-4"><a href="#parameters-4" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-4"><a href="#returns-4" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-8"><a href="#inherited-from-8" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#afterfit">afterFit</a></p> <h4 id="defined-in-20"><a href="#defined-in-20" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1168" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1168<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="aftersetdimensions"><a href="#aftersetdimensions" class="header-anchor">#</a> afterSetDimensions</h3> <p>▸ <strong>afterSetDimensions</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs after dimensions are set.</p> <h4 id="parameters-5"><a href="#parameters-5" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-5"><a href="#returns-5" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-9"><a href="#inherited-from-9" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#aftersetdimensions">afterSetDimensions</a></p> <h4 id="defined-in-21"><a href="#defined-in-21" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1128" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1128<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="afterticktolabelconversion"><a href="#afterticktolabelconversion" class="header-anchor">#</a> afterTickToLabelConversion</h3> <p>▸ <strong>afterTickToLabelConversion</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs after ticks are converted into strings.</p> <h4 id="parameters-6"><a href="#parameters-6" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-6"><a href="#returns-6" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-10"><a href="#inherited-from-10" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#afterticktolabelconversion">afterTickToLabelConversion</a></p> <h4 id="defined-in-22"><a href="#defined-in-22" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1152" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1152<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="afterupdate"><a href="#afterupdate" class="header-anchor">#</a> afterUpdate</h3> <p>▸ <strong>afterUpdate</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs at the end of the update process.</p> <h4 id="parameters-7"><a href="#parameters-7" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-7"><a href="#returns-7" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-11"><a href="#inherited-from-11" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#afterupdate">afterUpdate</a></p> <h4 id="defined-in-23"><a href="#defined-in-23" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1172" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1172<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="beforebuildticks"><a href="#beforebuildticks" class="header-anchor">#</a> beforeBuildTicks</h3> <p>▸ <strong>beforeBuildTicks</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs before ticks are created.</p> <h4 id="parameters-8"><a href="#parameters-8" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-8"><a href="#returns-8" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-12"><a href="#inherited-from-12" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#beforebuildticks">beforeBuildTicks</a></p> <h4 id="defined-in-24"><a href="#defined-in-24" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1140" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1140<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="beforecalculatelabelrotation"><a href="#beforecalculatelabelrotation" class="header-anchor">#</a> beforeCalculateLabelRotation</h3> <p>▸ <strong>beforeCalculateLabelRotation</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs before tick rotation is determined.</p> <h4 id="parameters-9"><a href="#parameters-9" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-9"><a href="#returns-9" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-13"><a href="#inherited-from-13" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#beforecalculatelabelrotation">beforeCalculateLabelRotation</a></p> <h4 id="defined-in-25"><a href="#defined-in-25" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1156" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1156<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="beforedatalimits"><a href="#beforedatalimits" class="header-anchor">#</a> beforeDataLimits</h3> <p>▸ <strong>beforeDataLimits</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs before data limits are determined.</p> <h4 id="parameters-10"><a href="#parameters-10" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-10"><a href="#returns-10" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-14"><a href="#inherited-from-14" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#beforedatalimits">beforeDataLimits</a></p> <h4 id="defined-in-26"><a href="#defined-in-26" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1132" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1132<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="beforefit"><a href="#beforefit" class="header-anchor">#</a> beforeFit</h3> <p>▸ <strong>beforeFit</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs before the scale fits to the canvas.</p> <h4 id="parameters-11"><a href="#parameters-11" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-11"><a href="#returns-11" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-15"><a href="#inherited-from-15" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#beforefit">beforeFit</a></p> <h4 id="defined-in-27"><a href="#defined-in-27" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1164" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1164<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="beforesetdimensions"><a href="#beforesetdimensions" class="header-anchor">#</a> beforeSetDimensions</h3> <p>▸ <strong>beforeSetDimensions</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs before dimensions are set.</p> <h4 id="parameters-12"><a href="#parameters-12" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-12"><a href="#returns-12" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-16"><a href="#inherited-from-16" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#beforesetdimensions">beforeSetDimensions</a></p> <h4 id="defined-in-28"><a href="#defined-in-28" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1124" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1124<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="beforeticktolabelconversion"><a href="#beforeticktolabelconversion" class="header-anchor">#</a> beforeTickToLabelConversion</h3> <p>▸ <strong>beforeTickToLabelConversion</strong>(<code>axis</code>): <code>void</code></p> <p>Callback that runs before ticks are converted into strings.</p> <h4 id="parameters-13"><a href="#parameters-13" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-13"><a href="#returns-13" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-17"><a href="#inherited-from-17" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#beforeticktolabelconversion">beforeTickToLabelConversion</a></p> <h4 id="defined-in-29"><a href="#defined-in-29" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1148" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1148<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <hr> <h3 id="beforeupdate"><a href="#beforeupdate" class="header-anchor">#</a> beforeUpdate</h3> <p>▸ <strong>beforeUpdate</strong>(<code>axis</code>): <code>void</code></p> <p>Callback called before the update process starts.</p> <h4 id="parameters-14"><a href="#parameters-14" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>axis</code></td> <td style="text-align:left;"><a href="/docs/3.6.0/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a>></td></tr></tbody></table> <h4 id="returns-14"><a href="#returns-14" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="inherited-from-18"><a href="#inherited-from-18" class="header-anchor">#</a> Inherited from</h4> <p><a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.0/api/interfaces/CoreScaleOptions.html#beforeupdate">beforeUpdate</a></p> <h4 id="defined-in-30"><a href="#defined-in-30" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/40e88ba/types/index.esm.d.ts#L1120" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1120<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
←
<a href="/docs/3.6.0/api/interfaces/BubbleDataPoint.html" class="prev">
BubbleDataPoint
</a></span> <span class="next"><a href="/docs/3.6.0/api/interfaces/CartesianScaleTypeRegistry.html">
CartesianScaleTypeRegistry
</a>
→
</span></p></div> </main></div><div class="global-ui"></div></div>
<script src="/docs/3.6.0/assets/js/app.9e2e0c27.js" defer></script><script src="/docs/3.6.0/assets/js/2.413130e4.js" defer></script><script src="/docs/3.6.0/assets/js/38.6999c87b.js" defer></script>
</body>
</html>