-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathindex.html
49 lines (49 loc) · 205 KB
/
index.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Chart.js - v4.4.9 | Chart.js</title>
<meta name="generator" content="VuePress 1.9.9">
<link rel="icon" href="/docs/latest/favicon.ico">
<meta name="description" content="Open source HTML5 Charts for your website">
<link rel="preload" href="/docs/latest/assets/css/0.styles.6dc2f403.css" as="style"><link rel="preload" href="/docs/latest/assets/js/app.1775731d.js" as="script"><link rel="preload" href="/docs/latest/assets/js/2.2c2b1036.js" as="script"><link rel="preload" href="/docs/latest/assets/js/12.fa9e2b79.js" as="script"><link rel="prefetch" href="/docs/latest/assets/js/10.ba172174.js"><link rel="prefetch" href="/docs/latest/assets/js/100.559bdb31.js"><link rel="prefetch" href="/docs/latest/assets/js/101.734a357a.js"><link rel="prefetch" href="/docs/latest/assets/js/102.e53ce872.js"><link rel="prefetch" href="/docs/latest/assets/js/103.9940e4fa.js"><link rel="prefetch" href="/docs/latest/assets/js/104.469f66c7.js"><link rel="prefetch" href="/docs/latest/assets/js/105.5ae465af.js"><link rel="prefetch" href="/docs/latest/assets/js/106.716d6eac.js"><link rel="prefetch" href="/docs/latest/assets/js/107.0833c00c.js"><link rel="prefetch" href="/docs/latest/assets/js/108.d33f5d8a.js"><link rel="prefetch" href="/docs/latest/assets/js/109.ea3e6d92.js"><link rel="prefetch" href="/docs/latest/assets/js/11.d1a995d1.js"><link rel="prefetch" href="/docs/latest/assets/js/110.0e4a266d.js"><link rel="prefetch" href="/docs/latest/assets/js/111.c9c05ded.js"><link rel="prefetch" href="/docs/latest/assets/js/112.9016026c.js"><link rel="prefetch" href="/docs/latest/assets/js/113.a23a9546.js"><link rel="prefetch" href="/docs/latest/assets/js/114.d891a2d6.js"><link rel="prefetch" href="/docs/latest/assets/js/115.cdcc4368.js"><link rel="prefetch" href="/docs/latest/assets/js/116.251f2223.js"><link rel="prefetch" href="/docs/latest/assets/js/117.7eb3b50a.js"><link rel="prefetch" href="/docs/latest/assets/js/118.adac9d3d.js"><link rel="prefetch" href="/docs/latest/assets/js/119.d911cbbc.js"><link rel="prefetch" href="/docs/latest/assets/js/120.0a1625d8.js"><link rel="prefetch" href="/docs/latest/assets/js/121.64e65c08.js"><link rel="prefetch" href="/docs/latest/assets/js/122.ea83d994.js"><link rel="prefetch" href="/docs/latest/assets/js/123.43345e7d.js"><link rel="prefetch" href="/docs/latest/assets/js/124.9ef914cc.js"><link rel="prefetch" href="/docs/latest/assets/js/125.ba02abb0.js"><link rel="prefetch" href="/docs/latest/assets/js/126.0e7f9dce.js"><link rel="prefetch" href="/docs/latest/assets/js/127.b8d32dad.js"><link rel="prefetch" href="/docs/latest/assets/js/128.7ac6e558.js"><link rel="prefetch" href="/docs/latest/assets/js/129.d20213cd.js"><link rel="prefetch" href="/docs/latest/assets/js/13.40942fa2.js"><link rel="prefetch" href="/docs/latest/assets/js/130.81a05cd4.js"><link rel="prefetch" href="/docs/latest/assets/js/131.daed6849.js"><link rel="prefetch" href="/docs/latest/assets/js/132.4d47b2eb.js"><link rel="prefetch" href="/docs/latest/assets/js/133.05ab502f.js"><link rel="prefetch" href="/docs/latest/assets/js/134.83827ecd.js"><link rel="prefetch" href="/docs/latest/assets/js/135.7bff0bd7.js"><link rel="prefetch" href="/docs/latest/assets/js/136.98f8440e.js"><link rel="prefetch" href="/docs/latest/assets/js/137.aaec3459.js"><link rel="prefetch" href="/docs/latest/assets/js/138.c192277e.js"><link rel="prefetch" href="/docs/latest/assets/js/139.22d54ea6.js"><link rel="prefetch" href="/docs/latest/assets/js/14.5de42ba2.js"><link rel="prefetch" href="/docs/latest/assets/js/140.386704e4.js"><link rel="prefetch" href="/docs/latest/assets/js/141.a9195816.js"><link rel="prefetch" href="/docs/latest/assets/js/142.b78395bb.js"><link rel="prefetch" href="/docs/latest/assets/js/143.170ad88b.js"><link rel="prefetch" href="/docs/latest/assets/js/144.76e219db.js"><link rel="prefetch" href="/docs/latest/assets/js/145.191861d0.js"><link rel="prefetch" href="/docs/latest/assets/js/146.e78f7eab.js"><link rel="prefetch" href="/docs/latest/assets/js/147.aed576b7.js"><link rel="prefetch" href="/docs/latest/assets/js/148.51a28e75.js"><link rel="prefetch" href="/docs/latest/assets/js/149.bacf0bd4.js"><link rel="prefetch" href="/docs/latest/assets/js/15.012e7206.js"><link rel="prefetch" href="/docs/latest/assets/js/150.fe20362f.js"><link rel="prefetch" href="/docs/latest/assets/js/151.c05dbf6f.js"><link rel="prefetch" href="/docs/latest/assets/js/152.f99236fb.js"><link rel="prefetch" href="/docs/latest/assets/js/153.ef68597f.js"><link rel="prefetch" href="/docs/latest/assets/js/154.c023b64b.js"><link rel="prefetch" href="/docs/latest/assets/js/155.3f68a1be.js"><link rel="prefetch" href="/docs/latest/assets/js/156.66b7693f.js"><link rel="prefetch" href="/docs/latest/assets/js/157.3c0180a1.js"><link rel="prefetch" href="/docs/latest/assets/js/158.cf525578.js"><link rel="prefetch" href="/docs/latest/assets/js/159.4b37336f.js"><link rel="prefetch" href="/docs/latest/assets/js/16.a464ca3c.js"><link rel="prefetch" href="/docs/latest/assets/js/160.e108118b.js"><link rel="prefetch" href="/docs/latest/assets/js/161.aa5bb701.js"><link rel="prefetch" href="/docs/latest/assets/js/162.d16c9512.js"><link rel="prefetch" href="/docs/latest/assets/js/163.f2f33424.js"><link rel="prefetch" href="/docs/latest/assets/js/164.2d008c84.js"><link rel="prefetch" href="/docs/latest/assets/js/165.3e4e7c11.js"><link rel="prefetch" href="/docs/latest/assets/js/166.57daa7ea.js"><link rel="prefetch" href="/docs/latest/assets/js/167.f8e315e4.js"><link rel="prefetch" href="/docs/latest/assets/js/168.fdb7618a.js"><link rel="prefetch" href="/docs/latest/assets/js/169.c7aab3a9.js"><link rel="prefetch" href="/docs/latest/assets/js/17.ed55170f.js"><link rel="prefetch" href="/docs/latest/assets/js/170.d26e2242.js"><link rel="prefetch" href="/docs/latest/assets/js/171.c5b6f4a1.js"><link rel="prefetch" href="/docs/latest/assets/js/172.b564ffcb.js"><link rel="prefetch" href="/docs/latest/assets/js/173.abeba639.js"><link rel="prefetch" href="/docs/latest/assets/js/174.f93bd291.js"><link rel="prefetch" href="/docs/latest/assets/js/175.5d366e3d.js"><link rel="prefetch" href="/docs/latest/assets/js/176.e54efab4.js"><link rel="prefetch" href="/docs/latest/assets/js/177.496ceef2.js"><link rel="prefetch" href="/docs/latest/assets/js/178.12804673.js"><link rel="prefetch" href="/docs/latest/assets/js/179.32bf04c8.js"><link rel="prefetch" href="/docs/latest/assets/js/18.ba4debdf.js"><link rel="prefetch" href="/docs/latest/assets/js/180.e8f6ed27.js"><link rel="prefetch" href="/docs/latest/assets/js/181.c8978a79.js"><link rel="prefetch" href="/docs/latest/assets/js/182.63d7af06.js"><link rel="prefetch" href="/docs/latest/assets/js/183.55db8d56.js"><link rel="prefetch" href="/docs/latest/assets/js/184.18a07965.js"><link rel="prefetch" href="/docs/latest/assets/js/185.3a061aeb.js"><link rel="prefetch" href="/docs/latest/assets/js/186.a0e4fc7f.js"><link rel="prefetch" href="/docs/latest/assets/js/187.4955b620.js"><link rel="prefetch" href="/docs/latest/assets/js/188.c1eef544.js"><link rel="prefetch" href="/docs/latest/assets/js/189.a6ac08c5.js"><link rel="prefetch" href="/docs/latest/assets/js/19.5a1c7f07.js"><link rel="prefetch" href="/docs/latest/assets/js/190.02c0bd04.js"><link rel="prefetch" href="/docs/latest/assets/js/191.35859b30.js"><link rel="prefetch" href="/docs/latest/assets/js/192.605a899d.js"><link rel="prefetch" href="/docs/latest/assets/js/193.9873a5b3.js"><link rel="prefetch" href="/docs/latest/assets/js/194.f2b24cdc.js"><link rel="prefetch" href="/docs/latest/assets/js/195.24641d51.js"><link rel="prefetch" href="/docs/latest/assets/js/196.7b3fce99.js"><link rel="prefetch" href="/docs/latest/assets/js/197.f4fe5075.js"><link rel="prefetch" href="/docs/latest/assets/js/198.7361b0f4.js"><link rel="prefetch" href="/docs/latest/assets/js/199.9a52b08a.js"><link rel="prefetch" href="/docs/latest/assets/js/20.befb3878.js"><link rel="prefetch" href="/docs/latest/assets/js/200.96e5f1ed.js"><link rel="prefetch" href="/docs/latest/assets/js/201.8fb753af.js"><link rel="prefetch" href="/docs/latest/assets/js/202.546fb27c.js"><link rel="prefetch" href="/docs/latest/assets/js/203.c0a58e57.js"><link rel="prefetch" href="/docs/latest/assets/js/204.f3dcd08d.js"><link rel="prefetch" href="/docs/latest/assets/js/205.e39e6cc0.js"><link rel="prefetch" href="/docs/latest/assets/js/206.2040b423.js"><link rel="prefetch" href="/docs/latest/assets/js/207.d3de4a57.js"><link rel="prefetch" href="/docs/latest/assets/js/208.28fe0256.js"><link rel="prefetch" href="/docs/latest/assets/js/209.9be0ffc2.js"><link rel="prefetch" href="/docs/latest/assets/js/21.e052604d.js"><link rel="prefetch" href="/docs/latest/assets/js/210.4a57137a.js"><link rel="prefetch" href="/docs/latest/assets/js/211.17e55bd6.js"><link rel="prefetch" href="/docs/latest/assets/js/212.1c8d2acd.js"><link rel="prefetch" href="/docs/latest/assets/js/213.2dbf6c1c.js"><link rel="prefetch" href="/docs/latest/assets/js/214.2f1440f9.js"><link rel="prefetch" href="/docs/latest/assets/js/215.11ed947f.js"><link rel="prefetch" href="/docs/latest/assets/js/216.74863e9d.js"><link rel="prefetch" href="/docs/latest/assets/js/217.a8419f14.js"><link rel="prefetch" href="/docs/latest/assets/js/218.6bf9fc78.js"><link rel="prefetch" href="/docs/latest/assets/js/219.0169da15.js"><link rel="prefetch" href="/docs/latest/assets/js/22.28f307d4.js"><link rel="prefetch" href="/docs/latest/assets/js/220.c575f379.js"><link rel="prefetch" href="/docs/latest/assets/js/221.2947993e.js"><link rel="prefetch" href="/docs/latest/assets/js/222.2afa8e58.js"><link rel="prefetch" href="/docs/latest/assets/js/223.123abe52.js"><link rel="prefetch" href="/docs/latest/assets/js/224.93f4958f.js"><link rel="prefetch" href="/docs/latest/assets/js/225.a679632e.js"><link rel="prefetch" href="/docs/latest/assets/js/226.1f372629.js"><link rel="prefetch" href="/docs/latest/assets/js/227.01f26922.js"><link rel="prefetch" href="/docs/latest/assets/js/228.5b8a33de.js"><link rel="prefetch" href="/docs/latest/assets/js/229.2c43b3bd.js"><link rel="prefetch" href="/docs/latest/assets/js/23.2c1803cf.js"><link rel="prefetch" href="/docs/latest/assets/js/230.f6aef453.js"><link rel="prefetch" href="/docs/latest/assets/js/231.cb4e528d.js"><link rel="prefetch" href="/docs/latest/assets/js/232.ff3c6c5a.js"><link rel="prefetch" href="/docs/latest/assets/js/233.a09dfb10.js"><link rel="prefetch" href="/docs/latest/assets/js/234.16f55136.js"><link rel="prefetch" href="/docs/latest/assets/js/235.96d6441a.js"><link rel="prefetch" href="/docs/latest/assets/js/236.48813a68.js"><link rel="prefetch" href="/docs/latest/assets/js/237.f990a1ec.js"><link rel="prefetch" href="/docs/latest/assets/js/238.e5b4f649.js"><link rel="prefetch" href="/docs/latest/assets/js/239.291dc9f2.js"><link rel="prefetch" href="/docs/latest/assets/js/24.77df6298.js"><link rel="prefetch" href="/docs/latest/assets/js/240.8103995d.js"><link rel="prefetch" href="/docs/latest/assets/js/241.77f1ef6d.js"><link rel="prefetch" href="/docs/latest/assets/js/242.ec2780d4.js"><link rel="prefetch" href="/docs/latest/assets/js/243.37cf3af4.js"><link rel="prefetch" href="/docs/latest/assets/js/244.8dd0e249.js"><link rel="prefetch" href="/docs/latest/assets/js/245.6be09f0f.js"><link rel="prefetch" href="/docs/latest/assets/js/246.f8d4fa7a.js"><link rel="prefetch" href="/docs/latest/assets/js/247.42420fdd.js"><link rel="prefetch" href="/docs/latest/assets/js/248.c23ee98d.js"><link rel="prefetch" href="/docs/latest/assets/js/249.ab477af3.js"><link rel="prefetch" href="/docs/latest/assets/js/25.c7de846b.js"><link rel="prefetch" href="/docs/latest/assets/js/250.6e8d2ba3.js"><link rel="prefetch" href="/docs/latest/assets/js/251.b6b2f974.js"><link rel="prefetch" href="/docs/latest/assets/js/252.8ff946bc.js"><link rel="prefetch" href="/docs/latest/assets/js/253.16fcc019.js"><link rel="prefetch" href="/docs/latest/assets/js/254.b8ab3153.js"><link rel="prefetch" href="/docs/latest/assets/js/255.c6168ca8.js"><link rel="prefetch" href="/docs/latest/assets/js/256.8f91fc92.js"><link rel="prefetch" href="/docs/latest/assets/js/257.9d3758c5.js"><link rel="prefetch" href="/docs/latest/assets/js/258.cd89cf43.js"><link rel="prefetch" href="/docs/latest/assets/js/259.61dbc16e.js"><link rel="prefetch" href="/docs/latest/assets/js/26.03fea601.js"><link rel="prefetch" href="/docs/latest/assets/js/260.59b86bdc.js"><link rel="prefetch" href="/docs/latest/assets/js/261.e678254e.js"><link rel="prefetch" href="/docs/latest/assets/js/262.ce0c9d58.js"><link rel="prefetch" href="/docs/latest/assets/js/263.02a09c3e.js"><link rel="prefetch" href="/docs/latest/assets/js/264.9e7aa5e6.js"><link rel="prefetch" href="/docs/latest/assets/js/265.caa756fe.js"><link rel="prefetch" href="/docs/latest/assets/js/266.6e310b52.js"><link rel="prefetch" href="/docs/latest/assets/js/267.c48b8214.js"><link rel="prefetch" href="/docs/latest/assets/js/268.77c31416.js"><link rel="prefetch" href="/docs/latest/assets/js/27.a0d9661b.js"><link rel="prefetch" href="/docs/latest/assets/js/28.c2bbd22e.js"><link rel="prefetch" href="/docs/latest/assets/js/29.edc6cdb1.js"><link rel="prefetch" href="/docs/latest/assets/js/3.bb127fce.js"><link rel="prefetch" href="/docs/latest/assets/js/30.58943817.js"><link rel="prefetch" href="/docs/latest/assets/js/31.05bf300d.js"><link rel="prefetch" href="/docs/latest/assets/js/32.86c21b69.js"><link rel="prefetch" href="/docs/latest/assets/js/33.a04bc030.js"><link rel="prefetch" href="/docs/latest/assets/js/34.9261e152.js"><link rel="prefetch" href="/docs/latest/assets/js/35.9f137c62.js"><link rel="prefetch" href="/docs/latest/assets/js/36.b63af66d.js"><link rel="prefetch" href="/docs/latest/assets/js/37.f571e398.js"><link rel="prefetch" href="/docs/latest/assets/js/38.e0ccae6b.js"><link rel="prefetch" href="/docs/latest/assets/js/39.6686479c.js"><link rel="prefetch" href="/docs/latest/assets/js/4.5897c077.js"><link rel="prefetch" href="/docs/latest/assets/js/40.d2ea3899.js"><link rel="prefetch" href="/docs/latest/assets/js/41.70418b50.js"><link rel="prefetch" href="/docs/latest/assets/js/42.4ff9f3d5.js"><link rel="prefetch" href="/docs/latest/assets/js/43.bf702a0d.js"><link rel="prefetch" href="/docs/latest/assets/js/44.c9410168.js"><link rel="prefetch" href="/docs/latest/assets/js/45.a3605880.js"><link rel="prefetch" href="/docs/latest/assets/js/46.23692797.js"><link rel="prefetch" href="/docs/latest/assets/js/47.6078eee1.js"><link rel="prefetch" href="/docs/latest/assets/js/48.a071f769.js"><link rel="prefetch" href="/docs/latest/assets/js/49.211def19.js"><link rel="prefetch" href="/docs/latest/assets/js/5.ed1eea17.js"><link rel="prefetch" href="/docs/latest/assets/js/50.0c989648.js"><link rel="prefetch" href="/docs/latest/assets/js/51.57b0568d.js"><link rel="prefetch" href="/docs/latest/assets/js/52.821bc064.js"><link rel="prefetch" href="/docs/latest/assets/js/53.a10f3570.js"><link rel="prefetch" href="/docs/latest/assets/js/54.e364607e.js"><link rel="prefetch" href="/docs/latest/assets/js/55.74f20f58.js"><link rel="prefetch" href="/docs/latest/assets/js/56.9bb69bd9.js"><link rel="prefetch" href="/docs/latest/assets/js/57.d13e1f2c.js"><link rel="prefetch" href="/docs/latest/assets/js/58.ae64ef04.js"><link rel="prefetch" href="/docs/latest/assets/js/59.18fb0daf.js"><link rel="prefetch" href="/docs/latest/assets/js/6.6a7a006f.js"><link rel="prefetch" href="/docs/latest/assets/js/60.e1b75e7e.js"><link rel="prefetch" href="/docs/latest/assets/js/61.6e22e73d.js"><link rel="prefetch" href="/docs/latest/assets/js/62.2c43dacd.js"><link rel="prefetch" href="/docs/latest/assets/js/63.3e5c59ef.js"><link rel="prefetch" href="/docs/latest/assets/js/64.7e7d10cb.js"><link rel="prefetch" href="/docs/latest/assets/js/65.6d7b327c.js"><link rel="prefetch" href="/docs/latest/assets/js/66.47306b72.js"><link rel="prefetch" href="/docs/latest/assets/js/67.ef802daf.js"><link rel="prefetch" href="/docs/latest/assets/js/68.4c36f508.js"><link rel="prefetch" href="/docs/latest/assets/js/69.6884afc3.js"><link rel="prefetch" href="/docs/latest/assets/js/7.2b9bb0cc.js"><link rel="prefetch" href="/docs/latest/assets/js/70.753aeeeb.js"><link rel="prefetch" href="/docs/latest/assets/js/71.02132ae7.js"><link rel="prefetch" href="/docs/latest/assets/js/72.93a262fa.js"><link rel="prefetch" href="/docs/latest/assets/js/73.63823760.js"><link rel="prefetch" href="/docs/latest/assets/js/74.8bbf353a.js"><link rel="prefetch" href="/docs/latest/assets/js/75.4b40b642.js"><link rel="prefetch" href="/docs/latest/assets/js/76.87207961.js"><link rel="prefetch" href="/docs/latest/assets/js/77.74919e96.js"><link rel="prefetch" href="/docs/latest/assets/js/78.7690f014.js"><link rel="prefetch" href="/docs/latest/assets/js/79.e269897b.js"><link rel="prefetch" href="/docs/latest/assets/js/8.e267e498.js"><link rel="prefetch" href="/docs/latest/assets/js/80.e6365a67.js"><link rel="prefetch" href="/docs/latest/assets/js/81.333a82f2.js"><link rel="prefetch" href="/docs/latest/assets/js/82.d944b8b9.js"><link rel="prefetch" href="/docs/latest/assets/js/83.c27c28df.js"><link rel="prefetch" href="/docs/latest/assets/js/84.9e1ca72d.js"><link rel="prefetch" href="/docs/latest/assets/js/85.8aed2510.js"><link rel="prefetch" href="/docs/latest/assets/js/86.13b36328.js"><link rel="prefetch" href="/docs/latest/assets/js/87.a66620db.js"><link rel="prefetch" href="/docs/latest/assets/js/88.d2527a78.js"><link rel="prefetch" href="/docs/latest/assets/js/89.45cfdeb3.js"><link rel="prefetch" href="/docs/latest/assets/js/9.3427a556.js"><link rel="prefetch" href="/docs/latest/assets/js/90.5793b0b0.js"><link rel="prefetch" href="/docs/latest/assets/js/91.292294a6.js"><link rel="prefetch" href="/docs/latest/assets/js/92.26377cb3.js"><link rel="prefetch" href="/docs/latest/assets/js/93.b98fe0e9.js"><link rel="prefetch" href="/docs/latest/assets/js/94.d98598be.js"><link rel="prefetch" href="/docs/latest/assets/js/95.e241010d.js"><link rel="prefetch" href="/docs/latest/assets/js/96.e2a1f228.js"><link rel="prefetch" href="/docs/latest/assets/js/97.383a3a23.js"><link rel="prefetch" href="/docs/latest/assets/js/98.ad06bcf6.js"><link rel="prefetch" href="/docs/latest/assets/js/99.809adbec.js">
<link rel="stylesheet" href="/docs/latest/assets/css/0.styles.6dc2f403.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/latest/" class="home-link router-link-active"><img src="/docs/latest/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/latest/" class="nav-link">
Home
</a></div><div class="nav-item"><a href="/docs/latest/api/" aria-current="page" class="nav-link router-link-exact-active router-link-active">
API
</a></div><div class="nav-item"><a href="/docs/latest/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://discord.gg/HxEguTK6av" target="_blank" rel="noopener noreferrer" class="nav-link external">
Discord
<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/latest/" class="nav-link">
Home
</a></div><div class="nav-item"><a href="/docs/latest/api/" aria-current="page" class="nav-link router-link-exact-active router-link-active">
API
</a></div><div class="nav-item"><a href="/docs/latest/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://discord.gg/HxEguTK6av" target="_blank" rel="noopener noreferrer" class="nav-link external">
Discord
<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/latest/api/" aria-current="page" class="active 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"><span>Interfaces</span> <span class="arrow right"></span></p> <!----></section></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="chart-js-v4-4-9"><a href="#chart-js-v4-4-9" class="header-anchor">#</a> Chart.js - v4.4.9</h1> <h2 id="enumerations"><a href="#enumerations" class="header-anchor">#</a> Enumerations</h2> <ul><li><a href="/docs/latest/api/enums/DecimationAlgorithm.html">DecimationAlgorithm</a></li> <li><a href="/docs/latest/api/enums/UpdateModeEnum.html">UpdateModeEnum</a></li></ul> <h2 id="classes"><a href="#classes" class="header-anchor">#</a> Classes</h2> <ul><li><a href="/docs/latest/api/classes/Animation.html">Animation</a></li> <li><a href="/docs/latest/api/classes/Animations.html">Animations</a></li> <li><a href="/docs/latest/api/classes/Animator.html">Animator</a></li> <li><a href="/docs/latest/api/classes/ArcElement.html">ArcElement</a></li> <li><a href="/docs/latest/api/classes/BasePlatform.html">BasePlatform</a></li> <li><a href="/docs/latest/api/classes/BasicPlatform.html">BasicPlatform</a></li> <li><a href="/docs/latest/api/classes/Chart.html">Chart</a></li> <li><a href="/docs/latest/api/classes/DatasetController.html">DatasetController</a></li> <li><a href="/docs/latest/api/classes/DomPlatform.html">DomPlatform</a></li> <li><a href="/docs/latest/api/classes/PointElement.html">PointElement</a></li> <li><a href="/docs/latest/api/classes/Scale.html">Scale</a></li></ul> <h2 id="interfaces"><a href="#interfaces" class="header-anchor">#</a> Interfaces</h2> <ul><li><a href="/docs/latest/api/interfaces/ActiveDataPoint.html">ActiveDataPoint</a></li> <li><a href="/docs/latest/api/interfaces/ActiveElement.html">ActiveElement</a></li> <li><a href="/docs/latest/api/interfaces/AnimationEvent.html">AnimationEvent</a></li> <li><a href="/docs/latest/api/interfaces/ArcBorderRadius.html">ArcBorderRadius</a></li> <li><a href="/docs/latest/api/interfaces/ArcHoverOptions.html">ArcHoverOptions</a></li> <li><a href="/docs/latest/api/interfaces/ArcOptions.html">ArcOptions</a></li> <li><a href="/docs/latest/api/interfaces/ArcProps.html">ArcProps</a></li> <li><a href="/docs/latest/api/interfaces/BackdropOptions.html">BackdropOptions</a></li> <li><a href="/docs/latest/api/interfaces/BarControllerChartOptions.html">BarControllerChartOptions</a></li> <li><a href="/docs/latest/api/interfaces/BarControllerDatasetOptions.html">BarControllerDatasetOptions</a></li> <li><a href="/docs/latest/api/interfaces/BarElement.html">BarElement</a></li> <li><a href="/docs/latest/api/interfaces/BarHoverOptions.html">BarHoverOptions</a></li> <li><a href="/docs/latest/api/interfaces/BarOptions.html">BarOptions</a></li> <li><a href="/docs/latest/api/interfaces/BarParsedData.html">BarParsedData</a></li> <li><a href="/docs/latest/api/interfaces/BarProps.html">BarProps</a></li> <li><a href="/docs/latest/api/interfaces/BorderOptions.html">BorderOptions</a></li> <li><a href="/docs/latest/api/interfaces/BorderRadius.html">BorderRadius</a></li> <li><a href="/docs/latest/api/interfaces/BubbleControllerDatasetOptions.html">BubbleControllerDatasetOptions</a></li> <li><a href="/docs/latest/api/interfaces/BubbleDataPoint.html">BubbleDataPoint</a></li> <li><a href="/docs/latest/api/interfaces/BubbleParsedData.html">BubbleParsedData</a></li> <li><a href="/docs/latest/api/interfaces/CanvasFontSpec.html">CanvasFontSpec</a></li> <li><a href="/docs/latest/api/interfaces/CartesianParsedData.html">CartesianParsedData</a></li> <li><a href="/docs/latest/api/interfaces/CartesianScaleOptions.html">CartesianScaleOptions</a></li> <li><a href="/docs/latest/api/interfaces/CartesianScaleTypeRegistry.html">CartesianScaleTypeRegistry</a></li> <li><a href="/docs/latest/api/interfaces/ChartArea.html">ChartArea</a></li> <li><a href="/docs/latest/api/interfaces/ChartComponent.html">ChartComponent</a></li> <li><a href="/docs/latest/api/interfaces/ChartConfiguration.html">ChartConfiguration</a></li> <li><a href="/docs/latest/api/interfaces/ChartConfigurationCustomTypesPerDataset.html">ChartConfigurationCustomTypesPerDataset</a></li> <li><a href="/docs/latest/api/interfaces/ChartData.html">ChartData</a></li> <li><a href="/docs/latest/api/interfaces/ChartDataCustomTypesPerDataset.html">ChartDataCustomTypesPerDataset</a></li> <li><a href="/docs/latest/api/interfaces/ChartDatasetProperties.html">ChartDatasetProperties</a></li> <li><a href="/docs/latest/api/interfaces/ChartDatasetPropertiesCustomTypesPerDataset.html">ChartDatasetPropertiesCustomTypesPerDataset</a></li> <li><a href="/docs/latest/api/interfaces/ChartEvent.html">ChartEvent</a></li> <li><a href="/docs/latest/api/interfaces/ChartTypeRegistry.html">ChartTypeRegistry</a></li> <li><a href="/docs/latest/api/interfaces/CommonElementOptions.html">CommonElementOptions</a></li> <li><a href="/docs/latest/api/interfaces/CommonHoverOptions.html">CommonHoverOptions</a></li> <li><a href="/docs/latest/api/interfaces/ComplexFillTarget.html">ComplexFillTarget</a></li> <li><a href="/docs/latest/api/interfaces/ControllerDatasetOptions.html">ControllerDatasetOptions</a></li> <li><a href="/docs/latest/api/interfaces/CoreChartOptions.html">CoreChartOptions</a></li> <li><a href="/docs/latest/api/interfaces/CoreInteractionOptions.html">CoreInteractionOptions</a></li> <li><a href="/docs/latest/api/interfaces/CoreScaleOptions.html">CoreScaleOptions</a></li> <li><a href="/docs/latest/api/interfaces/DatasetControllerChartComponent.html">DatasetControllerChartComponent</a></li> <li><a href="/docs/latest/api/interfaces/Defaults.html">Defaults</a></li> <li><a href="/docs/latest/api/interfaces/DoughnutAnimationOptions.html">DoughnutAnimationOptions</a></li> <li><a href="/docs/latest/api/interfaces/DoughnutController.html">DoughnutController</a></li> <li><a href="/docs/latest/api/interfaces/DoughnutControllerChartOptions.html">DoughnutControllerChartOptions</a></li> <li><a href="/docs/latest/api/interfaces/DoughnutControllerDatasetOptions.html">DoughnutControllerDatasetOptions</a></li> <li><a href="/docs/latest/api/interfaces/DoughnutMetaExtensions.html">DoughnutMetaExtensions</a></li> <li><a href="/docs/latest/api/interfaces/ElementOptionsByType.html">ElementOptionsByType</a></li> <li><a href="/docs/latest/api/interfaces/ExtendedPlugin.html">ExtendedPlugin</a></li> <li><a href="/docs/latest/api/interfaces/FillerControllerDatasetOptions.html">FillerControllerDatasetOptions</a></li> <li><a href="/docs/latest/api/interfaces/FillerOptions.html">FillerOptions</a></li> <li><a href="/docs/latest/api/interfaces/FontSpec.html">FontSpec</a></li> <li><a href="/docs/latest/api/interfaces/GridLineOptions.html">GridLineOptions</a></li> <li><a href="/docs/latest/api/interfaces/InteractionItem.html">InteractionItem</a></li> <li><a href="/docs/latest/api/interfaces/InteractionModeMap.html">InteractionModeMap</a></li> <li><a href="/docs/latest/api/interfaces/InteractionOptions.html">InteractionOptions</a></li> <li><a href="/docs/latest/api/interfaces/LabelItem.html">LabelItem</a></li> <li><a href="/docs/latest/api/interfaces/LayoutItem.html">LayoutItem</a></li> <li><a href="/docs/latest/api/interfaces/LegendElement.html">LegendElement</a></li> <li><a href="/docs/latest/api/interfaces/LegendItem.html">LegendItem</a></li> <li><a href="/docs/latest/api/interfaces/LegendOptions.html">LegendOptions</a></li> <li><a href="/docs/latest/api/interfaces/LineControllerChartOptions.html">LineControllerChartOptions</a></li> <li><a href="/docs/latest/api/interfaces/LineControllerDatasetOptions.html">LineControllerDatasetOptions</a></li> <li><a href="/docs/latest/api/interfaces/LineElement.html">LineElement</a></li> <li><a href="/docs/latest/api/interfaces/LineHoverOptions.html">LineHoverOptions</a></li> <li><a href="/docs/latest/api/interfaces/LineOptions.html">LineOptions</a></li> <li><a href="/docs/latest/api/interfaces/LineProps.html">LineProps</a></li> <li><a href="/docs/latest/api/interfaces/ParsingOptions.html">ParsingOptions</a></li> <li><a href="/docs/latest/api/interfaces/Plugin.html">Plugin</a></li> <li><a href="/docs/latest/api/interfaces/PluginChartOptions.html">PluginChartOptions</a></li> <li><a href="/docs/latest/api/interfaces/PluginOptionsByType.html">PluginOptionsByType</a></li> <li><a href="/docs/latest/api/interfaces/Point.html">Point</a></li> <li><a href="/docs/latest/api/interfaces/PointHoverOptions.html">PointHoverOptions</a></li> <li><a href="/docs/latest/api/interfaces/PointOptions.html">PointOptions</a></li> <li><a href="/docs/latest/api/interfaces/PointPrefixedHoverOptions.html">PointPrefixedHoverOptions</a></li> <li><a href="/docs/latest/api/interfaces/PointPrefixedOptions.html">PointPrefixedOptions</a></li> <li><a href="/docs/latest/api/interfaces/PolarAreaController.html">PolarAreaController</a></li> <li><a href="/docs/latest/api/interfaces/PolarAreaControllerChartOptions.html">PolarAreaControllerChartOptions</a></li> <li><a href="/docs/latest/api/interfaces/PolarAreaControllerDatasetOptions.html">PolarAreaControllerDatasetOptions</a></li> <li><a href="/docs/latest/api/interfaces/RadarControllerDatasetOptions.html">RadarControllerDatasetOptions</a></li> <li><a href="/docs/latest/api/interfaces/RadialLinearScale.html">RadialLinearScale</a></li> <li><a href="/docs/latest/api/interfaces/RadialParsedData.html">RadialParsedData</a></li> <li><a href="/docs/latest/api/interfaces/RadialScaleTypeRegistry.html">RadialScaleTypeRegistry</a></li> <li><a href="/docs/latest/api/interfaces/Registry.html">Registry</a></li> <li><a href="/docs/latest/api/interfaces/RenderTextOpts.html">RenderTextOpts</a></li> <li><a href="/docs/latest/api/interfaces/ScaleTypeRegistry.html">ScaleTypeRegistry</a></li> <li><a href="/docs/latest/api/interfaces/ScriptableCartesianScaleContext.html">ScriptableCartesianScaleContext</a></li> <li><a href="/docs/latest/api/interfaces/ScriptableChartContext.html">ScriptableChartContext</a></li> <li><a href="/docs/latest/api/interfaces/ScriptableContext.html">ScriptableContext</a></li> <li><a href="/docs/latest/api/interfaces/ScriptableLineSegmentContext.html">ScriptableLineSegmentContext</a></li> <li><a href="/docs/latest/api/interfaces/ScriptableScaleContext.html">ScriptableScaleContext</a></li> <li><a href="/docs/latest/api/interfaces/ScriptableScalePointLabelContext.html">ScriptableScalePointLabelContext</a></li> <li><a href="/docs/latest/api/interfaces/ScriptableTooltipContext.html">ScriptableTooltipContext</a></li> <li><a href="/docs/latest/api/interfaces/Segment.html">Segment</a></li> <li><a href="/docs/latest/api/interfaces/Tick.html">Tick</a></li> <li><a href="/docs/latest/api/interfaces/TickOptions.html">TickOptions</a></li> <li><a href="/docs/latest/api/interfaces/TimeScale.html">TimeScale</a></li> <li><a href="/docs/latest/api/interfaces/TitleOptions.html">TitleOptions</a></li> <li><a href="/docs/latest/api/interfaces/Tooltip.html">Tooltip</a></li> <li><a href="/docs/latest/api/interfaces/TooltipCallbacks.html">TooltipCallbacks</a></li> <li><a href="/docs/latest/api/interfaces/TooltipItem.html">TooltipItem</a></li> <li><a href="/docs/latest/api/interfaces/TooltipLabelStyle.html">TooltipLabelStyle</a></li> <li><a href="/docs/latest/api/interfaces/TooltipModel.html">TooltipModel</a></li> <li><a href="/docs/latest/api/interfaces/TooltipOptions.html">TooltipOptions</a></li> <li><a href="/docs/latest/api/interfaces/TooltipPosition.html">TooltipPosition</a></li> <li><a href="/docs/latest/api/interfaces/TooltipPositionerMap.html">TooltipPositionerMap</a></li> <li><a href="/docs/latest/api/interfaces/TypedRegistry.html">TypedRegistry</a></li> <li><a href="/docs/latest/api/interfaces/VisualElement.html">VisualElement</a></li></ul> <h2 id="type-aliases"><a href="#type-aliases" class="header-anchor">#</a> Type Aliases</h2> <h3 id="align"><a href="#align" class="header-anchor">#</a> Align</h3> <p>Ƭ <strong>Align</strong>: <code>"start"</code> | <code>"center"</code> | <code>"end"</code></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/817bec0/src/types/index.d.ts#L1813" target="_blank" rel="noopener noreferrer">types/index.d.ts:1813<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="animationoptions"><a href="#animationoptions" class="header-anchor">#</a> AnimationOptions</h3> <p>Ƭ <strong>AnimationOptions</strong><<code>TType</code>>: <code>Object</code></p> <h4 id="type-parameters"><a href="#type-parameters" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <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>animation</code></td> <td style="text-align:left;"><code>false</code> | <a href="/docs/latest/api/#animationspec"><code>AnimationSpec</code></a><<code>TType</code>> & { <code>onComplete?</code>: (<code>this</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a>, <code>event</code>: <a href="/docs/latest/api/interfaces/AnimationEvent.html"><code>AnimationEvent</code></a>) => <code>void</code> ; <code>onProgress?</code>: (<code>this</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a>, <code>event</code>: <a href="/docs/latest/api/interfaces/AnimationEvent.html"><code>AnimationEvent</code></a>) => <code>void</code> }</td></tr> <tr><td style="text-align:left;"><code>animations</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#animationsspec"><code>AnimationsSpec</code></a><<code>TType</code>></td></tr> <tr><td style="text-align:left;"><code>transitions</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#transitionsspec"><code>TransitionsSpec</code></a><<code>TType</code>></td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L1766" target="_blank" rel="noopener noreferrer">types/index.d.ts:1766<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="animationspec"><a href="#animationspec" class="header-anchor">#</a> AnimationSpec</h3> <p>Ƭ <strong>AnimationSpec</strong><<code>TType</code>>: <code>Object</code></p> <h4 id="type-parameters-2"><a href="#type-parameters-2" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <h4 id="type-declaration-2"><a href="#type-declaration-2" 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>delay?</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>number</code>, <a href="/docs/latest/api/interfaces/ScriptableContext.html"><code>ScriptableContext</code></a><<code>TType</code>>></td> <td style="text-align:left;">Delay before starting the animations. <strong><code>Default</code></strong> 0</td></tr> <tr><td style="text-align:left;"><code>duration?</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>number</code>, <a href="/docs/latest/api/interfaces/ScriptableContext.html"><code>ScriptableContext</code></a><<code>TType</code>>></td> <td style="text-align:left;">The number of milliseconds an animation takes. <strong><code>Default</code></strong> 1000</td></tr> <tr><td style="text-align:left;"><code>easing?</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<a href="/docs/latest/api/#easingfunction"><code>EasingFunction</code></a>, <a href="/docs/latest/api/interfaces/ScriptableContext.html"><code>ScriptableContext</code></a><<code>TType</code>>></td> <td style="text-align:left;">Easing function to use <strong><code>Default</code></strong> 'easeOutQuart'</td></tr> <tr><td style="text-align:left;"><code>loop?</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>boolean</code>, <a href="/docs/latest/api/interfaces/ScriptableContext.html"><code>ScriptableContext</code></a><<code>TType</code>>></td> <td style="text-align:left;">If set to true, the animations loop endlessly. <strong><code>Default</code></strong> false</td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L1710" target="_blank" rel="noopener noreferrer">types/index.d.ts:1710<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="animationsspec"><a href="#animationsspec" class="header-anchor">#</a> AnimationsSpec</h3> <p>Ƭ <strong>AnimationsSpec</strong><<code>TType</code>>: <code>Object</code></p> <h4 id="type-parameters-3"><a href="#type-parameters-3" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <h4 id="index-signature"><a href="#index-signature" class="header-anchor">#</a> Index signature</h4> <p>▪ [name: <code>string</code>]: <code>false</code> | <a href="/docs/latest/api/#animationspec"><code>AnimationSpec</code></a><<code>TType</code>> & { <code>fn</code>: <T>(<code>from</code>: <code>T</code>, <code>to</code>: <code>T</code>, <code>factor</code>: <code>number</code>) => <code>T</code> ; <code>from</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<a href="/docs/latest/api/#color"><code>Color</code></a> | <code>number</code> | <code>boolean</code>, <a href="/docs/latest/api/interfaces/ScriptableContext.html"><code>ScriptableContext</code></a><<code>TType</code>>> ; <code>properties</code>: <code>string</code>[] ; <code>to</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<a href="/docs/latest/api/#color"><code>Color</code></a> | <code>number</code> | <code>boolean</code>, <a href="/docs/latest/api/interfaces/ScriptableContext.html"><code>ScriptableContext</code></a><<code>TType</code>>> ; <code>type</code>: <code>"color"</code> | <code>"number"</code> | <code>"boolean"</code> }</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/817bec0/src/types/index.d.ts#L1735" target="_blank" rel="noopener noreferrer">types/index.d.ts:1735<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="barcontroller"><a href="#barcontroller" class="header-anchor">#</a> BarController</h3> <p>Ƭ <strong>BarController</strong>: <a href="/docs/latest/api/classes/DatasetController.html"><code>DatasetController</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/817bec0/src/types/index.d.ts#L156" target="_blank" rel="noopener noreferrer">types/index.d.ts:156<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L157" target="_blank" rel="noopener noreferrer">types/index.d.ts:157<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="bubblecontroller"><a href="#bubblecontroller" class="header-anchor">#</a> BubbleController</h3> <p>Ƭ <strong>BubbleController</strong>: <a href="/docs/latest/api/classes/DatasetController.html"><code>DatasetController</code></a></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/817bec0/src/types/index.d.ts#L183" target="_blank" rel="noopener noreferrer">types/index.d.ts:183<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L184" target="_blank" rel="noopener noreferrer">types/index.d.ts:184<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="cartesiantickoptions"><a href="#cartesiantickoptions" class="header-anchor">#</a> CartesianTickOptions</h3> <p>Ƭ <strong>CartesianTickOptions</strong>: <a href="/docs/latest/api/interfaces/TickOptions.html"><code>TickOptions</code></a> & { <code>align</code>: <a href="/docs/latest/api/#align"><code>Align</code></a> | <code>"inner"</code> ; <code>autoSkip</code>: <code>boolean</code> ; <code>autoSkipPadding</code>: <code>number</code> ; <code>crossAlign</code>: <code>"near"</code> | <code>"center"</code> | <code>"far"</code> ; <code>includeBounds</code>: <code>boolean</code> ; <code>labelOffset</code>: <code>number</code> ; <code>maxRotation</code>: <code>number</code> ; <code>maxTicksLimit</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-7"><a href="#defined-in-7" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3106" target="_blank" rel="noopener noreferrer">types/index.d.ts:3106<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="categoryscale"><a href="#categoryscale" class="header-anchor">#</a> CategoryScale</h3> <p>Ƭ <strong>CategoryScale</strong><<code>O</code>>: <a href="/docs/latest/api/classes/Scale.html"><code>Scale</code></a><<code>O</code>></p> <h4 id="type-parameters-4"><a href="#type-parameters-4" class="header-anchor">#</a> Type 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>O</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#categoryscaleoptions"><code>CategoryScaleOptions</code></a> = <a href="/docs/latest/api/#categoryscaleoptions"><code>CategoryScaleOptions</code></a></td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L3273" target="_blank" rel="noopener noreferrer">types/index.d.ts:3273<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3274" target="_blank" rel="noopener noreferrer">types/index.d.ts:3274<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="categoryscaleoptions"><a href="#categoryscaleoptions" class="header-anchor">#</a> CategoryScaleOptions</h3> <p>Ƭ <strong>CategoryScaleOptions</strong>: <code>Omit</code><<a href="/docs/latest/api/interfaces/CartesianScaleOptions.html"><code>CartesianScaleOptions</code></a>, <code>"min"</code> | <code>"max"</code>> & { <code>labels</code>: <code>string</code>[] | <code>string</code>[][] ; <code>max</code>: <code>string</code> | <code>number</code> ; <code>min</code>: <code>string</code> | <code>number</code> }</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/817bec0/src/types/index.d.ts#L3267" target="_blank" rel="noopener noreferrer">types/index.d.ts:3267<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="chartcomponentlike"><a href="#chartcomponentlike" class="header-anchor">#</a> ChartComponentLike</h3> <p>Ƭ <strong>ChartComponentLike</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> | <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a>[] | { <code>[key: string]</code>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a>; } | <a href="/docs/latest/api/interfaces/Plugin.html"><code>Plugin</code></a> | <a href="/docs/latest/api/interfaces/Plugin.html"><code>Plugin</code></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/817bec0/src/types/index.d.ts#L1135" target="_blank" rel="noopener noreferrer">types/index.d.ts:1135<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="chartdataset"><a href="#chartdataset" class="header-anchor">#</a> ChartDataset</h3> <p>Ƭ <strong>ChartDataset</strong><<code>TType</code>, <code>TData</code>>: <code>DeepPartial</code><{ [key in ChartType]: Object & ChartTypeRegistry[key]["datasetOptions"] }[<code>TType</code>]> & <a href="/docs/latest/api/interfaces/ChartDatasetProperties.html"><code>ChartDatasetProperties</code></a><<code>TType</code>, <code>TData</code>></p> <h4 id="type-parameters-5"><a href="#type-parameters-5" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a> = <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr> <tr><td style="text-align:left;"><code>TData</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#defaultdatapoint"><code>DefaultDataPoint</code></a><<code>TType</code>></td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L3791" target="_blank" rel="noopener noreferrer">types/index.d.ts:3791<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="chartdatasetcustomtypesperdataset"><a href="#chartdatasetcustomtypesperdataset" class="header-anchor">#</a> ChartDatasetCustomTypesPerDataset</h3> <p>Ƭ <strong>ChartDatasetCustomTypesPerDataset</strong><<code>TType</code>, <code>TData</code>>: <code>DeepPartial</code><{ [key in ChartType]: Object & ChartTypeRegistry[key]["datasetOptions"] }[<code>TType</code>]> & <a href="/docs/latest/api/interfaces/ChartDatasetPropertiesCustomTypesPerDataset.html"><code>ChartDatasetPropertiesCustomTypesPerDataset</code></a><<code>TType</code>, <code>TData</code>></p> <h4 id="type-parameters-6"><a href="#type-parameters-6" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a> = <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr> <tr><td style="text-align:left;"><code>TData</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#defaultdatapoint"><code>DefaultDataPoint</code></a><<code>TType</code>></td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L3798" target="_blank" rel="noopener noreferrer">types/index.d.ts:3798<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="chartitem"><a href="#chartitem" class="header-anchor">#</a> ChartItem</h3> <p>Ƭ <strong>ChartItem</strong>: <code>string</code> | <code>CanvasRenderingContext2D</code> | <code>HTMLCanvasElement</code> | { <code>canvas</code>: <code>HTMLCanvasElement</code> } | <code>ArrayLike</code><<code>CanvasRenderingContext2D</code> | <code>HTMLCanvasElement</code>></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/817bec0/src/types/index.d.ts#L573" target="_blank" rel="noopener noreferrer">types/index.d.ts:573<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="chartmeta"><a href="#chartmeta" class="header-anchor">#</a> ChartMeta</h3> <p>Ƭ <strong>ChartMeta</strong><<code>TType</code>, <code>TElement</code>, <code>TDatasetElement</code>>: <code>DeepPartial</code><{ [key in ChartType]: ChartTypeRegistry[key]["metaExtensions"] }[<code>TType</code>]> & <code>ChartMetaCommon</code><<code>TElement</code>, <code>TDatasetElement</code>></p> <h4 id="type-parameters-7"><a href="#type-parameters-7" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a> = <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr> <tr><td style="text-align:left;"><code>TElement</code></td> <td style="text-align:left;">extends <code>Element</code> = <code>Element</code></td></tr> <tr><td style="text-align:left;"><code>TDatasetElement</code></td> <td style="text-align:left;">extends <code>Element</code> = <code>Element</code></td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L477" target="_blank" rel="noopener noreferrer">types/index.d.ts:477<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="chartoptions"><a href="#chartoptions" class="header-anchor">#</a> ChartOptions</h3> <p>Ƭ <strong>ChartOptions</strong><<code>TType</code>>: <code>Exclude</code><<code>DeepPartial</code><<a href="/docs/latest/api/interfaces/CoreChartOptions.html"><code>CoreChartOptions</code></a><<code>TType</code>> & <a href="/docs/latest/api/#elementchartoptions"><code>ElementChartOptions</code></a><<code>TType</code>> & <a href="/docs/latest/api/interfaces/PluginChartOptions.html"><code>PluginChartOptions</code></a><<code>TType</code>> & <a href="/docs/latest/api/#datasetchartoptions"><code>DatasetChartOptions</code></a><<code>TType</code>> & <a href="/docs/latest/api/#scalechartoptions"><code>ScaleChartOptions</code></a><<code>TType</code>> & <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>[<code>TType</code>][<code>"chartOptions"</code>]>, <code>DeepPartial</code><<code>unknown</code>[]>></p> <h4 id="type-parameters-8"><a href="#type-parameters-8" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a> = <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></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/817bec0/src/types/index.d.ts#L3765" target="_blank" rel="noopener noreferrer">types/index.d.ts:3765<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="charttype"><a href="#charttype" class="header-anchor">#</a> ChartType</h3> <p>Ƭ <strong>ChartType</strong>: keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></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/817bec0/src/types/index.d.ts#L3744" target="_blank" rel="noopener noreferrer">types/index.d.ts:3744<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="color"><a href="#color" class="header-anchor">#</a> Color</h3> <p>Ƭ <strong>Color</strong>: <code>string</code> | <code>CanvasGradient</code> | <code>CanvasPattern</code></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/817bec0/src/types/color.d.ts#L1" target="_blank" rel="noopener noreferrer">types/color.d.ts:1<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="datasetchartoptions"><a href="#datasetchartoptions" class="header-anchor">#</a> DatasetChartOptions</h3> <p>Ƭ <strong>DatasetChartOptions</strong><<code>TType</code>>: { [key in TType]: Object }</p> <h4 id="type-parameters-9"><a href="#type-parameters-9" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a> = <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L3753" target="_blank" rel="noopener noreferrer">types/index.d.ts:3753<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="decimationoptions"><a href="#decimationoptions" class="header-anchor">#</a> DecimationOptions</h3> <p>Ƭ <strong>DecimationOptions</strong>: <code>LttbDecimationOptions</code> | <code>MinMaxDecimationOptions</code></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/817bec0/src/types/index.d.ts#L2240" target="_blank" rel="noopener noreferrer">types/index.d.ts:2240<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="defaultdatapoint"><a href="#defaultdatapoint" class="header-anchor">#</a> DefaultDataPoint</h3> <p>Ƭ <strong>DefaultDataPoint</strong><<code>TType</code>>: <code>DistributiveArray</code><<a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>[<code>TType</code>][<code>"defaultDataPoint"</code>]></p> <h4 id="type-parameters-10"><a href="#type-parameters-10" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L3777" target="_blank" rel="noopener noreferrer">types/index.d.ts:3777<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="doughnutdatapoint"><a href="#doughnutdatapoint" class="header-anchor">#</a> DoughnutDataPoint</h3> <p>Ƭ <strong>DoughnutDataPoint</strong>: <code>number</code></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/817bec0/src/types/index.d.ts#L338" target="_blank" rel="noopener noreferrer">types/index.d.ts:338<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="easingfunction"><a href="#easingfunction" class="header-anchor">#</a> EasingFunction</h3> <p>Ƭ <strong>EasingFunction</strong>: keyof typeof <code>effects</code></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/817bec0/src/helpers/helpers.easing.ts#L122" target="_blank" rel="noopener noreferrer">helpers/helpers.easing.ts:122<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="elementchartoptions"><a href="#elementchartoptions" class="header-anchor">#</a> ElementChartOptions</h3> <p>Ƭ <strong>ElementChartOptions</strong><<code>TType</code>>: <code>Object</code></p> <h4 id="type-parameters-11"><a href="#type-parameters-11" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a> = <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <h4 id="type-declaration-3"><a href="#type-declaration-3" 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>elements</code></td> <td style="text-align:left;"><a href="/docs/latest/api/interfaces/ElementOptionsByType.html"><code>ElementOptionsByType</code></a><<code>TType</code>></td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L2156" target="_blank" rel="noopener noreferrer">types/index.d.ts:2156<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="filltarget"><a href="#filltarget" class="header-anchor">#</a> FillTarget</h3> <p>Ƭ <strong>FillTarget</strong>: <code>number</code> | <code>string</code> | { <code>value</code>: <code>number</code> } | <code>"start"</code> | <code>"end"</code> | <code>"origin"</code> | <code>"stack"</code> | <code>"shape"</code> | <code>boolean</code></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/817bec0/src/types/index.d.ts#L2248" target="_blank" rel="noopener noreferrer">types/index.d.ts:2248<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="interactionaxis"><a href="#interactionaxis" class="header-anchor">#</a> InteractionAxis</h3> <p>Ƭ <strong>InteractionAxis</strong>: <code>"x"</code> | <code>"y"</code> | <code>"xy"</code> | <code>"r"</code></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/817bec0/src/types/index.d.ts#L1572" target="_blank" rel="noopener noreferrer">types/index.d.ts:1572<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="interactionmode"><a href="#interactionmode" class="header-anchor">#</a> InteractionMode</h3> <p>Ƭ <strong>InteractionMode</strong>: keyof <a href="/docs/latest/api/interfaces/InteractionModeMap.html"><code>InteractionModeMap</code></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/817bec0/src/types/index.d.ts#L771" target="_blank" rel="noopener noreferrer">types/index.d.ts:771<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="interactionmodefunction"><a href="#interactionmodefunction" class="header-anchor">#</a> InteractionModeFunction</h3> <p>Ƭ <strong>InteractionModeFunction</strong>: (<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a>, <code>e</code>: <a href="/docs/latest/api/interfaces/ChartEvent.html"><code>ChartEvent</code></a>, <code>options</code>: <a href="/docs/latest/api/interfaces/InteractionOptions.html"><code>InteractionOptions</code></a>, <code>useFinalPosition?</code>: <code>boolean</code>) => <a href="/docs/latest/api/interfaces/InteractionItem.html"><code>InteractionItem</code></a>[]</p> <h4 id="type-declaration-4"><a href="#type-declaration-4" class="header-anchor">#</a> Type declaration</h4> <p>▸ (<code>chart</code>, <code>e</code>, <code>options</code>, <code>useFinalPosition?</code>): <a href="/docs/latest/api/interfaces/InteractionItem.html"><code>InteractionItem</code></a>[]</p> <h5 id="parameters"><a href="#parameters" class="header-anchor">#</a> Parameters</h5> <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>chart</code></td> <td style="text-align:left;"><a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a></td></tr> <tr><td style="text-align:left;"><code>e</code></td> <td style="text-align:left;"><a href="/docs/latest/api/interfaces/ChartEvent.html"><code>ChartEvent</code></a></td></tr> <tr><td style="text-align:left;"><code>options</code></td> <td style="text-align:left;"><a href="/docs/latest/api/interfaces/InteractionOptions.html"><code>InteractionOptions</code></a></td></tr> <tr><td style="text-align:left;"><code>useFinalPosition?</code></td> <td style="text-align:left;"><code>boolean</code></td></tr></tbody></table> <h5 id="returns"><a href="#returns" class="header-anchor">#</a> Returns</h5> <p><a href="/docs/latest/api/interfaces/InteractionItem.html"><code>InteractionItem</code></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/817bec0/src/types/index.d.ts#L733" target="_blank" rel="noopener noreferrer">types/index.d.ts:733<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="layoutposition"><a href="#layoutposition" class="header-anchor">#</a> LayoutPosition</h3> <p>Ƭ <strong>LayoutPosition</strong>: <code>"left"</code> | <code>"top"</code> | <code>"right"</code> | <code>"bottom"</code> | <code>"center"</code> | <code>"chartArea"</code> | { <code>[scaleId: string]</code>: <code>number</code>; }</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/817bec0/src/types/layout.d.ts#L3" target="_blank" rel="noopener noreferrer">types/layout.d.ts:3<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="linecontroller"><a href="#linecontroller" class="header-anchor">#</a> LineController</h3> <p>Ƭ <strong>LineController</strong>: <a href="/docs/latest/api/classes/DatasetController.html"><code>DatasetController</code></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/817bec0/src/types/index.d.ts#L229" target="_blank" rel="noopener noreferrer">types/index.d.ts:229<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L230" target="_blank" rel="noopener noreferrer">types/index.d.ts:230<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="linearscale"><a href="#linearscale" class="header-anchor">#</a> LinearScale</h3> <p>Ƭ <strong>LinearScale</strong><<code>O</code>>: <a href="/docs/latest/api/classes/Scale.html"><code>Scale</code></a><<code>O</code>></p> <h4 id="type-parameters-12"><a href="#type-parameters-12" class="header-anchor">#</a> Type 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>O</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#linearscaleoptions"><code>LinearScaleOptions</code></a> = <a href="/docs/latest/api/#linearscaleoptions"><code>LinearScaleOptions</code></a></td></tr></tbody></table> <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/817bec0/src/types/index.d.ts#L3322" target="_blank" rel="noopener noreferrer">types/index.d.ts:3322<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3323" target="_blank" rel="noopener noreferrer">types/index.d.ts:3323<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="linearscaleoptions"><a href="#linearscaleoptions" class="header-anchor">#</a> LinearScaleOptions</h3> <p>Ƭ <strong>LinearScaleOptions</strong>: <a href="/docs/latest/api/interfaces/CartesianScaleOptions.html"><code>CartesianScaleOptions</code></a> & { <code>beginAtZero</code>: <code>boolean</code> ; <code>grace?</code>: <code>string</code> | <code>number</code> ; <code>suggestedMax?</code>: <code>number</code> ; <code>suggestedMin?</code>: <code>number</code> ; <code>ticks</code>: { <code>count</code>: <code>number</code> ; <code>format</code>: <code>Intl.NumberFormatOptions</code> ; <code>precision</code>: <code>number</code> ; <code>stepSize</code>: <code>number</code> } }</p> <h4 id="defined-in-31"><a href="#defined-in-31" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3279" target="_blank" rel="noopener noreferrer">types/index.d.ts:3279<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="logarithmicscale"><a href="#logarithmicscale" class="header-anchor">#</a> LogarithmicScale</h3> <p>Ƭ <strong>LogarithmicScale</strong><<code>O</code>>: <a href="/docs/latest/api/classes/Scale.html"><code>Scale</code></a><<code>O</code>></p> <h4 id="type-parameters-13"><a href="#type-parameters-13" class="header-anchor">#</a> Type 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>O</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#logarithmicscaleoptions"><code>LogarithmicScaleOptions</code></a> = <a href="/docs/latest/api/#logarithmicscaleoptions"><code>LogarithmicScaleOptions</code></a></td></tr></tbody></table> <h4 id="defined-in-32"><a href="#defined-in-32" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3346" target="_blank" rel="noopener noreferrer">types/index.d.ts:3346<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3347" target="_blank" rel="noopener noreferrer">types/index.d.ts:3347<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="logarithmicscaleoptions"><a href="#logarithmicscaleoptions" class="header-anchor">#</a> LogarithmicScaleOptions</h3> <p>Ƭ <strong>LogarithmicScaleOptions</strong>: <a href="/docs/latest/api/interfaces/CartesianScaleOptions.html"><code>CartesianScaleOptions</code></a> & { <code>suggestedMax?</code>: <code>number</code> ; <code>suggestedMin?</code>: <code>number</code> ; <code>ticks</code>: { <code>format</code>: <code>Intl.NumberFormatOptions</code> } }</p> <h4 id="defined-in-33"><a href="#defined-in-33" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3328" target="_blank" rel="noopener noreferrer">types/index.d.ts:3328<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="overrides"><a href="#overrides" class="header-anchor">#</a> Overrides</h3> <p>Ƭ <strong>Overrides</strong>: { [key in ChartType]: CoreChartOptions<key> & ElementChartOptions<key> & PluginChartOptions<key> & DatasetChartOptions<ChartType> & ScaleChartOptions<key> & ChartTypeRegistry[key]["chartOptions"] }</p> <h4 id="defined-in-34"><a href="#defined-in-34" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L710" target="_blank" rel="noopener noreferrer">types/index.d.ts:710<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="parseddatatype"><a href="#parseddatatype" class="header-anchor">#</a> ParsedDataType</h3> <p>Ƭ <strong>ParsedDataType</strong><<code>TType</code>>: <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>[<code>TType</code>][<code>"parsedDataType"</code>]</p> <h4 id="type-parameters-14"><a href="#type-parameters-14" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a> = <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <h4 id="defined-in-35"><a href="#defined-in-35" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3779" target="_blank" rel="noopener noreferrer">types/index.d.ts:3779<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="pieanimationoptions"><a href="#pieanimationoptions" class="header-anchor">#</a> PieAnimationOptions</h3> <p>Ƭ <strong>PieAnimationOptions</strong>: <a href="/docs/latest/api/interfaces/DoughnutAnimationOptions.html"><code>DoughnutAnimationOptions</code></a></p> <h4 id="defined-in-36"><a href="#defined-in-36" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L361" target="_blank" rel="noopener noreferrer">types/index.d.ts:361<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="piecontroller"><a href="#piecontroller" class="header-anchor">#</a> PieController</h3> <p>Ƭ <strong>PieController</strong>: <a href="/docs/latest/api/#doughnutcontroller"><code>DoughnutController</code></a></p> <h4 id="defined-in-37"><a href="#defined-in-37" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L366" target="_blank" rel="noopener noreferrer">types/index.d.ts:366<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L367" target="_blank" rel="noopener noreferrer">types/index.d.ts:367<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="piecontrollerchartoptions"><a href="#piecontrollerchartoptions" class="header-anchor">#</a> PieControllerChartOptions</h3> <p>Ƭ <strong>PieControllerChartOptions</strong>: <a href="/docs/latest/api/interfaces/DoughnutControllerChartOptions.html"><code>DoughnutControllerChartOptions</code></a></p> <h4 id="defined-in-38"><a href="#defined-in-38" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L360" target="_blank" rel="noopener noreferrer">types/index.d.ts:360<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="piecontrollerdatasetoptions"><a href="#piecontrollerdatasetoptions" class="header-anchor">#</a> PieControllerDatasetOptions</h3> <p>Ƭ <strong>PieControllerDatasetOptions</strong>: <a href="/docs/latest/api/interfaces/DoughnutControllerDatasetOptions.html"><code>DoughnutControllerDatasetOptions</code></a></p> <h4 id="defined-in-39"><a href="#defined-in-39" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L359" target="_blank" rel="noopener noreferrer">types/index.d.ts:359<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="piedatapoint"><a href="#piedatapoint" class="header-anchor">#</a> PieDataPoint</h3> <p>Ƭ <strong>PieDataPoint</strong>: <a href="/docs/latest/api/#doughnutdatapoint"><code>DoughnutDataPoint</code></a></p> <h4 id="defined-in-40"><a href="#defined-in-40" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L363" target="_blank" rel="noopener noreferrer">types/index.d.ts:363<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="piemetaextensions"><a href="#piemetaextensions" class="header-anchor">#</a> PieMetaExtensions</h3> <p>Ƭ <strong>PieMetaExtensions</strong>: <a href="/docs/latest/api/interfaces/DoughnutMetaExtensions.html"><code>DoughnutMetaExtensions</code></a></p> <h4 id="defined-in-41"><a href="#defined-in-41" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L364" target="_blank" rel="noopener noreferrer">types/index.d.ts:364<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="pointprops"><a href="#pointprops" class="header-anchor">#</a> PointProps</h3> <p>Ƭ <strong>PointProps</strong>: <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a></p> <h4 id="defined-in-42"><a href="#defined-in-42" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/elements/element.point.ts#L18" target="_blank" rel="noopener noreferrer">elements/element.point.ts:18<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="pointstyle"><a href="#pointstyle" class="header-anchor">#</a> PointStyle</h3> <p>Ƭ <strong>PointStyle</strong>: <code>"circle"</code> | <code>"cross"</code> | <code>"crossRot"</code> | <code>"dash"</code> | <code>"line"</code> | <code>"rect"</code> | <code>"rectRounded"</code> | <code>"rectRot"</code> | <code>"star"</code> | <code>"triangle"</code> | <code>false</code> | <code>HTMLImageElement</code> | <code>HTMLCanvasElement</code></p> <h4 id="defined-in-43"><a href="#defined-in-43" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L1988" target="_blank" rel="noopener noreferrer">types/index.d.ts:1988<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="polarareaanimationoptions"><a href="#polarareaanimationoptions" class="header-anchor">#</a> PolarAreaAnimationOptions</h3> <p>Ƭ <strong>PolarAreaAnimationOptions</strong>: <a href="/docs/latest/api/interfaces/DoughnutAnimationOptions.html"><code>DoughnutAnimationOptions</code></a></p> <h4 id="defined-in-44"><a href="#defined-in-44" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L380" target="_blank" rel="noopener noreferrer">types/index.d.ts:380<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="radarcontroller"><a href="#radarcontroller" class="header-anchor">#</a> RadarController</h3> <p>Ƭ <strong>RadarController</strong>: <a href="/docs/latest/api/classes/DatasetController.html"><code>DatasetController</code></a></p> <h4 id="defined-in-45"><a href="#defined-in-45" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L427" target="_blank" rel="noopener noreferrer">types/index.d.ts:427<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L428" target="_blank" rel="noopener noreferrer">types/index.d.ts:428<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="radarcontrollerchartoptions"><a href="#radarcontrollerchartoptions" class="header-anchor">#</a> RadarControllerChartOptions</h3> <p>Ƭ <strong>RadarControllerChartOptions</strong>: <a href="/docs/latest/api/interfaces/LineControllerChartOptions.html"><code>LineControllerChartOptions</code></a></p> <h4 id="defined-in-46"><a href="#defined-in-46" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L425" target="_blank" rel="noopener noreferrer">types/index.d.ts:425<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="radiallinearscaleoptions"><a href="#radiallinearscaleoptions" class="header-anchor">#</a> RadialLinearScaleOptions</h3> <p>Ƭ <strong>RadialLinearScaleOptions</strong>: <a href="/docs/latest/api/interfaces/CoreScaleOptions.html"><code>CoreScaleOptions</code></a> & { <code>angleLines</code>: { <code>borderDash</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>number</code>[], <a href="/docs/latest/api/interfaces/ScriptableScaleContext.html"><code>ScriptableScaleContext</code></a>> ; <code>borderDashOffset</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>number</code>, <a href="/docs/latest/api/interfaces/ScriptableScaleContext.html"><code>ScriptableScaleContext</code></a>> ; <code>color</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<a href="/docs/latest/api/#color"><code>Color</code></a>, <a href="/docs/latest/api/interfaces/ScriptableScaleContext.html"><code>ScriptableScaleContext</code></a>> ; <code>display</code>: <code>boolean</code> ; <code>lineWidth</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>number</code>, <a href="/docs/latest/api/interfaces/ScriptableScaleContext.html"><code>ScriptableScaleContext</code></a>> } ; <code>animate</code>: <code>boolean</code> ; <code>beginAtZero</code>: <code>boolean</code> ; <code>grid</code>: <code>Partial</code><<a href="/docs/latest/api/interfaces/GridLineOptions.html"><code>GridLineOptions</code></a>> ; <code>max</code>: <code>number</code> ; <code>min</code>: <code>number</code> ; <code>pointLabels</code>: { <code>backdropColor</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<a href="/docs/latest/api/#color"><code>Color</code></a>, <a href="/docs/latest/api/interfaces/ScriptableScalePointLabelContext.html"><code>ScriptableScalePointLabelContext</code></a>> ; <code>backdropPadding</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>number</code> | <a href="/docs/latest/api/interfaces/ChartArea.html"><code>ChartArea</code></a>, <a href="/docs/latest/api/interfaces/ScriptableScalePointLabelContext.html"><code>ScriptableScalePointLabelContext</code></a>> ; <code>borderRadius</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>number</code> | <a href="/docs/latest/api/interfaces/BorderRadius.html"><code>BorderRadius</code></a>, <a href="/docs/latest/api/interfaces/ScriptableScalePointLabelContext.html"><code>ScriptableScalePointLabelContext</code></a>> ; <code>callback</code>: (<code>label</code>: <code>string</code>, <code>index</code>: <code>number</code>) => <code>string</code> | <code>string</code>[] | <code>number</code> | <code>number</code>[] ; <code>centerPointLabels</code>: <code>boolean</code> ; <code>color</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<a href="/docs/latest/api/#color"><code>Color</code></a>, <a href="/docs/latest/api/interfaces/ScriptableScalePointLabelContext.html"><code>ScriptableScalePointLabelContext</code></a>> ; <code>display</code>: <code>boolean</code> | <code>"auto"</code> ; <code>font</code>: <a href="/docs/latest/api/#scriptableandscriptableoptions"><code>ScriptableAndScriptableOptions</code></a><<code>Partial</code><<a href="/docs/latest/api/interfaces/FontSpec.html"><code>FontSpec</code></a>>, <a href="/docs/latest/api/interfaces/ScriptableScalePointLabelContext.html"><code>ScriptableScalePointLabelContext</code></a>> ; <code>padding</code>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>number</code>, <a href="/docs/latest/api/interfaces/ScriptableScalePointLabelContext.html"><code>ScriptableScalePointLabelContext</code></a>> } ; <code>startAngle</code>: <code>number</code> ; <code>suggestedMax</code>: <code>number</code> ; <code>suggestedMin</code>: <code>number</code> ; <code>ticks</code>: <a href="/docs/latest/api/#radialtickoptions"><code>RadialTickOptions</code></a> }</p> <h4 id="defined-in-47"><a href="#defined-in-47" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3486" target="_blank" rel="noopener noreferrer">types/index.d.ts:3486<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="radialtickoptions"><a href="#radialtickoptions" class="header-anchor">#</a> RadialTickOptions</h3> <p>Ƭ <strong>RadialTickOptions</strong>: <a href="/docs/latest/api/interfaces/TickOptions.html"><code>TickOptions</code></a> & { <code>count</code>: <code>number</code> ; <code>format</code>: <code>Intl.NumberFormatOptions</code> ; <code>maxTicksLimit</code>: <code>number</code> ; <code>precision</code>: <code>number</code> ; <code>stepSize</code>: <code>number</code> }</p> <h4 id="defined-in-48"><a href="#defined-in-48" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3458" target="_blank" rel="noopener noreferrer">types/index.d.ts:3458<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="scalechartoptions"><a href="#scalechartoptions" class="header-anchor">#</a> ScaleChartOptions</h3> <p>Ƭ <strong>ScaleChartOptions</strong><<code>TType</code>>: <code>Object</code></p> <h4 id="type-parameters-15"><a href="#type-parameters-15" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a> = <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <h4 id="type-declaration-5"><a href="#type-declaration-5" 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>scales</code></td> <td style="text-align:left;">{ <code>[key: string]</code>: <a href="/docs/latest/api/#scaleoptionsbytype"><code>ScaleOptionsByType</code></a><<a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>[<code>TType</code>][<code>"scales"</code>]>; }</td></tr></tbody></table> <h4 id="defined-in-49"><a href="#defined-in-49" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3759" target="_blank" rel="noopener noreferrer">types/index.d.ts:3759<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="scaleoptions"><a href="#scaleoptions" class="header-anchor">#</a> ScaleOptions</h3> <p>Ƭ <strong>ScaleOptions</strong><<code>TScale</code>>: <code>DeepPartial</code><<a href="/docs/latest/api/#scaleoptionsbytype"><code>ScaleOptionsByType</code></a><<code>TScale</code>>></p> <h4 id="type-parameters-16"><a href="#type-parameters-16" class="header-anchor">#</a> Type 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>TScale</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#scaletype"><code>ScaleType</code></a> = <a href="/docs/latest/api/#scaletype"><code>ScaleType</code></a></td></tr></tbody></table> <h4 id="defined-in-50"><a href="#defined-in-50" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3751" target="_blank" rel="noopener noreferrer">types/index.d.ts:3751<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="scaleoptionsbytype"><a href="#scaleoptionsbytype" class="header-anchor">#</a> ScaleOptionsByType</h3> <p>Ƭ <strong>ScaleOptionsByType</strong><<code>TScale</code>>: { [key in ScaleType]: Object & ScaleTypeRegistry[key]["options"] }[<code>TScale</code>]</p> <h4 id="type-parameters-17"><a href="#type-parameters-17" class="header-anchor">#</a> Type 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>TScale</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#scaletype"><code>ScaleType</code></a> = <a href="/docs/latest/api/#scaletype"><code>ScaleType</code></a></td></tr></tbody></table> <h4 id="defined-in-51"><a href="#defined-in-51" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3746" target="_blank" rel="noopener noreferrer">types/index.d.ts:3746<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="scaletype"><a href="#scaletype" class="header-anchor">#</a> ScaleType</h3> <p>Ƭ <strong>ScaleType</strong>: keyof <a href="/docs/latest/api/interfaces/ScaleTypeRegistry.html"><code>ScaleTypeRegistry</code></a></p> <h4 id="defined-in-52"><a href="#defined-in-52" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3643" target="_blank" rel="noopener noreferrer">types/index.d.ts:3643<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="scattercontroller"><a href="#scattercontroller" class="header-anchor">#</a> ScatterController</h3> <p>Ƭ <strong>ScatterController</strong>: <a href="/docs/latest/api/#linecontroller-1"><code>LineController</code></a></p> <h4 id="defined-in-53"><a href="#defined-in-53" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L241" target="_blank" rel="noopener noreferrer">types/index.d.ts:241<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L242" target="_blank" rel="noopener noreferrer">types/index.d.ts:242<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="scattercontrollerchartoptions"><a href="#scattercontrollerchartoptions" class="header-anchor">#</a> ScatterControllerChartOptions</h3> <p>Ƭ <strong>ScatterControllerChartOptions</strong>: <a href="/docs/latest/api/interfaces/LineControllerChartOptions.html"><code>LineControllerChartOptions</code></a></p> <h4 id="defined-in-54"><a href="#defined-in-54" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L239" target="_blank" rel="noopener noreferrer">types/index.d.ts:239<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="scattercontrollerdatasetoptions"><a href="#scattercontrollerdatasetoptions" class="header-anchor">#</a> ScatterControllerDatasetOptions</h3> <p>Ƭ <strong>ScatterControllerDatasetOptions</strong>: <a href="/docs/latest/api/interfaces/LineControllerDatasetOptions.html"><code>LineControllerDatasetOptions</code></a></p> <h4 id="defined-in-55"><a href="#defined-in-55" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L235" target="_blank" rel="noopener noreferrer">types/index.d.ts:235<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="scatterdatapoint"><a href="#scatterdatapoint" class="header-anchor">#</a> ScatterDataPoint</h3> <p>Ƭ <strong>ScatterDataPoint</strong>: <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a></p> <h4 id="defined-in-56"><a href="#defined-in-56" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L237" target="_blank" rel="noopener noreferrer">types/index.d.ts:237<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="scriptable"><a href="#scriptable" class="header-anchor">#</a> Scriptable</h3> <p>Ƭ <strong>Scriptable</strong><<code>T</code>, <code>TContext</code>>: <code>T</code> | (<code>ctx</code>: <code>TContext</code>, <code>options</code>: <code>AnyObject</code>) => <code>T</code> | <code>undefined</code></p> <h4 id="type-parameters-18"><a href="#type-parameters-18" class="header-anchor">#</a> Type parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>T</code></td></tr> <tr><td style="text-align:left;"><code>TContext</code></td></tr></tbody></table> <h4 id="defined-in-57"><a href="#defined-in-57" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L44" target="_blank" rel="noopener noreferrer">types/index.d.ts:44<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="scriptableandarray"><a href="#scriptableandarray" class="header-anchor">#</a> ScriptableAndArray</h3> <p>Ƭ <strong>ScriptableAndArray</strong><<code>T</code>, <code>TContext</code>>: readonly <code>T</code>[] | <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>T</code>, <code>TContext</code>></p> <h4 id="type-parameters-19"><a href="#type-parameters-19" class="header-anchor">#</a> Type parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>T</code></td></tr> <tr><td style="text-align:left;"><code>TContext</code></td></tr></tbody></table> <h4 id="defined-in-58"><a href="#defined-in-58" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L47" target="_blank" rel="noopener noreferrer">types/index.d.ts:47<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="scriptableandarrayoptions"><a href="#scriptableandarrayoptions" class="header-anchor">#</a> ScriptableAndArrayOptions</h3> <p>Ƭ <strong>ScriptableAndArrayOptions</strong><<code>T</code>, <code>TContext</code>>: { [P in keyof T]: ScriptableAndArray<T[P], TContext> }</p> <h4 id="type-parameters-20"><a href="#type-parameters-20" class="header-anchor">#</a> Type parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>T</code></td></tr> <tr><td style="text-align:left;"><code>TContext</code></td></tr></tbody></table> <h4 id="defined-in-59"><a href="#defined-in-59" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L48" target="_blank" rel="noopener noreferrer">types/index.d.ts:48<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="scriptableandscriptableoptions"><a href="#scriptableandscriptableoptions" class="header-anchor">#</a> ScriptableAndScriptableOptions</h3> <p>Ƭ <strong>ScriptableAndScriptableOptions</strong><<code>T</code>, <code>TContext</code>>: <a href="/docs/latest/api/#scriptable"><code>Scriptable</code></a><<code>T</code>, <code>TContext</code>> | <a href="/docs/latest/api/#scriptableoptions"><code>ScriptableOptions</code></a><<code>T</code>, <code>TContext</code>></p> <h4 id="type-parameters-21"><a href="#type-parameters-21" class="header-anchor">#</a> Type parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>T</code></td></tr> <tr><td style="text-align:left;"><code>TContext</code></td></tr></tbody></table> <h4 id="defined-in-60"><a href="#defined-in-60" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L46" target="_blank" rel="noopener noreferrer">types/index.d.ts:46<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="scriptableoptions"><a href="#scriptableoptions" class="header-anchor">#</a> ScriptableOptions</h3> <p>Ƭ <strong>ScriptableOptions</strong><<code>T</code>, <code>TContext</code>>: { [P in keyof T]: Scriptable<T[P], TContext> }</p> <h4 id="type-parameters-22"><a href="#type-parameters-22" class="header-anchor">#</a> Type parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>T</code></td></tr> <tr><td style="text-align:left;"><code>TContext</code></td></tr></tbody></table> <h4 id="defined-in-61"><a href="#defined-in-61" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L45" target="_blank" rel="noopener noreferrer">types/index.d.ts:45<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="trbl"><a href="#trbl" class="header-anchor">#</a> TRBL</h3> <p>Ƭ <strong>TRBL</strong>: <code>Object</code></p> <h4 id="type-declaration-6"><a href="#type-declaration-6" 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>bottom</code></td> <td style="text-align:left;"><code>number</code></td></tr> <tr><td style="text-align:left;"><code>left</code></td> <td style="text-align:left;"><code>number</code></td></tr> <tr><td style="text-align:left;"><code>right</code></td> <td style="text-align:left;"><code>number</code></td></tr> <tr><td style="text-align:left;"><code>top</code></td> <td style="text-align:left;"><code>number</code></td></tr></tbody></table> <h4 id="defined-in-62"><a href="#defined-in-62" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/geometric.d.ts#L15" target="_blank" rel="noopener noreferrer">types/geometric.d.ts:15<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="textalign"><a href="#textalign" class="header-anchor">#</a> TextAlign</h3> <p>Ƭ <strong>TextAlign</strong>: <code>"left"</code> | <code>"center"</code> | <code>"right"</code></p> <h4 id="defined-in-63"><a href="#defined-in-63" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L1812" target="_blank" rel="noopener noreferrer">types/index.d.ts:1812<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="timescaleoptions"><a href="#timescaleoptions" class="header-anchor">#</a> TimeScaleOptions</h3> <p>Ƭ <strong>TimeScaleOptions</strong>: <code>Omit</code><<a href="/docs/latest/api/interfaces/CartesianScaleOptions.html"><code>CartesianScaleOptions</code></a>, <code>"min"</code> | <code>"max"</code>> & { <code>adapters</code>: { <code>date</code>: <code>unknown</code> } ; <code>bounds</code>: <code>"ticks"</code> | <code>"data"</code> ; <code>max</code>: <code>string</code> | <code>number</code> ; <code>min</code>: <code>string</code> | <code>number</code> ; <code>offsetAfterAutoskip</code>: <code>boolean</code> ; <code>suggestedMax</code>: <code>string</code> | <code>number</code> ; <code>suggestedMin</code>: <code>string</code> | <code>number</code> ; <code>ticks</code>: <a href="/docs/latest/api/#timescaletickoptions"><code>TimeScaleTickOptions</code></a> ; <code>time</code>: <a href="/docs/latest/api/#timescaletimeoptions"><code>TimeScaleTimeOptions</code></a> }</p> <h4 id="defined-in-64"><a href="#defined-in-64" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3407" target="_blank" rel="noopener noreferrer">types/index.d.ts:3407<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="timescaletickoptions"><a href="#timescaletickoptions" class="header-anchor">#</a> TimeScaleTickOptions</h3> <p>Ƭ <strong>TimeScaleTickOptions</strong>: <code>Object</code></p> <h4 id="type-declaration-7"><a href="#type-declaration-7" 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>source</code></td> <td style="text-align:left;"><code>"labels"</code> | <code>"auto"</code> | <code>"data"</code></td> <td style="text-align:left;">Ticks generation input values: - 'auto': generates "optimal" ticks based on scale size and time options. - 'data': generates ticks from data (including labels from data <code>{t\|x\|y}</code> objects). - 'labels': generates ticks from user given <code>data.labels</code> values ONLY. <strong><code>See</code></strong> https://github.com/chartjs/Chart.js/pull/4507 <strong><code>Since</code></strong> 2.7.0 <strong><code>Default</code></strong> 'auto'</td></tr> <tr><td style="text-align:left;"><code>stepSize</code></td> <td style="text-align:left;"><code>number</code></td> <td style="text-align:left;">The number of units between grid lines. <strong><code>Default</code></strong> 1</td></tr></tbody></table> <h4 id="defined-in-65"><a href="#defined-in-65" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3389" target="_blank" rel="noopener noreferrer">types/index.d.ts:3389<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="timescaletimeoptions"><a href="#timescaletimeoptions" class="header-anchor">#</a> TimeScaleTimeOptions</h3> <p>Ƭ <strong>TimeScaleTimeOptions</strong>: <code>Object</code></p> <h4 id="type-declaration-8"><a href="#type-declaration-8" 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>displayFormats</code></td> <td style="text-align:left;">{ <code>[key: string]</code>: <code>string</code>; }</td> <td style="text-align:left;">Sets how different time units are displayed.</td></tr> <tr><td style="text-align:left;"><code>isoWeekday</code></td> <td style="text-align:left;"><code>boolean</code> | <code>number</code></td> <td style="text-align:left;">If boolean and true and the unit is set to 'week', then the first day of the week will be Monday. Otherwise, it will be Sunday. If <code>number</code>, the index of the first day of the week (0 - Sunday, 6 - Saturday). <strong><code>Default</code></strong> false</td></tr> <tr><td style="text-align:left;"><code>minUnit</code></td> <td style="text-align:left;"><code>TimeUnit</code></td> <td style="text-align:left;">The minimum display format to be used for a time unit. <strong><code>Default</code></strong> 'millisecond'</td></tr> <tr><td style="text-align:left;"><code>parser</code></td> <td style="text-align:left;"><code>string</code> | (<code>v</code>: <code>unknown</code>) => <code>number</code></td> <td style="text-align:left;">Custom parser for dates.</td></tr> <tr><td style="text-align:left;"><code>round</code></td> <td style="text-align:left;"><code>false</code> | <code>TimeUnit</code></td> <td style="text-align:left;">If defined, dates will be rounded to the start of this unit. See Time Units below for the allowed units.</td></tr> <tr><td style="text-align:left;"><code>tooltipFormat</code></td> <td style="text-align:left;"><code>string</code></td> <td style="text-align:left;">The format string to use for the tooltip.</td></tr> <tr><td style="text-align:left;"><code>unit</code></td> <td style="text-align:left;"><code>false</code> | <code>TimeUnit</code></td> <td style="text-align:left;">If defined, will force the unit to be a certain type. See Time Units section below for details. <strong><code>Default</code></strong> false</td></tr></tbody></table> <h4 id="defined-in-66"><a href="#defined-in-66" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3352" target="_blank" rel="noopener noreferrer">types/index.d.ts:3352<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="timeseriesscale"><a href="#timeseriesscale" class="header-anchor">#</a> TimeSeriesScale</h3> <p>Ƭ <strong>TimeSeriesScale</strong><<code>O</code>>: <a href="/docs/latest/api/#timescale"><code>TimeScale</code></a><<code>O</code>></p> <h4 id="type-parameters-23"><a href="#type-parameters-23" class="header-anchor">#</a> Type 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>O</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#timescaleoptions"><code>TimeScaleOptions</code></a> = <a href="/docs/latest/api/#timescaleoptions"><code>TimeScaleOptions</code></a></td></tr></tbody></table> <h4 id="defined-in-67"><a href="#defined-in-67" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3452" target="_blank" rel="noopener noreferrer">types/index.d.ts:3452<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3453" target="_blank" rel="noopener noreferrer">types/index.d.ts:3453<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="tooltippositioner"><a href="#tooltippositioner" class="header-anchor">#</a> TooltipPositioner</h3> <p>Ƭ <strong>TooltipPositioner</strong>: keyof <a href="/docs/latest/api/interfaces/TooltipPositionerMap.html"><code>TooltipPositionerMap</code></a></p> <h4 id="defined-in-68"><a href="#defined-in-68" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2666" target="_blank" rel="noopener noreferrer">types/index.d.ts:2666<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="tooltippositionerfunction"><a href="#tooltippositionerfunction" class="header-anchor">#</a> TooltipPositionerFunction</h3> <p>Ƭ <strong>TooltipPositionerFunction</strong><<code>TType</code>>: (<code>this</code>: <a href="/docs/latest/api/interfaces/TooltipModel.html"><code>TooltipModel</code></a><<code>TType</code>>, <code>items</code>: readonly <a href="/docs/latest/api/interfaces/ActiveElement.html"><code>ActiveElement</code></a>[], <code>eventPosition</code>: <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a>) => <a href="/docs/latest/api/interfaces/TooltipPosition.html"><code>TooltipPosition</code></a> | <code>false</code></p> <h4 id="type-parameters-24"><a href="#type-parameters-24" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <h4 id="type-declaration-9"><a href="#type-declaration-9" class="header-anchor">#</a> Type declaration</h4> <p>▸ (<code>this</code>, <code>items</code>, <code>eventPosition</code>): <a href="/docs/latest/api/interfaces/TooltipPosition.html"><code>TooltipPosition</code></a> | <code>false</code></p> <h5 id="parameters-2"><a href="#parameters-2" class="header-anchor">#</a> Parameters</h5> <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>this</code></td> <td style="text-align:left;"><a href="/docs/latest/api/interfaces/TooltipModel.html"><code>TooltipModel</code></a><<code>TType</code>></td></tr> <tr><td style="text-align:left;"><code>items</code></td> <td style="text-align:left;">readonly <a href="/docs/latest/api/interfaces/ActiveElement.html"><code>ActiveElement</code></a>[]</td></tr> <tr><td style="text-align:left;"><code>eventPosition</code></td> <td style="text-align:left;"><a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a></td></tr></tbody></table> <h5 id="returns-2"><a href="#returns-2" class="header-anchor">#</a> Returns</h5> <p><a href="/docs/latest/api/interfaces/TooltipPosition.html"><code>TooltipPosition</code></a> | <code>false</code></p> <h4 id="defined-in-69"><a href="#defined-in-69" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2655" target="_blank" rel="noopener noreferrer">types/index.d.ts:2655<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="tooltipxalignment"><a href="#tooltipxalignment" class="header-anchor">#</a> TooltipXAlignment</h3> <p>Ƭ <strong>TooltipXAlignment</strong>: <code>"left"</code> | <code>"center"</code> | <code>"right"</code></p> <h4 id="defined-in-70"><a href="#defined-in-70" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2566" target="_blank" rel="noopener noreferrer">types/index.d.ts:2566<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="tooltipyalignment"><a href="#tooltipyalignment" class="header-anchor">#</a> TooltipYAlignment</h3> <p>Ƭ <strong>TooltipYAlignment</strong>: <code>"top"</code> | <code>"center"</code> | <code>"bottom"</code></p> <h4 id="defined-in-71"><a href="#defined-in-71" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2567" target="_blank" rel="noopener noreferrer">types/index.d.ts:2567<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="transitionspec"><a href="#transitionspec" class="header-anchor">#</a> TransitionSpec</h3> <p>Ƭ <strong>TransitionSpec</strong><<code>TType</code>>: <code>Object</code></p> <h4 id="type-parameters-25"><a href="#type-parameters-25" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <h4 id="type-declaration-10"><a href="#type-declaration-10" 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>animation</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#animationspec"><code>AnimationSpec</code></a><<code>TType</code>></td></tr> <tr><td style="text-align:left;"><code>animations</code></td> <td style="text-align:left;"><a href="/docs/latest/api/#animationsspec"><code>AnimationsSpec</code></a><<code>TType</code>></td></tr></tbody></table> <h4 id="defined-in-72"><a href="#defined-in-72" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L1757" target="_blank" rel="noopener noreferrer">types/index.d.ts:1757<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="transitionsspec"><a href="#transitionsspec" class="header-anchor">#</a> TransitionsSpec</h3> <p>Ƭ <strong>TransitionsSpec</strong><<code>TType</code>>: <code>Object</code></p> <h4 id="type-parameters-26"><a href="#type-parameters-26" class="header-anchor">#</a> Type 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>TType</code></td> <td style="text-align:left;">extends <a href="/docs/latest/api/#charttype"><code>ChartType</code></a></td></tr></tbody></table> <h4 id="index-signature-2"><a href="#index-signature-2" class="header-anchor">#</a> Index signature</h4> <p>▪ [mode: <code>string</code>]: <a href="/docs/latest/api/#transitionspec"><code>TransitionSpec</code></a><<code>TType</code>></p> <h4 id="defined-in-73"><a href="#defined-in-73" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L1762" target="_blank" rel="noopener noreferrer">types/index.d.ts:1762<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="updatemode"><a href="#updatemode" class="header-anchor">#</a> UpdateMode</h3> <p>Ƭ <strong>UpdateMode</strong>: keyof typeof <a href="/docs/latest/api/enums/UpdateModeEnum.html"><code>UpdateModeEnum</code></a></p> <h4 id="defined-in-74"><a href="#defined-in-74" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L590" target="_blank" rel="noopener noreferrer">types/index.d.ts:590<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="variables"><a href="#variables" class="header-anchor">#</a> Variables</h2> <h3 id="barcontroller-2"><a href="#barcontroller-2" class="header-anchor">#</a> BarController</h3> <p>• <strong>BarController</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>datasetIndex</code>: <code>number</code>) => <a href="/docs/latest/api/#barcontroller-1"><code>BarController</code></a></p> <h4 id="defined-in-75"><a href="#defined-in-75" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L156" target="_blank" rel="noopener noreferrer">types/index.d.ts:156<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L157" target="_blank" rel="noopener noreferrer">types/index.d.ts:157<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="barelement"><a href="#barelement" class="header-anchor">#</a> BarElement</h3> <p>• <strong>BarElement</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>cfg</code>: <code>AnyObject</code>) => <a href="/docs/latest/api/#barelement"><code>BarElement</code></a><<a href="/docs/latest/api/interfaces/BarProps.html"><code>BarProps</code></a>, <a href="/docs/latest/api/interfaces/BarOptions.html"><code>BarOptions</code></a>></p> <h4 id="defined-in-76"><a href="#defined-in-76" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2139" target="_blank" rel="noopener noreferrer">types/index.d.ts:2139<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2144" target="_blank" rel="noopener noreferrer">types/index.d.ts:2144<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="bubblecontroller-2"><a href="#bubblecontroller-2" class="header-anchor">#</a> BubbleController</h3> <p>• <strong>BubbleController</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>datasetIndex</code>: <code>number</code>) => <a href="/docs/latest/api/#bubblecontroller-1"><code>BubbleController</code></a></p> <h4 id="defined-in-77"><a href="#defined-in-77" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L183" target="_blank" rel="noopener noreferrer">types/index.d.ts:183<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L184" target="_blank" rel="noopener noreferrer">types/index.d.ts:184<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="categoryscale-2"><a href="#categoryscale-2" class="header-anchor">#</a> CategoryScale</h3> <p>• <strong>CategoryScale</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & <O>(<code>cfg</code>: <code>AnyObject</code>) => <a href="/docs/latest/api/#categoryscale-1"><code>CategoryScale</code></a><<code>O</code>></p> <h4 id="defined-in-78"><a href="#defined-in-78" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3273" target="_blank" rel="noopener noreferrer">types/index.d.ts:3273<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3274" target="_blank" rel="noopener noreferrer">types/index.d.ts:3274<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="decimation"><a href="#decimation" class="header-anchor">#</a> Decimation</h3> <p>• <code>Const</code> <strong>Decimation</strong>: <a href="/docs/latest/api/interfaces/Plugin.html"><code>Plugin</code></a></p> <h4 id="defined-in-79"><a href="#defined-in-79" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2220" target="_blank" rel="noopener noreferrer">types/index.d.ts:2220<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="doughnutcontroller"><a href="#doughnutcontroller" class="header-anchor">#</a> DoughnutController</h3> <p>• <strong>DoughnutController</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>datasetIndex</code>: <code>number</code>) => <a href="/docs/latest/api/#doughnutcontroller"><code>DoughnutController</code></a></p> <h4 id="defined-in-80"><a href="#defined-in-80" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L340" target="_blank" rel="noopener noreferrer">types/index.d.ts:340<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L350" target="_blank" rel="noopener noreferrer">types/index.d.ts:350<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="filler"><a href="#filler" class="header-anchor">#</a> Filler</h3> <p>• <code>Const</code> <strong>Filler</strong>: <a href="/docs/latest/api/interfaces/Plugin.html"><code>Plugin</code></a></p> <h4 id="defined-in-81"><a href="#defined-in-81" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2242" target="_blank" rel="noopener noreferrer">types/index.d.ts:2242<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="interaction"><a href="#interaction" class="header-anchor">#</a> Interaction</h3> <p>• <code>Const</code> <strong>Interaction</strong>: <code>Object</code></p> <h4 id="type-declaration-11"><a href="#type-declaration-11" 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>modes</code></td> <td style="text-align:left;"><a href="/docs/latest/api/interfaces/InteractionModeMap.html"><code>InteractionModeMap</code></a></td></tr> <tr><td style="text-align:left;"><code>evaluateInteractionItems</code></td> <td style="text-align:left;">(<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>axis</code>: <a href="/docs/latest/api/#interactionaxis"><code>InteractionAxis</code></a>, <code>position</code>: <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a>, <code>handler</code>: (<code>element</code>: <code>default</code><<code>AnyObject</code>, <code>AnyObject</code>> & <a href="/docs/latest/api/interfaces/VisualElement.html"><code>VisualElement</code></a>, <code>datasetIndex</code>: <code>number</code>, <code>index</code>: <code>number</code>) => <code>void</code>, <code>intersect?</code>: <code>boolean</code>) => <a href="/docs/latest/api/interfaces/InteractionItem.html"><code>InteractionItem</code></a>[]</td></tr></tbody></table> <h4 id="defined-in-82"><a href="#defined-in-82" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L773" target="_blank" rel="noopener noreferrer">types/index.d.ts:773<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="legend"><a href="#legend" class="header-anchor">#</a> Legend</h3> <p>• <code>Const</code> <strong>Legend</strong>: <a href="/docs/latest/api/interfaces/Plugin.html"><code>Plugin</code></a></p> <h4 id="defined-in-83"><a href="#defined-in-83" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2272" target="_blank" rel="noopener noreferrer">types/index.d.ts:2272<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="linecontroller-2"><a href="#linecontroller-2" class="header-anchor">#</a> LineController</h3> <p>• <strong>LineController</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>datasetIndex</code>: <code>number</code>) => <a href="/docs/latest/api/#linecontroller-1"><code>LineController</code></a></p> <h4 id="defined-in-84"><a href="#defined-in-84" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L229" target="_blank" rel="noopener noreferrer">types/index.d.ts:229<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L230" target="_blank" rel="noopener noreferrer">types/index.d.ts:230<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="lineelement"><a href="#lineelement" class="header-anchor">#</a> LineElement</h3> <p>• <strong>LineElement</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>cfg</code>: <code>AnyObject</code>) => <a href="/docs/latest/api/#lineelement"><code>LineElement</code></a><<a href="/docs/latest/api/interfaces/LineProps.html"><code>LineProps</code></a>, <a href="/docs/latest/api/interfaces/LineOptions.html"><code>LineOptions</code></a>></p> <h4 id="defined-in-85"><a href="#defined-in-85" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L1970" target="_blank" rel="noopener noreferrer">types/index.d.ts:1970<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L1983" target="_blank" rel="noopener noreferrer">types/index.d.ts:1983<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="linearscale-2"><a href="#linearscale-2" class="header-anchor">#</a> LinearScale</h3> <p>• <strong>LinearScale</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & <O>(<code>cfg</code>: <code>AnyObject</code>) => <a href="/docs/latest/api/#linearscale-1"><code>LinearScale</code></a><<code>O</code>></p> <h4 id="defined-in-86"><a href="#defined-in-86" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3322" target="_blank" rel="noopener noreferrer">types/index.d.ts:3322<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3323" target="_blank" rel="noopener noreferrer">types/index.d.ts:3323<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="logarithmicscale-2"><a href="#logarithmicscale-2" class="header-anchor">#</a> LogarithmicScale</h3> <p>• <strong>LogarithmicScale</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & <O>(<code>cfg</code>: <code>AnyObject</code>) => <a href="/docs/latest/api/#logarithmicscale-1"><code>LogarithmicScale</code></a><<code>O</code>></p> <h4 id="defined-in-87"><a href="#defined-in-87" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3346" target="_blank" rel="noopener noreferrer">types/index.d.ts:3346<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3347" target="_blank" rel="noopener noreferrer">types/index.d.ts:3347<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="piecontroller-2"><a href="#piecontroller-2" class="header-anchor">#</a> PieController</h3> <p>• <strong>PieController</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>datasetIndex</code>: <code>number</code>) => <a href="/docs/latest/api/#doughnutcontroller"><code>DoughnutController</code></a></p> <h4 id="defined-in-88"><a href="#defined-in-88" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L366" target="_blank" rel="noopener noreferrer">types/index.d.ts:366<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L367" target="_blank" rel="noopener noreferrer">types/index.d.ts:367<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="polarareacontroller"><a href="#polarareacontroller" class="header-anchor">#</a> PolarAreaController</h3> <p>• <strong>PolarAreaController</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>datasetIndex</code>: <code>number</code>) => <a href="/docs/latest/api/#polarareacontroller"><code>PolarAreaController</code></a></p> <h4 id="defined-in-89"><a href="#defined-in-89" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L392" target="_blank" rel="noopener noreferrer">types/index.d.ts:392<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L395" target="_blank" rel="noopener noreferrer">types/index.d.ts:395<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="radarcontroller-2"><a href="#radarcontroller-2" class="header-anchor">#</a> RadarController</h3> <p>• <strong>RadarController</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>datasetIndex</code>: <code>number</code>) => <a href="/docs/latest/api/#radarcontroller-1"><code>RadarController</code></a></p> <h4 id="defined-in-90"><a href="#defined-in-90" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L427" target="_blank" rel="noopener noreferrer">types/index.d.ts:427<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L428" target="_blank" rel="noopener noreferrer">types/index.d.ts:428<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="radiallinearscale"><a href="#radiallinearscale" class="header-anchor">#</a> RadialLinearScale</h3> <p>• <strong>RadialLinearScale</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & <O>(<code>cfg</code>: <code>AnyObject</code>) => <a href="/docs/latest/api/#radiallinearscale"><code>RadialLinearScale</code></a><<code>O</code>></p> <h4 id="defined-in-91"><a href="#defined-in-91" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3599" target="_blank" rel="noopener noreferrer">types/index.d.ts:3599<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3611" target="_blank" rel="noopener noreferrer">types/index.d.ts:3611<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="scattercontroller-2"><a href="#scattercontroller-2" class="header-anchor">#</a> ScatterController</h3> <p>• <strong>ScatterController</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & (<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>datasetIndex</code>: <code>number</code>) => <a href="/docs/latest/api/#linecontroller-1"><code>LineController</code></a></p> <h4 id="defined-in-92"><a href="#defined-in-92" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L241" target="_blank" rel="noopener noreferrer">types/index.d.ts:241<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L242" target="_blank" rel="noopener noreferrer">types/index.d.ts:242<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="subtitle"><a href="#subtitle" class="header-anchor">#</a> SubTitle</h3> <p>• <code>Const</code> <strong>SubTitle</strong>: <a href="/docs/latest/api/interfaces/Plugin.html"><code>Plugin</code></a></p> <h4 id="defined-in-93"><a href="#defined-in-93" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2524" target="_blank" rel="noopener noreferrer">types/index.d.ts:2524<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>• <code>Const</code> <strong>Ticks</strong>: <code>Object</code></p> <h4 id="type-declaration-12"><a href="#type-declaration-12" 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>formatters</code></td> <td style="text-align:left;">{ <code>logarithmic</code>: (<code>tickValue</code>: <code>number</code>, <code>index</code>: <code>number</code>, <code>ticks</code>: { <code>value</code>: <code>number</code> }[]) => <code>string</code> ; <code>numeric</code>: (<code>tickValue</code>: <code>number</code>, <code>index</code>: <code>number</code>, <code>ticks</code>: { <code>value</code>: <code>number</code> }[]) => <code>string</code> ; <code>values</code>: (<code>value</code>: <code>unknown</code>) => <code>string</code> | <code>string</code>[] }</td></tr> <tr><td style="text-align:left;"><code>formatters.logarithmic</code></td> <td style="text-align:left;">[object Object]</td></tr> <tr><td style="text-align:left;"><code>formatters.numeric</code></td> <td style="text-align:left;">[object Object]</td></tr> <tr><td style="text-align:left;"><code>formatters.values</code></td> <td style="text-align:left;">[object Object]</td></tr></tbody></table> <h4 id="defined-in-94"><a href="#defined-in-94" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L1506" target="_blank" rel="noopener noreferrer">types/index.d.ts:1506<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="timescale"><a href="#timescale" class="header-anchor">#</a> TimeScale</h3> <p>• <strong>TimeScale</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & <O>(<code>cfg</code>: <code>AnyObject</code>) => <a href="/docs/latest/api/#timescale"><code>TimeScale</code></a><<code>O</code>></p> <h4 id="defined-in-95"><a href="#defined-in-95" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3440" target="_blank" rel="noopener noreferrer">types/index.d.ts:3440<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3447" target="_blank" rel="noopener noreferrer">types/index.d.ts:3447<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="timeseriesscale-2"><a href="#timeseriesscale-2" class="header-anchor">#</a> TimeSeriesScale</h3> <p>• <strong>TimeSeriesScale</strong>: <a href="/docs/latest/api/interfaces/ChartComponent.html"><code>ChartComponent</code></a> & <O>(<code>cfg</code>: <code>AnyObject</code>) => <a href="/docs/latest/api/#timeseriesscale-1"><code>TimeSeriesScale</code></a><<code>O</code>></p> <h4 id="defined-in-96"><a href="#defined-in-96" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3452" target="_blank" rel="noopener noreferrer">types/index.d.ts:3452<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L3453" target="_blank" rel="noopener noreferrer">types/index.d.ts:3453<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>• <code>Const</code> <strong>Title</strong>: <a href="/docs/latest/api/interfaces/Plugin.html"><code>Plugin</code></a></p> <h4 id="defined-in-97"><a href="#defined-in-97" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2525" target="_blank" rel="noopener noreferrer">types/index.d.ts:2525<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="tooltip"><a href="#tooltip" class="header-anchor">#</a> Tooltip</h3> <p>• <strong>Tooltip</strong>: <a href="/docs/latest/api/#tooltip"><code>Tooltip</code></a></p> <h4 id="defined-in-98"><a href="#defined-in-98" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2668" target="_blank" rel="noopener noreferrer">types/index.d.ts:2668<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> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L2672" target="_blank" rel="noopener noreferrer">types/index.d.ts:2672<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="defaults"><a href="#defaults" class="header-anchor">#</a> defaults</h3> <p>• <code>Const</code> <strong>defaults</strong>: <a href="/docs/latest/api/interfaces/Defaults.html"><code>Defaults</code></a></p> <h4 id="defined-in-99"><a href="#defined-in-99" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L720" target="_blank" rel="noopener noreferrer">types/index.d.ts:720<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="layouts"><a href="#layouts" class="header-anchor">#</a> layouts</h3> <p>• <code>Const</code> <strong>layouts</strong>: <code>Object</code></p> <h4 id="type-declaration-13"><a href="#type-declaration-13" 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>addBox</code></td> <td style="text-align:left;">(<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>item</code>: <a href="/docs/latest/api/interfaces/LayoutItem.html"><code>LayoutItem</code></a>) => <code>void</code></td></tr> <tr><td style="text-align:left;"><code>configure</code></td> <td style="text-align:left;">(<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>item</code>: <a href="/docs/latest/api/interfaces/LayoutItem.html"><code>LayoutItem</code></a>, <code>options</code>: { <code>fullSize?</code>: <code>number</code> ; <code>position?</code>: <a href="/docs/latest/api/#layoutposition"><code>LayoutPosition</code></a> ; <code>weight?</code>: <code>number</code> }) => <code>void</code></td></tr> <tr><td style="text-align:left;"><code>removeBox</code></td> <td style="text-align:left;">(<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>layoutItem</code>: <a href="/docs/latest/api/interfaces/LayoutItem.html"><code>LayoutItem</code></a>) => <code>void</code></td></tr> <tr><td style="text-align:left;"><code>update</code></td> <td style="text-align:left;">(<code>chart</code>: <a href="/docs/latest/api/classes/Chart.html"><code>Chart</code></a><keyof <a href="/docs/latest/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/latest/api/interfaces/Point.html"><code>Point</code></a> | <a href="/docs/latest/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>>, <code>width</code>: <code>number</code>, <code>height</code>: <code>number</code>) => <code>void</code></td></tr></tbody></table> <h4 id="defined-in-100"><a href="#defined-in-100" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L788" target="_blank" rel="noopener noreferrer">types/index.d.ts:788<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="registerables"><a href="#registerables" class="header-anchor">#</a> registerables</h3> <p>• <code>Const</code> <strong>registerables</strong>: readonly <a href="/docs/latest/api/#chartcomponentlike"><code>ChartComponentLike</code></a>[]</p> <h4 id="defined-in-101"><a href="#defined-in-101" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L571" target="_blank" rel="noopener noreferrer">types/index.d.ts:571<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="registry"><a href="#registry" class="header-anchor">#</a> registry</h3> <p>• <code>Const</code> <strong>registry</strong>: <a href="/docs/latest/api/interfaces/Registry.html"><code>Registry</code></a></p> <h4 id="defined-in-102"><a href="#defined-in-102" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/817bec0/src/types/index.d.ts#L1161" target="_blank" rel="noopener noreferrer">types/index.d.ts:1161<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="next"><a href="/docs/latest/api/enums/DecimationAlgorithm.html">
DecimationAlgorithm
</a>
→
</span></p></div> </main></div><div class="global-ui"></div></div>
<script src="/docs/latest/assets/js/app.1775731d.js" defer></script><script src="/docs/latest/assets/js/2.2c2b1036.js" defer></script><script src="/docs/latest/assets/js/12.fa9e2b79.js" defer></script>
</body>
</html>