-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCartesianScaleOptions.html
53 lines (53 loc) · 83.1 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.2/favicon.ico">
<meta name="description" content="Open source HTML5 Charts for your website">
<link rel="preload" href="/docs/3.6.2/assets/css/0.styles.eed913be.css" as="style"><link rel="preload" href="/docs/3.6.2/assets/js/app.2ca8d9a1.js" as="script"><link rel="preload" href="/docs/3.6.2/assets/js/2.413130e4.js" as="script"><link rel="preload" href="/docs/3.6.2/assets/js/38.34558483.js" as="script"><link rel="prefetch" href="/docs/3.6.2/assets/js/10.499ad830.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/100.c659b372.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/101.ade680ea.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/102.f8e26ce2.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/103.d80c6d2e.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/104.1e796c89.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/105.f9b1a87e.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/106.57029c39.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/107.aed4d666.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/108.01e0d2c2.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/109.a78f5d2a.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/11.c5b17224.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/110.865e3d01.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/111.f77360eb.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/112.74cb9a25.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/113.582530a8.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/114.d72f37d0.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/115.373721fe.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/116.bf2cf4cc.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/117.182a4f92.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/118.6725dd99.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/119.a8e1ce7e.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/12.786c7f40.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/120.ca80eb31.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/121.b5790737.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/122.01e22b0e.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/123.0de10a0f.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/124.5b12b311.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/125.836f77c0.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/126.eb23f0e1.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/127.a5821e11.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/128.6fa2655b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/129.05bdf7c1.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/13.ddd4e2f8.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/130.f07ec287.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/131.ffdb5bb9.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/132.04d869bf.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/133.2e28d5e7.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/134.82730c9b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/135.1558393c.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/136.1ef1854b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/137.951a6d7f.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/138.d6b7cc34.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/139.8e8cfa43.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/14.172e0a00.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/140.9168d68d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/141.e1750e91.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/142.bf90fea8.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/143.140724b4.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/144.9df4d6c8.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/145.febfa863.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/146.c5f7eed6.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/147.f8b34fd3.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/148.66650264.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/149.548f7f47.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/15.25467550.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/150.85f9362f.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/151.482a9f35.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/152.576ca86f.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/153.935a1a3a.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/154.9f539141.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/155.7ba95295.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/156.1be8ccb1.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/157.04691de9.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/158.10f960a6.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/159.0a54b3ca.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/16.150fc889.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/160.08dc46b5.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/161.f19be8b6.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/162.6ca1f16a.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/163.c2a57dfe.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/164.42a79c1f.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/165.74486c25.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/166.3c6c7e32.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/167.2c97d8e5.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/168.ce5b206b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/169.36b4e508.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/17.09659df6.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/170.75a9c877.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/171.c57ea92b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/172.e69e2ca2.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/173.75190231.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/174.f2b294bf.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/175.654247ab.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/176.17e549aa.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/177.932d58bd.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/178.f5fc39c9.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/179.9c39c3a8.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/18.d804c2ac.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/180.5fa50b39.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/181.08259b6b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/182.635cbc1d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/183.96eb23ea.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/184.1dee1078.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/185.e4916e00.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/186.977d0bc2.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/187.c00f14d6.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/188.185442d6.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/189.49d8c55e.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/19.4dc42898.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/190.714c23ad.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/191.62ed8e93.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/192.db46561d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/193.52aad887.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/194.67c30a5c.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/195.4dc43acc.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/196.77cc2a08.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/197.43daff09.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/198.44e7429c.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/199.f1956670.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/20.64100c1f.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/200.137a83d7.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/201.9646ad65.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/202.bba3d4d6.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/203.ee97ae91.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/204.073a71ad.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/205.2bec4039.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/206.428cabeb.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/207.d640cca6.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/208.3316be05.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/209.eca464a0.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/21.7cae9449.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/210.2a62f962.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/211.b78a70e5.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/212.2069af08.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/213.c59f229d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/214.e3bd5725.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/215.135a5c21.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/216.a079389b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/217.2fb9e7a1.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/218.ad6ade75.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/219.32498948.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/22.a849185d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/220.d863dc72.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/221.e97b3327.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/222.8ddd8ad4.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/223.5f15733a.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/224.050b3be1.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/225.c361dc33.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/226.fec5e025.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/227.1432e018.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/228.5dbb7c20.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/229.5b0b276a.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/23.f0704cc1.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/230.6a042229.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/231.4ec3579a.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/232.da2cb431.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/233.32df7400.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/234.150d53b8.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/235.888b655d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/236.75f061a1.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/237.123a83df.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/238.6b92a4cc.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/239.e7c56491.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/24.3ace5fbd.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/240.90972bd0.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/241.2571e413.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/242.8cc98a9d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/243.49aa91c0.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/244.37e70b92.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/245.ea78d7e7.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/246.567a627f.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/247.714b8810.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/248.f3152c38.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/249.c3adb24d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/25.0b2d1052.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/26.1cdb46b1.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/27.81093f8c.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/28.63fa25c6.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/29.6614b1e3.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/3.e2fd7cce.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/30.b55daaec.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/31.98b51f37.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/32.b0f704ed.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/33.15a25289.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/34.c2f7e419.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/35.8de774e5.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/36.fa88ea66.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/37.8d8c1854.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/39.374eeb7e.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/4.cfb630b3.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/40.a8ca9282.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/41.b306ddd8.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/42.542462fd.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/43.d92779ee.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/44.9abd8554.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/45.89435ca3.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/46.bc45159b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/47.5a31e461.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/48.9843c5e4.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/49.ee598fc2.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/5.82c7afe1.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/50.3a0f04f4.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/51.c7b8a653.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/52.6e41a280.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/53.3f008cd2.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/54.7aebd691.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/55.8c12e4c3.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/56.599c1fbc.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/57.bc936068.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/58.706778f2.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/59.abaea5c8.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/6.3a712537.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/60.7418b5de.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/61.5c170278.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/62.8740fa45.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/63.caf1fdfb.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/64.cd899dae.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/65.6a60e234.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/66.1a3ee165.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/67.fc16965a.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/68.016a80e8.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/69.969b32ee.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/7.5ce46ca3.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/70.752c6c8d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/71.65523243.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/72.b7ef456b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/73.183bb5f9.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/74.53023cb4.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/75.daecde12.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/76.c228e409.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/77.c5443719.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/78.ee73501b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/79.77530a6a.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/8.eabe9f87.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/80.3da8376d.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/81.aed2367e.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/82.31ab8f26.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/83.07fe1944.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/84.f1ac6cbd.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/85.360fda23.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/86.592761d3.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/87.b61f96be.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/88.f959c1e4.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/89.cbe776ea.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/9.ede74743.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/90.83dad6ff.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/91.4833b1b5.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/92.c6571ece.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/93.ffa1fcd2.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/94.b64cee03.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/95.62ac5c3b.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/96.8a50680a.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/97.f9784ba7.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/98.f1c3b6ff.js"><link rel="prefetch" href="/docs/3.6.2/assets/js/99.c8d0f2fc.js">
<link rel="stylesheet" href="/docs/3.6.2/assets/css/0.styles.eed913be.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.2/" class="home-link router-link-active"><img src="/docs/3.6.2/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.2/" class="nav-link">
Home
</a></div><div class="nav-item"><a href="/docs/3.6.2/api/" class="nav-link router-link-active">
API
</a></div><div class="nav-item"><a href="/docs/3.6.2/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.2/" class="nav-link">
Home
</a></div><div class="nav-item"><a href="/docs/3.6.2/api/" class="nav-link router-link-active">
API
</a></div><div class="nav-item"><a href="/docs/3.6.2/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.2/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.2/api/interfaces/ActiveDataPoint.html" class="sidebar-link">ActiveDataPoint</a></li><li><a href="/docs/3.6.2/api/interfaces/ActiveElement.html" class="sidebar-link">ActiveElement</a></li><li><a href="/docs/3.6.2/api/interfaces/AnimationEvent.html" class="sidebar-link">AnimationEvent</a></li><li><a href="/docs/3.6.2/api/interfaces/ArcBorderRadius.html" class="sidebar-link">ArcBorderRadius</a></li><li><a href="/docs/3.6.2/api/interfaces/ArcElement.html" class="sidebar-link">ArcElement</a></li><li><a href="/docs/3.6.2/api/interfaces/ArcHoverOptions.html" class="sidebar-link">ArcHoverOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/ArcOptions.html" class="sidebar-link">ArcOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/ArcProps.html" class="sidebar-link">ArcProps</a></li><li><a href="/docs/3.6.2/api/interfaces/BarControllerChartOptions.html" class="sidebar-link">BarControllerChartOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/BarControllerDatasetOptions.html" class="sidebar-link">BarControllerDatasetOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/BarElement.html" class="sidebar-link">BarElement</a></li><li><a href="/docs/3.6.2/api/interfaces/BarHoverOptions.html" class="sidebar-link">BarHoverOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/BarOptions.html" class="sidebar-link">BarOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/BarProps.html" class="sidebar-link">BarProps</a></li><li><a href="/docs/3.6.2/api/interfaces/BorderRadius.html" class="sidebar-link">BorderRadius</a></li><li><a href="/docs/3.6.2/api/interfaces/BubbleControllerDatasetOptions.html" class="sidebar-link">BubbleControllerDatasetOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/BubbleDataPoint.html" class="sidebar-link">BubbleDataPoint</a></li><li><a href="/docs/3.6.2/api/interfaces/CartesianScaleOptions.html" aria-current="page" class="active sidebar-link">CartesianScaleOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/CartesianScaleTypeRegistry.html" class="sidebar-link">CartesianScaleTypeRegistry</a></li><li><a href="/docs/3.6.2/api/interfaces/ChartArea.html" class="sidebar-link">ChartArea</a></li><li><a href="/docs/3.6.2/api/interfaces/ChartComponent.html" class="sidebar-link">ChartComponent</a></li><li><a href="/docs/3.6.2/api/interfaces/ChartConfiguration.html" class="sidebar-link">ChartConfiguration</a></li><li><a href="/docs/3.6.2/api/interfaces/ChartData.html" class="sidebar-link">ChartData</a></li><li><a href="/docs/3.6.2/api/interfaces/ChartDatasetProperties.html" class="sidebar-link">ChartDatasetProperties</a></li><li><a href="/docs/3.6.2/api/interfaces/ChartEvent.html" class="sidebar-link">ChartEvent</a></li><li><a href="/docs/3.6.2/api/interfaces/ChartTypeRegistry.html" class="sidebar-link">ChartTypeRegistry</a></li><li><a href="/docs/3.6.2/api/interfaces/CommonElementOptions.html" class="sidebar-link">CommonElementOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/CommonHoverOptions.html" class="sidebar-link">CommonHoverOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/ComplexFillTarget.html" class="sidebar-link">ComplexFillTarget</a></li><li><a href="/docs/3.6.2/api/interfaces/ControllerDatasetOptions.html" class="sidebar-link">ControllerDatasetOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/CoreChartOptions.html" class="sidebar-link">CoreChartOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/CoreInteractionOptions.html" class="sidebar-link">CoreInteractionOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/CoreScaleOptions.html" class="sidebar-link">CoreScaleOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/DatasetControllerChartComponent.html" class="sidebar-link">DatasetControllerChartComponent</a></li><li><a href="/docs/3.6.2/api/interfaces/DateAdapter.html" class="sidebar-link">DateAdapter</a></li><li><a href="/docs/3.6.2/api/interfaces/Defaults.html" class="sidebar-link">Defaults</a></li><li><a href="/docs/3.6.2/api/interfaces/DoughnutAnimationOptions.html" class="sidebar-link">DoughnutAnimationOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/DoughnutController.html" class="sidebar-link">DoughnutController</a></li><li><a href="/docs/3.6.2/api/interfaces/DoughnutControllerChartOptions.html" class="sidebar-link">DoughnutControllerChartOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/DoughnutControllerDatasetOptions.html" class="sidebar-link">DoughnutControllerDatasetOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/DoughnutMetaExtensions.html" class="sidebar-link">DoughnutMetaExtensions</a></li><li><a href="/docs/3.6.2/api/interfaces/Element.html" class="sidebar-link">Element</a></li><li><a href="/docs/3.6.2/api/interfaces/ElementOptionsByType.html" class="sidebar-link">ElementOptionsByType</a></li><li><a href="/docs/3.6.2/api/interfaces/ExtendedPlugin.html" class="sidebar-link">ExtendedPlugin</a></li><li><a href="/docs/3.6.2/api/interfaces/FillerControllerDatasetOptions.html" class="sidebar-link">FillerControllerDatasetOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/FillerOptions.html" class="sidebar-link">FillerOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/FontSpec.html" class="sidebar-link">FontSpec</a></li><li><a href="/docs/3.6.2/api/interfaces/GridLineOptions.html" class="sidebar-link">GridLineOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/InteractionItem.html" class="sidebar-link">InteractionItem</a></li><li><a href="/docs/3.6.2/api/interfaces/InteractionModeMap.html" class="sidebar-link">InteractionModeMap</a></li><li><a href="/docs/3.6.2/api/interfaces/InteractionOptions.html" class="sidebar-link">InteractionOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/LayoutItem.html" class="sidebar-link">LayoutItem</a></li><li><a href="/docs/3.6.2/api/interfaces/LegendElement.html" class="sidebar-link">LegendElement</a></li><li><a href="/docs/3.6.2/api/interfaces/LegendItem.html" class="sidebar-link">LegendItem</a></li><li><a href="/docs/3.6.2/api/interfaces/LegendOptions.html" class="sidebar-link">LegendOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/LineControllerChartOptions.html" class="sidebar-link">LineControllerChartOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/LineControllerDatasetOptions.html" class="sidebar-link">LineControllerDatasetOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/LineElement.html" class="sidebar-link">LineElement</a></li><li><a href="/docs/3.6.2/api/interfaces/LineHoverOptions.html" class="sidebar-link">LineHoverOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/LineOptions.html" class="sidebar-link">LineOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/LineProps.html" class="sidebar-link">LineProps</a></li><li><a href="/docs/3.6.2/api/interfaces/ParsingOptions.html" class="sidebar-link">ParsingOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/Plugin.html" class="sidebar-link">Plugin</a></li><li><a href="/docs/3.6.2/api/interfaces/PluginChartOptions.html" class="sidebar-link">PluginChartOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/PluginOptionsByType.html" class="sidebar-link">PluginOptionsByType</a></li><li><a href="/docs/3.6.2/api/interfaces/Point.html" class="sidebar-link">Point</a></li><li><a href="/docs/3.6.2/api/interfaces/PointElement.html" class="sidebar-link">PointElement</a></li><li><a href="/docs/3.6.2/api/interfaces/PointHoverOptions.html" class="sidebar-link">PointHoverOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/PointOptions.html" class="sidebar-link">PointOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/PointPrefixedHoverOptions.html" class="sidebar-link">PointPrefixedHoverOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/PointPrefixedOptions.html" class="sidebar-link">PointPrefixedOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/PointProps.html" class="sidebar-link">PointProps</a></li><li><a href="/docs/3.6.2/api/interfaces/PolarAreaController.html" class="sidebar-link">PolarAreaController</a></li><li><a href="/docs/3.6.2/api/interfaces/PolarAreaControllerChartOptions.html" class="sidebar-link">PolarAreaControllerChartOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/PolarAreaControllerDatasetOptions.html" class="sidebar-link">PolarAreaControllerDatasetOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/RadarControllerDatasetOptions.html" class="sidebar-link">RadarControllerDatasetOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/RadialLinearScale.html" class="sidebar-link">RadialLinearScale</a></li><li><a href="/docs/3.6.2/api/interfaces/RadialScaleTypeRegistry.html" class="sidebar-link">RadialScaleTypeRegistry</a></li><li><a href="/docs/3.6.2/api/interfaces/Registry.html" class="sidebar-link">Registry</a></li><li><a href="/docs/3.6.2/api/interfaces/ScaleTypeRegistry.html" class="sidebar-link">ScaleTypeRegistry</a></li><li><a href="/docs/3.6.2/api/interfaces/ScatterDataPoint.html" class="sidebar-link">ScatterDataPoint</a></li><li><a href="/docs/3.6.2/api/interfaces/ScriptableContext.html" class="sidebar-link">ScriptableContext</a></li><li><a href="/docs/3.6.2/api/interfaces/ScriptableLineSegmentContext.html" class="sidebar-link">ScriptableLineSegmentContext</a></li><li><a href="/docs/3.6.2/api/interfaces/ScriptableScaleContext.html" class="sidebar-link">ScriptableScaleContext</a></li><li><a href="/docs/3.6.2/api/interfaces/ScriptableScalePointLabelContext.html" class="sidebar-link">ScriptableScalePointLabelContext</a></li><li><a href="/docs/3.6.2/api/interfaces/ScriptableTooltipContext.html" class="sidebar-link">ScriptableTooltipContext</a></li><li><a href="/docs/3.6.2/api/interfaces/Segment.html" class="sidebar-link">Segment</a></li><li><a href="/docs/3.6.2/api/interfaces/Tick.html" class="sidebar-link">Tick</a></li><li><a href="/docs/3.6.2/api/interfaces/TickOptions.html" class="sidebar-link">TickOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/TimeScale.html" class="sidebar-link">TimeScale</a></li><li><a href="/docs/3.6.2/api/interfaces/TitleOptions.html" class="sidebar-link">TitleOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/TooltipCallbacks.html" class="sidebar-link">TooltipCallbacks</a></li><li><a href="/docs/3.6.2/api/interfaces/TooltipItem.html" class="sidebar-link">TooltipItem</a></li><li><a href="/docs/3.6.2/api/interfaces/TooltipLabelStyle.html" class="sidebar-link">TooltipLabelStyle</a></li><li><a href="/docs/3.6.2/api/interfaces/TooltipModel.html" class="sidebar-link">TooltipModel</a></li><li><a href="/docs/3.6.2/api/interfaces/TooltipOptions.html" class="sidebar-link">TooltipOptions</a></li><li><a href="/docs/3.6.2/api/interfaces/TypedRegistry.html" class="sidebar-link">TypedRegistry</a></li><li><a href="/docs/3.6.2/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.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/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> <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/9fa26f9/types/index.esm.d.ts#L2920" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2920<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/9fa26f9/types/index.esm.d.ts#L2899" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2899<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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1112" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1112<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.2/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/9fa26f9/types/index.esm.d.ts#L2938" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2938<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/9fa26f9/types/index.esm.d.ts#L2930" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2930<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/9fa26f9/types/index.esm.d.ts#L2925" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2925<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/9fa26f9/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="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/9fa26f9/types/index.esm.d.ts#L2904" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2904<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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1121" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1121<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/9fa26f9/types/index.esm.d.ts#L2909" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2909<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/9fa26f9/types/index.esm.d.ts#L2915" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2915<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/9fa26f9/types/index.esm.d.ts#L2967" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2967<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.2/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/9fa26f9/types/index.esm.d.ts#L2969" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2969<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> <p>Options for the scale title.</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> <th style="text-align:left;">Description</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> <td style="text-align:left;">Alignment of the axis title.</td></tr> <tr><td style="text-align:left;"><code>color</code></td> <td style="text-align:left;"><a href="/docs/3.6.2/api/#color"><code>Color</code></a></td> <td style="text-align:left;">Color of the axis label.</td></tr> <tr><td style="text-align:left;"><code>display</code></td> <td style="text-align:left;"><code>boolean</code></td> <td style="text-align:left;">If true, displays the axis title.</td></tr> <tr><td style="text-align:left;"><code>font</code></td> <td style="text-align:left;"><a href="/docs/3.6.2/api/interfaces/FontSpec.html"><code>FontSpec</code></a></td> <td style="text-align:left;">Information about the axis title font.</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> ; <code>y</code>: <code>number</code> }</td> <td style="text-align:left;">Padding to apply around scale labels.</td></tr> <tr><td style="text-align:left;"><code>text</code></td> <td style="text-align:left;"><code>string</code> | <code>string</code>[]</td> <td style="text-align:left;">The text for the title, e.g. "# of People" or "Response Choices".</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/9fa26f9/types/index.esm.d.ts#L2941" target="_blank" rel="noopener noreferrer">index.esm.d.ts:2941<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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1126" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1126<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1154" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1154<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1170" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1170<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1146" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1146<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1178" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1178<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1138" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1138<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1162" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1162<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1182" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1182<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1150" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1150<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1166" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1166<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1142" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1142<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1174" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1174<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1134" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1134<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1158" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1158<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.2/api/classes/Scale.html"><code>Scale</code></a><<a href="/docs/3.6.2/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.2/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a>.<a href="/docs/3.6.2/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/9fa26f9/types/index.esm.d.ts#L1130" target="_blank" rel="noopener noreferrer">index.esm.d.ts:1130<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.2/api/interfaces/BubbleDataPoint.html" class="prev">
BubbleDataPoint
</a></span> <span class="next"><a href="/docs/3.6.2/api/interfaces/CartesianScaleTypeRegistry.html">
CartesianScaleTypeRegistry
</a>
→
</span></p></div> </main></div><div class="global-ui"></div></div>
<script src="/docs/3.6.2/assets/js/app.2ca8d9a1.js" defer></script><script src="/docs/3.6.2/assets/js/2.413130e4.js" defer></script><script src="/docs/3.6.2/assets/js/38.34558483.js" defer></script>
</body>
</html>