-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathChart.html
53 lines (53 loc) · 99.2 KB
/
Chart.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Class: Chart | Chart.js</title>
<meta name="generator" content="VuePress 1.9.7">
<link rel="icon" href="/docs/next/favicon.ico">
<meta name="description" content="Open source HTML5 Charts for your website">
<link rel="preload" href="/docs/next/assets/css/0.styles.32b47955.css" as="style"><link rel="preload" href="/docs/next/assets/js/app.79ca5bdb.js" as="script"><link rel="preload" href="/docs/next/assets/js/2.5288603d.js" as="script"><link rel="preload" href="/docs/next/assets/js/19.d4506b63.js" as="script"><link rel="prefetch" href="/docs/next/assets/js/10.fb5e13f1.js"><link rel="prefetch" href="/docs/next/assets/js/100.29d79c56.js"><link rel="prefetch" href="/docs/next/assets/js/101.9684e51f.js"><link rel="prefetch" href="/docs/next/assets/js/102.0d12d2f7.js"><link rel="prefetch" href="/docs/next/assets/js/103.100effdb.js"><link rel="prefetch" href="/docs/next/assets/js/104.24a8af70.js"><link rel="prefetch" href="/docs/next/assets/js/105.2c90bfa6.js"><link rel="prefetch" href="/docs/next/assets/js/106.35728af1.js"><link rel="prefetch" href="/docs/next/assets/js/107.0b85f7c5.js"><link rel="prefetch" href="/docs/next/assets/js/108.445273e7.js"><link rel="prefetch" href="/docs/next/assets/js/109.0b503640.js"><link rel="prefetch" href="/docs/next/assets/js/11.7083b42b.js"><link rel="prefetch" href="/docs/next/assets/js/110.284b9fef.js"><link rel="prefetch" href="/docs/next/assets/js/111.2aaeed25.js"><link rel="prefetch" href="/docs/next/assets/js/112.6307ce4c.js"><link rel="prefetch" href="/docs/next/assets/js/113.ecc135a0.js"><link rel="prefetch" href="/docs/next/assets/js/114.f3e18022.js"><link rel="prefetch" href="/docs/next/assets/js/115.b9b878a5.js"><link rel="prefetch" href="/docs/next/assets/js/116.8a5413c9.js"><link rel="prefetch" href="/docs/next/assets/js/117.b6a3f725.js"><link rel="prefetch" href="/docs/next/assets/js/118.638ca772.js"><link rel="prefetch" href="/docs/next/assets/js/119.3a6c7f58.js"><link rel="prefetch" href="/docs/next/assets/js/12.26a4a094.js"><link rel="prefetch" href="/docs/next/assets/js/120.133613bd.js"><link rel="prefetch" href="/docs/next/assets/js/121.38879b52.js"><link rel="prefetch" href="/docs/next/assets/js/122.e70efb25.js"><link rel="prefetch" href="/docs/next/assets/js/123.ecf4e45b.js"><link rel="prefetch" href="/docs/next/assets/js/124.3c22d3b7.js"><link rel="prefetch" href="/docs/next/assets/js/125.bcb07e8e.js"><link rel="prefetch" href="/docs/next/assets/js/126.780108e9.js"><link rel="prefetch" href="/docs/next/assets/js/127.0c43adf3.js"><link rel="prefetch" href="/docs/next/assets/js/128.b1e5c392.js"><link rel="prefetch" href="/docs/next/assets/js/129.722d462a.js"><link rel="prefetch" href="/docs/next/assets/js/13.366ee7a8.js"><link rel="prefetch" href="/docs/next/assets/js/130.d8a5df29.js"><link rel="prefetch" href="/docs/next/assets/js/131.f6874f18.js"><link rel="prefetch" href="/docs/next/assets/js/132.9696793d.js"><link rel="prefetch" href="/docs/next/assets/js/133.99b10526.js"><link rel="prefetch" href="/docs/next/assets/js/134.863416f6.js"><link rel="prefetch" href="/docs/next/assets/js/135.8adfc484.js"><link rel="prefetch" href="/docs/next/assets/js/136.00065c13.js"><link rel="prefetch" href="/docs/next/assets/js/137.4979ab54.js"><link rel="prefetch" href="/docs/next/assets/js/138.af5623db.js"><link rel="prefetch" href="/docs/next/assets/js/139.bb089116.js"><link rel="prefetch" href="/docs/next/assets/js/14.d5249207.js"><link rel="prefetch" href="/docs/next/assets/js/140.053942e3.js"><link rel="prefetch" href="/docs/next/assets/js/141.a610217a.js"><link rel="prefetch" href="/docs/next/assets/js/142.048c867e.js"><link rel="prefetch" href="/docs/next/assets/js/143.ff135b00.js"><link rel="prefetch" href="/docs/next/assets/js/144.cb3e808c.js"><link rel="prefetch" href="/docs/next/assets/js/145.0330bb10.js"><link rel="prefetch" href="/docs/next/assets/js/146.b9aa19ba.js"><link rel="prefetch" href="/docs/next/assets/js/147.88f18081.js"><link rel="prefetch" href="/docs/next/assets/js/148.7260d909.js"><link rel="prefetch" href="/docs/next/assets/js/149.049ebc71.js"><link rel="prefetch" href="/docs/next/assets/js/15.6e9e863d.js"><link rel="prefetch" href="/docs/next/assets/js/150.72de6801.js"><link rel="prefetch" href="/docs/next/assets/js/151.9a1222f4.js"><link rel="prefetch" href="/docs/next/assets/js/152.e4ef640c.js"><link rel="prefetch" href="/docs/next/assets/js/153.842b37f8.js"><link rel="prefetch" href="/docs/next/assets/js/154.dcc1bf83.js"><link rel="prefetch" href="/docs/next/assets/js/155.808f1186.js"><link rel="prefetch" href="/docs/next/assets/js/156.4950bea1.js"><link rel="prefetch" href="/docs/next/assets/js/157.3e45bbac.js"><link rel="prefetch" href="/docs/next/assets/js/158.c21206a1.js"><link rel="prefetch" href="/docs/next/assets/js/159.3a4b3de1.js"><link rel="prefetch" href="/docs/next/assets/js/16.620ac2aa.js"><link rel="prefetch" href="/docs/next/assets/js/160.cbd9a6fd.js"><link rel="prefetch" href="/docs/next/assets/js/161.b755d895.js"><link rel="prefetch" href="/docs/next/assets/js/162.6faf871b.js"><link rel="prefetch" href="/docs/next/assets/js/163.49a712af.js"><link rel="prefetch" href="/docs/next/assets/js/164.e19eefad.js"><link rel="prefetch" href="/docs/next/assets/js/165.db7347fa.js"><link rel="prefetch" href="/docs/next/assets/js/166.81f1fd29.js"><link rel="prefetch" href="/docs/next/assets/js/167.e534233d.js"><link rel="prefetch" href="/docs/next/assets/js/168.03442a9b.js"><link rel="prefetch" href="/docs/next/assets/js/169.6811b2e2.js"><link rel="prefetch" href="/docs/next/assets/js/17.f9d4794b.js"><link rel="prefetch" href="/docs/next/assets/js/170.94c8dda0.js"><link rel="prefetch" href="/docs/next/assets/js/171.93191d1c.js"><link rel="prefetch" href="/docs/next/assets/js/172.7c6be1c4.js"><link rel="prefetch" href="/docs/next/assets/js/173.e74991cf.js"><link rel="prefetch" href="/docs/next/assets/js/174.b4506ab4.js"><link rel="prefetch" href="/docs/next/assets/js/175.dd0055c2.js"><link rel="prefetch" href="/docs/next/assets/js/176.ba30e45c.js"><link rel="prefetch" href="/docs/next/assets/js/177.6c95ad89.js"><link rel="prefetch" href="/docs/next/assets/js/178.3643eab4.js"><link rel="prefetch" href="/docs/next/assets/js/179.4ebe3d02.js"><link rel="prefetch" href="/docs/next/assets/js/18.3f871121.js"><link rel="prefetch" href="/docs/next/assets/js/180.3734648f.js"><link rel="prefetch" href="/docs/next/assets/js/181.32f6af14.js"><link rel="prefetch" href="/docs/next/assets/js/182.0d1dc780.js"><link rel="prefetch" href="/docs/next/assets/js/183.6cb28f4f.js"><link rel="prefetch" href="/docs/next/assets/js/184.2e06acee.js"><link rel="prefetch" href="/docs/next/assets/js/185.b48c9559.js"><link rel="prefetch" href="/docs/next/assets/js/186.581b5457.js"><link rel="prefetch" href="/docs/next/assets/js/187.378d638b.js"><link rel="prefetch" href="/docs/next/assets/js/188.3638c48e.js"><link rel="prefetch" href="/docs/next/assets/js/189.22440fc9.js"><link rel="prefetch" href="/docs/next/assets/js/190.e44737e3.js"><link rel="prefetch" href="/docs/next/assets/js/191.3ea32821.js"><link rel="prefetch" href="/docs/next/assets/js/192.b3b8859a.js"><link rel="prefetch" href="/docs/next/assets/js/193.96c5c443.js"><link rel="prefetch" href="/docs/next/assets/js/194.8e737951.js"><link rel="prefetch" href="/docs/next/assets/js/195.ec106947.js"><link rel="prefetch" href="/docs/next/assets/js/196.e05df418.js"><link rel="prefetch" href="/docs/next/assets/js/197.b607bf8b.js"><link rel="prefetch" href="/docs/next/assets/js/198.012643a1.js"><link rel="prefetch" href="/docs/next/assets/js/199.d3bd5339.js"><link rel="prefetch" href="/docs/next/assets/js/20.3ec0ad7f.js"><link rel="prefetch" href="/docs/next/assets/js/200.beca8001.js"><link rel="prefetch" href="/docs/next/assets/js/201.ffb93323.js"><link rel="prefetch" href="/docs/next/assets/js/202.93e30a8c.js"><link rel="prefetch" href="/docs/next/assets/js/203.2b1c70de.js"><link rel="prefetch" href="/docs/next/assets/js/204.13e158bc.js"><link rel="prefetch" href="/docs/next/assets/js/205.073b94a1.js"><link rel="prefetch" href="/docs/next/assets/js/206.edf16331.js"><link rel="prefetch" href="/docs/next/assets/js/207.bd1ef1bf.js"><link rel="prefetch" href="/docs/next/assets/js/208.78ba2dba.js"><link rel="prefetch" href="/docs/next/assets/js/209.ed3eb7b2.js"><link rel="prefetch" href="/docs/next/assets/js/21.492881f9.js"><link rel="prefetch" href="/docs/next/assets/js/210.909f0fb0.js"><link rel="prefetch" href="/docs/next/assets/js/211.280caeca.js"><link rel="prefetch" href="/docs/next/assets/js/212.782948b6.js"><link rel="prefetch" href="/docs/next/assets/js/213.2bbda299.js"><link rel="prefetch" href="/docs/next/assets/js/214.20e42842.js"><link rel="prefetch" href="/docs/next/assets/js/215.24b3bd89.js"><link rel="prefetch" href="/docs/next/assets/js/216.bc1e098a.js"><link rel="prefetch" href="/docs/next/assets/js/217.d63d8f79.js"><link rel="prefetch" href="/docs/next/assets/js/218.3c6dc5d5.js"><link rel="prefetch" href="/docs/next/assets/js/219.7af47c97.js"><link rel="prefetch" href="/docs/next/assets/js/22.19b1ef88.js"><link rel="prefetch" href="/docs/next/assets/js/220.c09d14b9.js"><link rel="prefetch" href="/docs/next/assets/js/221.c7e033ab.js"><link rel="prefetch" href="/docs/next/assets/js/222.105acb37.js"><link rel="prefetch" href="/docs/next/assets/js/223.1a8bbb8c.js"><link rel="prefetch" href="/docs/next/assets/js/224.a62aa6de.js"><link rel="prefetch" href="/docs/next/assets/js/225.ce55392d.js"><link rel="prefetch" href="/docs/next/assets/js/226.fb27cdb4.js"><link rel="prefetch" href="/docs/next/assets/js/227.9959b8a2.js"><link rel="prefetch" href="/docs/next/assets/js/228.3d216901.js"><link rel="prefetch" href="/docs/next/assets/js/229.5a942b8c.js"><link rel="prefetch" href="/docs/next/assets/js/23.bd5eb474.js"><link rel="prefetch" href="/docs/next/assets/js/230.672ccc4d.js"><link rel="prefetch" href="/docs/next/assets/js/231.e0c505f2.js"><link rel="prefetch" href="/docs/next/assets/js/232.70f4212f.js"><link rel="prefetch" href="/docs/next/assets/js/233.89747115.js"><link rel="prefetch" href="/docs/next/assets/js/234.10d4f748.js"><link rel="prefetch" href="/docs/next/assets/js/235.00cba1d0.js"><link rel="prefetch" href="/docs/next/assets/js/236.27ed9b91.js"><link rel="prefetch" href="/docs/next/assets/js/237.96407852.js"><link rel="prefetch" href="/docs/next/assets/js/238.1afcee34.js"><link rel="prefetch" href="/docs/next/assets/js/239.0e1729c8.js"><link rel="prefetch" href="/docs/next/assets/js/24.74e1cdb1.js"><link rel="prefetch" href="/docs/next/assets/js/240.0a2b169c.js"><link rel="prefetch" href="/docs/next/assets/js/241.aa13395e.js"><link rel="prefetch" href="/docs/next/assets/js/242.8f8eccc9.js"><link rel="prefetch" href="/docs/next/assets/js/243.48012e71.js"><link rel="prefetch" href="/docs/next/assets/js/244.cc7e5f71.js"><link rel="prefetch" href="/docs/next/assets/js/245.6596ac5d.js"><link rel="prefetch" href="/docs/next/assets/js/246.d35395a0.js"><link rel="prefetch" href="/docs/next/assets/js/247.0b0373ff.js"><link rel="prefetch" href="/docs/next/assets/js/248.37fa605a.js"><link rel="prefetch" href="/docs/next/assets/js/249.18983e35.js"><link rel="prefetch" href="/docs/next/assets/js/25.1ec18ce8.js"><link rel="prefetch" href="/docs/next/assets/js/250.01c032f1.js"><link rel="prefetch" href="/docs/next/assets/js/251.a9f45647.js"><link rel="prefetch" href="/docs/next/assets/js/252.fdda4827.js"><link rel="prefetch" href="/docs/next/assets/js/253.3d26ab69.js"><link rel="prefetch" href="/docs/next/assets/js/254.a1f8b18d.js"><link rel="prefetch" href="/docs/next/assets/js/255.bde6fa8f.js"><link rel="prefetch" href="/docs/next/assets/js/256.d62b2908.js"><link rel="prefetch" href="/docs/next/assets/js/257.9158249b.js"><link rel="prefetch" href="/docs/next/assets/js/258.75bbfb48.js"><link rel="prefetch" href="/docs/next/assets/js/259.f9cb463a.js"><link rel="prefetch" href="/docs/next/assets/js/26.fd6b425f.js"><link rel="prefetch" href="/docs/next/assets/js/260.c74ab442.js"><link rel="prefetch" href="/docs/next/assets/js/261.ef5a63c2.js"><link rel="prefetch" href="/docs/next/assets/js/27.bb21a5ac.js"><link rel="prefetch" href="/docs/next/assets/js/28.324bfce6.js"><link rel="prefetch" href="/docs/next/assets/js/29.23fe84aa.js"><link rel="prefetch" href="/docs/next/assets/js/3.231e388d.js"><link rel="prefetch" href="/docs/next/assets/js/30.01f4c09f.js"><link rel="prefetch" href="/docs/next/assets/js/31.875081a0.js"><link rel="prefetch" href="/docs/next/assets/js/32.dcd3ceca.js"><link rel="prefetch" href="/docs/next/assets/js/33.5e63cad5.js"><link rel="prefetch" href="/docs/next/assets/js/34.bceed015.js"><link rel="prefetch" href="/docs/next/assets/js/35.2415aafe.js"><link rel="prefetch" href="/docs/next/assets/js/36.6098ab9b.js"><link rel="prefetch" href="/docs/next/assets/js/37.68a3e72f.js"><link rel="prefetch" href="/docs/next/assets/js/38.000173ad.js"><link rel="prefetch" href="/docs/next/assets/js/39.32d13090.js"><link rel="prefetch" href="/docs/next/assets/js/4.7b1ba515.js"><link rel="prefetch" href="/docs/next/assets/js/40.2608d554.js"><link rel="prefetch" href="/docs/next/assets/js/41.532fe939.js"><link rel="prefetch" href="/docs/next/assets/js/42.480061d6.js"><link rel="prefetch" href="/docs/next/assets/js/43.2062f710.js"><link rel="prefetch" href="/docs/next/assets/js/44.e58d0498.js"><link rel="prefetch" href="/docs/next/assets/js/45.5131ac54.js"><link rel="prefetch" href="/docs/next/assets/js/46.bb1886c3.js"><link rel="prefetch" href="/docs/next/assets/js/47.bcfee47e.js"><link rel="prefetch" href="/docs/next/assets/js/48.8d8d26ab.js"><link rel="prefetch" href="/docs/next/assets/js/49.417b73cb.js"><link rel="prefetch" href="/docs/next/assets/js/5.5f1e37ab.js"><link rel="prefetch" href="/docs/next/assets/js/50.77867f04.js"><link rel="prefetch" href="/docs/next/assets/js/51.132570ed.js"><link rel="prefetch" href="/docs/next/assets/js/52.39656457.js"><link rel="prefetch" href="/docs/next/assets/js/53.f401b7bf.js"><link rel="prefetch" href="/docs/next/assets/js/54.b99461aa.js"><link rel="prefetch" href="/docs/next/assets/js/55.884e9434.js"><link rel="prefetch" href="/docs/next/assets/js/56.d74cdeab.js"><link rel="prefetch" href="/docs/next/assets/js/57.86bebdef.js"><link rel="prefetch" href="/docs/next/assets/js/58.bb14488f.js"><link rel="prefetch" href="/docs/next/assets/js/59.48115ecf.js"><link rel="prefetch" href="/docs/next/assets/js/6.fded0504.js"><link rel="prefetch" href="/docs/next/assets/js/60.a45f22c2.js"><link rel="prefetch" href="/docs/next/assets/js/61.4ec02286.js"><link rel="prefetch" href="/docs/next/assets/js/62.fc0046b0.js"><link rel="prefetch" href="/docs/next/assets/js/63.f606a653.js"><link rel="prefetch" href="/docs/next/assets/js/64.7afdac3e.js"><link rel="prefetch" href="/docs/next/assets/js/65.63eb447e.js"><link rel="prefetch" href="/docs/next/assets/js/66.27668122.js"><link rel="prefetch" href="/docs/next/assets/js/67.585f2fc7.js"><link rel="prefetch" href="/docs/next/assets/js/68.99cd4fab.js"><link rel="prefetch" href="/docs/next/assets/js/69.31dc4728.js"><link rel="prefetch" href="/docs/next/assets/js/7.7f7e29fb.js"><link rel="prefetch" href="/docs/next/assets/js/70.62172d1b.js"><link rel="prefetch" href="/docs/next/assets/js/71.8e905e6d.js"><link rel="prefetch" href="/docs/next/assets/js/72.0e7ece27.js"><link rel="prefetch" href="/docs/next/assets/js/73.8e4354c0.js"><link rel="prefetch" href="/docs/next/assets/js/74.e622ba99.js"><link rel="prefetch" href="/docs/next/assets/js/75.cd884781.js"><link rel="prefetch" href="/docs/next/assets/js/76.d51b9168.js"><link rel="prefetch" href="/docs/next/assets/js/77.eda9ccc1.js"><link rel="prefetch" href="/docs/next/assets/js/78.ae4cafc3.js"><link rel="prefetch" href="/docs/next/assets/js/79.8904295a.js"><link rel="prefetch" href="/docs/next/assets/js/8.b36085f7.js"><link rel="prefetch" href="/docs/next/assets/js/80.a68f1097.js"><link rel="prefetch" href="/docs/next/assets/js/81.08840d97.js"><link rel="prefetch" href="/docs/next/assets/js/82.f808225e.js"><link rel="prefetch" href="/docs/next/assets/js/83.d0175ebd.js"><link rel="prefetch" href="/docs/next/assets/js/84.4584216a.js"><link rel="prefetch" href="/docs/next/assets/js/85.42fee9fd.js"><link rel="prefetch" href="/docs/next/assets/js/86.aa2074f4.js"><link rel="prefetch" href="/docs/next/assets/js/87.11751fe1.js"><link rel="prefetch" href="/docs/next/assets/js/88.24f73489.js"><link rel="prefetch" href="/docs/next/assets/js/89.a9f679a2.js"><link rel="prefetch" href="/docs/next/assets/js/9.5bb8c761.js"><link rel="prefetch" href="/docs/next/assets/js/90.4f5526cd.js"><link rel="prefetch" href="/docs/next/assets/js/91.69b70c8d.js"><link rel="prefetch" href="/docs/next/assets/js/92.36a9a9f5.js"><link rel="prefetch" href="/docs/next/assets/js/93.2b39c149.js"><link rel="prefetch" href="/docs/next/assets/js/94.00b482e7.js"><link rel="prefetch" href="/docs/next/assets/js/95.ee8c57df.js"><link rel="prefetch" href="/docs/next/assets/js/96.fc54ce86.js"><link rel="prefetch" href="/docs/next/assets/js/97.2bab6d5b.js"><link rel="prefetch" href="/docs/next/assets/js/98.c38195cf.js"><link rel="prefetch" href="/docs/next/assets/js/99.009853cb.js">
<link rel="stylesheet" href="/docs/next/assets/css/0.styles.32b47955.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/next/" class="home-link router-link-active"><img src="/docs/next/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/next/" class="nav-link">
Home
</a></div><div class="nav-item"><a href="/docs/next/api/" class="nav-link router-link-active">
API
</a></div><div class="nav-item"><a href="/docs/next/samples/" class="nav-link">
Samples
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Community Menu" class="dropdown-title"><span class="title">Ecosystem</span> <span class="arrow down"></span></button> <button type="button" aria-label="Community Menu" class="mobile-dropdown-title"><span class="title">Ecosystem</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://github.com/chartjs/awesome" target="_blank" rel="noopener noreferrer" class="nav-link external">
Awesome
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://chartjs-slack.herokuapp.com/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Slack
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://stackoverflow.com/questions/tagged/chart.js" target="_blank" rel="noopener noreferrer" class="nav-link external">
Stack Overflow
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <a href="https://github.com/chartjs/Chart.js" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/docs/next/" class="nav-link">
Home
</a></div><div class="nav-item"><a href="/docs/next/api/" class="nav-link router-link-active">
API
</a></div><div class="nav-item"><a href="/docs/next/samples/" class="nav-link">
Samples
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Community Menu" class="dropdown-title"><span class="title">Ecosystem</span> <span class="arrow down"></span></button> <button type="button" aria-label="Community Menu" class="mobile-dropdown-title"><span class="title">Ecosystem</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://github.com/chartjs/awesome" target="_blank" rel="noopener noreferrer" class="nav-link external">
Awesome
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://chartjs-slack.herokuapp.com/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Slack
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://stackoverflow.com/questions/tagged/chart.js" target="_blank" rel="noopener noreferrer" class="nav-link external">
Stack Overflow
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <a href="https://github.com/chartjs/Chart.js" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>API</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/docs/next/api/" aria-current="page" class="sidebar-link">Exports</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Enumerations</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading open"><span>Classes</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/docs/next/api/classes/Animation.html" class="sidebar-link">Animation</a></li><li><a href="/docs/next/api/classes/Animations.html" class="sidebar-link">Animations</a></li><li><a href="/docs/next/api/classes/Animator.html" class="sidebar-link">Animator</a></li><li><a href="/docs/next/api/classes/ArcElement.html" class="sidebar-link">ArcElement</a></li><li><a href="/docs/next/api/classes/BasePlatform.html" class="sidebar-link">BasePlatform</a></li><li><a href="/docs/next/api/classes/BasicPlatform.html" class="sidebar-link">BasicPlatform</a></li><li><a href="/docs/next/api/classes/Chart.html" aria-current="page" class="active sidebar-link">Chart</a></li><li><a href="/docs/next/api/classes/DatasetController.html" class="sidebar-link">DatasetController</a></li><li><a href="/docs/next/api/classes/DomPlatform.html" class="sidebar-link">DomPlatform</a></li><li><a href="/docs/next/api/classes/PointElement.html" class="sidebar-link">PointElement</a></li><li><a href="/docs/next/api/classes/Scale.html" class="sidebar-link">Scale</a></li></ul></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="class-chart-ttype-tdata-tlabel"><a href="#class-chart-ttype-tdata-tlabel" class="header-anchor">#</a> Class: Chart<TType, TData, TLabel></h1> <h2 id="type-parameters"><a href="#type-parameters" class="header-anchor">#</a> Type parameters</h2> <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/next/api/#charttype"><code>ChartType</code></a> = <a href="/docs/next/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/next/api/#defaultdatapoint"><code>DefaultDataPoint</code></a><<code>TType</code>></td></tr> <tr><td style="text-align:left;"><code>TLabel</code></td> <td style="text-align:left;"><code>unknown</code></td></tr></tbody></table> <h2 id="constructors"><a href="#constructors" class="header-anchor">#</a> Constructors</h2> <h3 id="constructor"><a href="#constructor" class="header-anchor">#</a> constructor</h3> <p>• <strong>new Chart</strong><<code>TType</code>, <code>TData</code>, <code>TLabel</code>>(<code>item</code>, <code>config</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 keyof <a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a> = keyof <a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a></td></tr> <tr><td style="text-align:left;"><code>TData</code></td> <td style="text-align:left;"><code>DistributiveArray</code><<a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>[<code>TType</code>][<code>"defaultDataPoint"</code>]></td></tr> <tr><td style="text-align:left;"><code>TLabel</code></td> <td style="text-align:left;"><code>unknown</code></td></tr></tbody></table> <h4 id="parameters"><a href="#parameters" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>item</code></td> <td style="text-align:left;"><a href="/docs/next/api/#chartitem"><code>ChartItem</code></a></td></tr> <tr><td style="text-align:left;"><code>config</code></td> <td style="text-align:left;"><a href="/docs/next/api/interfaces/ChartConfiguration.html"><code>ChartConfiguration</code></a><<code>TType</code>, <code>TData</code>, <code>TLabel</code>> | <a href="/docs/next/api/interfaces/ChartConfigurationCustomTypesPerDataset.html"><code>ChartConfigurationCustomTypesPerDataset</code></a><<code>TType</code>, <code>TData</code>, <code>TLabel</code>></td></tr></tbody></table> <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/11f3cf6/types/index.d.ts#L508" target="_blank" rel="noopener noreferrer">types/index.d.ts:508<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="properties"><a href="#properties" class="header-anchor">#</a> Properties</h2> <h3 id="aspectratio"><a href="#aspectratio" class="header-anchor">#</a> aspectRatio</h3> <p>• <code>Readonly</code> <strong>aspectRatio</strong>: <code>number</code></p> <h4 id="defined-in-2"><a href="#defined-in-2" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L495" target="_blank" rel="noopener noreferrer">types/index.d.ts:495<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="attached"><a href="#attached" class="header-anchor">#</a> attached</h3> <p>• <code>Readonly</code> <strong>attached</strong>: <code>boolean</code></p> <h4 id="defined-in-3"><a href="#defined-in-3" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L500" target="_blank" rel="noopener noreferrer">types/index.d.ts:500<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="boxes"><a href="#boxes" class="header-anchor">#</a> boxes</h3> <p>• <code>Readonly</code> <strong>boxes</strong>: <a href="/docs/next/api/interfaces/LayoutItem.html"><code>LayoutItem</code></a>[]</p> <h4 id="defined-in-4"><a href="#defined-in-4" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L496" target="_blank" rel="noopener noreferrer">types/index.d.ts:496<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="canvas"><a href="#canvas" class="header-anchor">#</a> canvas</h3> <p>• <code>Readonly</code> <strong>canvas</strong>: <code>HTMLCanvasElement</code></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/11f3cf6/types/index.d.ts#L490" target="_blank" rel="noopener noreferrer">types/index.d.ts:490<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="chartarea"><a href="#chartarea" class="header-anchor">#</a> chartArea</h3> <p>• <code>Readonly</code> <strong>chartArea</strong>: <a href="/docs/next/api/interfaces/ChartArea.html"><code>ChartArea</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/11f3cf6/types/index.d.ts#L498" target="_blank" rel="noopener noreferrer">types/index.d.ts:498<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="config"><a href="#config" class="header-anchor">#</a> config</h3> <p>• <code>Readonly</code> <strong>config</strong>: <a href="/docs/next/api/interfaces/ChartConfiguration.html"><code>ChartConfiguration</code></a><<code>TType</code>, <code>TData</code>, <code>TLabel</code>> | <a href="/docs/next/api/interfaces/ChartConfigurationCustomTypesPerDataset.html"><code>ChartConfigurationCustomTypesPerDataset</code></a><<code>TType</code>, <code>TData</code>, <code>TLabel</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/11f3cf6/types/index.d.ts#L492" target="_blank" rel="noopener noreferrer">types/index.d.ts:492<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="ctx"><a href="#ctx" class="header-anchor">#</a> ctx</h3> <p>• <code>Readonly</code> <strong>ctx</strong>: <code>CanvasRenderingContext2D</code></p> <h4 id="defined-in-8"><a href="#defined-in-8" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L491" target="_blank" rel="noopener noreferrer">types/index.d.ts:491<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="currentdevicepixelratio"><a href="#currentdevicepixelratio" class="header-anchor">#</a> currentDevicePixelRatio</h3> <p>• <code>Readonly</code> <strong>currentDevicePixelRatio</strong>: <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/11f3cf6/types/index.d.ts#L497" target="_blank" rel="noopener noreferrer">types/index.d.ts:497<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="data"><a href="#data" class="header-anchor">#</a> data</h3> <p>• <strong>data</strong>: <a href="/docs/next/api/interfaces/ChartData.html"><code>ChartData</code></a><<code>TType</code>, <code>TData</code>, <code>TLabel</code>></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/11f3cf6/types/index.d.ts#L505" target="_blank" rel="noopener noreferrer">types/index.d.ts:505<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="height"><a href="#height" class="header-anchor">#</a> height</h3> <p>• <code>Readonly</code> <strong>height</strong>: <code>number</code></p> <h4 id="defined-in-11"><a href="#defined-in-11" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L494" target="_blank" rel="noopener noreferrer">types/index.d.ts:494<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="id"><a href="#id" class="header-anchor">#</a> id</h3> <p>• <code>Readonly</code> <strong>id</strong>: <code>string</code></p> <h4 id="defined-in-12"><a href="#defined-in-12" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L489" target="_blank" rel="noopener noreferrer">types/index.d.ts:489<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>Optional</code> <code>Readonly</code> <strong>legend</strong>: <a href="/docs/next/api/interfaces/LegendElement.html"><code>LegendElement</code></a><<code>TType</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/11f3cf6/types/index.d.ts#L502" target="_blank" rel="noopener noreferrer">types/index.d.ts:502<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="options"><a href="#options" class="header-anchor">#</a> options</h3> <p>• <strong>options</strong>: <code>DeepPartial</code><<a href="/docs/next/api/interfaces/CoreChartOptions.html"><code>CoreChartOptions</code></a><<code>TType</code>> & <a href="/docs/next/api/#elementchartoptions"><code>ElementChartOptions</code></a><<code>TType</code>> & <a href="/docs/next/api/interfaces/PluginChartOptions.html"><code>PluginChartOptions</code></a><<code>TType</code>> & <a href="/docs/next/api/#datasetchartoptions"><code>DatasetChartOptions</code></a><<code>TType</code>> & <a href="/docs/next/api/#scalechartoptions"><code>ScaleChartOptions</code></a><<code>TType</code>> & <a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>[<code>TType</code>][<code>"chartOptions"</code>]></p> <h4 id="defined-in-14"><a href="#defined-in-14" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L506" target="_blank" rel="noopener noreferrer">types/index.d.ts:506<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="platform"><a href="#platform" class="header-anchor">#</a> platform</h3> <p>• <code>Readonly</code> <strong>platform</strong>: <a href="/docs/next/api/classes/BasePlatform.html"><code>BasePlatform</code></a></p> <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/11f3cf6/types/index.d.ts#L488" target="_blank" rel="noopener noreferrer">types/index.d.ts:488<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="scales"><a href="#scales" class="header-anchor">#</a> scales</h3> <p>• <code>Readonly</code> <strong>scales</strong>: <code>Object</code></p> <h4 id="index-signature"><a href="#index-signature" class="header-anchor">#</a> Index signature</h4> <p>▪ [key: <code>string</code>]: <a href="/docs/next/api/classes/Scale.html"><code>Scale</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/11f3cf6/types/index.d.ts#L499" target="_blank" rel="noopener noreferrer">types/index.d.ts:499<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>• <code>Optional</code> <code>Readonly</code> <strong>tooltip</strong>: <a href="/docs/next/api/interfaces/TooltipModel.html"><code>TooltipModel</code></a><<code>TType</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/11f3cf6/types/index.d.ts#L503" target="_blank" rel="noopener noreferrer">types/index.d.ts:503<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="width"><a href="#width" class="header-anchor">#</a> width</h3> <p>• <code>Readonly</code> <strong>width</strong>: <code>number</code></p> <h4 id="defined-in-18"><a href="#defined-in-18" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L493" target="_blank" rel="noopener noreferrer">types/index.d.ts:493<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>Static</code> <code>Readonly</code> <strong>defaults</strong>: <a href="/docs/next/api/interfaces/Defaults.html"><code>Defaults</code></a></p> <h4 id="defined-in-19"><a href="#defined-in-19" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L548" target="_blank" rel="noopener noreferrer">types/index.d.ts:548<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="instances"><a href="#instances" class="header-anchor">#</a> instances</h3> <p>▪ <code>Static</code> <code>Readonly</code> <strong>instances</strong>: <code>Object</code></p> <h4 id="index-signature-2"><a href="#index-signature-2" class="header-anchor">#</a> Index signature</h4> <p>▪ [key: <code>string</code>]: <a href="/docs/next/api/classes/Chart.html" aria-current="page" class="router-link-exact-active router-link-active"><code>Chart</code></a></p> <h4 id="defined-in-20"><a href="#defined-in-20" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L551" target="_blank" rel="noopener noreferrer">types/index.d.ts:551<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>▪ <code>Static</code> <code>Readonly</code> <strong>overrides</strong>: <a href="/docs/next/api/#overrides"><code>Overrides</code></a></p> <h4 id="defined-in-21"><a href="#defined-in-21" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L549" target="_blank" rel="noopener noreferrer">types/index.d.ts:549<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>Static</code> <code>Readonly</code> <strong>registry</strong>: <a href="/docs/next/api/interfaces/Registry.html"><code>Registry</code></a></p> <h4 id="defined-in-22"><a href="#defined-in-22" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L552" target="_blank" rel="noopener noreferrer">types/index.d.ts:552<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="version"><a href="#version" class="header-anchor">#</a> version</h3> <p>▪ <code>Static</code> <code>Readonly</code> <strong>version</strong>: <code>string</code></p> <h4 id="defined-in-23"><a href="#defined-in-23" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L550" target="_blank" rel="noopener noreferrer">types/index.d.ts:550<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h2 id="methods"><a href="#methods" class="header-anchor">#</a> Methods</h2> <h3 id="bindevents"><a href="#bindevents" class="header-anchor">#</a> bindEvents</h3> <p>▸ <strong>bindEvents</strong>(): <code>void</code></p> <h4 id="returns"><a href="#returns" class="header-anchor">#</a> Returns</h4> <p><code>void</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/11f3cf6/types/index.d.ts#L540" target="_blank" rel="noopener noreferrer">types/index.d.ts:540<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="buildorupdatecontrollers"><a href="#buildorupdatecontrollers" class="header-anchor">#</a> buildOrUpdateControllers</h3> <p>▸ <strong>buildOrUpdateControllers</strong>(): <code>void</code></p> <h4 id="returns-2"><a href="#returns-2" class="header-anchor">#</a> Returns</h4> <p><code>void</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/11f3cf6/types/index.d.ts#L516" target="_blank" rel="noopener noreferrer">types/index.d.ts:516<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="buildorupdatescales"><a href="#buildorupdatescales" class="header-anchor">#</a> buildOrUpdateScales</h3> <p>▸ <strong>buildOrUpdateScales</strong>(): <code>void</code></p> <h4 id="returns-3"><a href="#returns-3" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L515" target="_blank" rel="noopener noreferrer">types/index.d.ts:515<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="clear"><a href="#clear" class="header-anchor">#</a> clear</h3> <p>▸ <strong>clear</strong>(): <a href="/docs/next/api/classes/Chart.html" aria-current="page" class="router-link-exact-active router-link-active"><code>Chart</code></a><<code>TType</code>, <code>TData</code>, <code>TLabel</code>></p> <h4 id="returns-4"><a href="#returns-4" class="header-anchor">#</a> Returns</h4> <p><a href="/docs/next/api/classes/Chart.html" aria-current="page" class="router-link-exact-active router-link-active"><code>Chart</code></a><<code>TType</code>, <code>TData</code>, <code>TLabel</code>></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/11f3cf6/types/index.d.ts#L510" target="_blank" rel="noopener noreferrer">types/index.d.ts:510<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="destroy"><a href="#destroy" class="header-anchor">#</a> destroy</h3> <p>▸ <strong>destroy</strong>(): <code>void</code></p> <h4 id="returns-5"><a href="#returns-5" class="header-anchor">#</a> Returns</h4> <p><code>void</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/11f3cf6/types/index.d.ts#L538" target="_blank" rel="noopener noreferrer">types/index.d.ts:538<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="draw"><a href="#draw" class="header-anchor">#</a> draw</h3> <p>▸ <strong>draw</strong>(): <code>void</code></p> <h4 id="returns-6"><a href="#returns-6" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L520" target="_blank" rel="noopener noreferrer">types/index.d.ts:520<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="ensurescaleshaveids"><a href="#ensurescaleshaveids" class="header-anchor">#</a> ensureScalesHaveIDs</h3> <p>▸ <strong>ensureScalesHaveIDs</strong>(): <code>void</code></p> <h4 id="returns-7"><a href="#returns-7" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="defined-in-30"><a href="#defined-in-30" class="header-anchor">#</a> Defined in</h4> <p><a href="https://github.com/chartjs/Chart.js/blob/11f3cf6/types/index.d.ts#L514" target="_blank" rel="noopener noreferrer">types/index.d.ts:514<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="getactiveelements"><a href="#getactiveelements" class="header-anchor">#</a> getActiveElements</h3> <p>▸ <strong>getActiveElements</strong>(): <a href="/docs/next/api/interfaces/ActiveElement.html"><code>ActiveElement</code></a>[]</p> <h4 id="returns-8"><a href="#returns-8" class="header-anchor">#</a> Returns</h4> <p><a href="/docs/next/api/interfaces/ActiveElement.html"><code>ActiveElement</code></a>[]</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/11f3cf6/types/index.d.ts#L535" target="_blank" rel="noopener noreferrer">types/index.d.ts:535<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="getdatavisibility"><a href="#getdatavisibility" class="header-anchor">#</a> getDataVisibility</h3> <p>▸ <strong>getDataVisibility</strong>(<code>index</code>): <code>boolean</code></p> <h4 id="parameters-2"><a href="#parameters-2" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>index</code></td> <td style="text-align:left;"><code>number</code></td></tr></tbody></table> <h4 id="returns-9"><a href="#returns-9" class="header-anchor">#</a> Returns</h4> <p><code>boolean</code></p> <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/11f3cf6/types/index.d.ts#L531" target="_blank" rel="noopener noreferrer">types/index.d.ts:531<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="getdatasetmeta"><a href="#getdatasetmeta" class="header-anchor">#</a> getDatasetMeta</h3> <p>▸ <strong>getDatasetMeta</strong>(<code>datasetIndex</code>): <a href="/docs/next/api/#chartmeta"><code>ChartMeta</code></a><keyof <a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, <code>default</code><<code>AnyObject</code>, <code>AnyObject</code>>, <code>default</code><<code>AnyObject</code>, <code>AnyObject</code>>></p> <h4 id="parameters-3"><a href="#parameters-3" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>datasetIndex</code></td> <td style="text-align:left;"><code>number</code></td></tr></tbody></table> <h4 id="returns-10"><a href="#returns-10" class="header-anchor">#</a> Returns</h4> <p><a href="/docs/next/api/#chartmeta"><code>ChartMeta</code></a><keyof <a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, <code>default</code><<code>AnyObject</code>, <code>AnyObject</code>>, <code>default</code><<code>AnyObject</code>, <code>AnyObject</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/11f3cf6/types/index.d.ts#L526" target="_blank" rel="noopener noreferrer">types/index.d.ts:526<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="getelementsateventformode"><a href="#getelementsateventformode" class="header-anchor">#</a> getElementsAtEventForMode</h3> <p>▸ <strong>getElementsAtEventForMode</strong>(<code>e</code>, <code>mode</code>, <code>options</code>, <code>useFinalPosition</code>): <a href="/docs/next/api/interfaces/InteractionItem.html"><code>InteractionItem</code></a>[]</p> <h4 id="parameters-4"><a href="#parameters-4" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>e</code></td> <td style="text-align:left;"><code>Event</code></td></tr> <tr><td style="text-align:left;"><code>mode</code></td> <td style="text-align:left;"><code>string</code></td></tr> <tr><td style="text-align:left;"><code>options</code></td> <td style="text-align:left;"><a href="/docs/next/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> <h4 id="returns-11"><a href="#returns-11" class="header-anchor">#</a> Returns</h4> <p><a href="/docs/next/api/interfaces/InteractionItem.html"><code>InteractionItem</code></a>[]</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/11f3cf6/types/index.d.ts#L523" target="_blank" rel="noopener noreferrer">types/index.d.ts:523<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="getsortedvisibledatasetmetas"><a href="#getsortedvisibledatasetmetas" class="header-anchor">#</a> getSortedVisibleDatasetMetas</h3> <p>▸ <strong>getSortedVisibleDatasetMetas</strong>(): <a href="/docs/next/api/#chartmeta"><code>ChartMeta</code></a><keyof <a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, <code>default</code><<code>AnyObject</code>, <code>AnyObject</code>>, <code>default</code><<code>AnyObject</code>, <code>AnyObject</code>>>[]</p> <h4 id="returns-12"><a href="#returns-12" class="header-anchor">#</a> Returns</h4> <p><a href="/docs/next/api/#chartmeta"><code>ChartMeta</code></a><keyof <a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, <code>default</code><<code>AnyObject</code>, <code>AnyObject</code>>, <code>default</code><<code>AnyObject</code>, <code>AnyObject</code>>>[]</p> <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/11f3cf6/types/index.d.ts#L525" target="_blank" rel="noopener noreferrer">types/index.d.ts:525<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="getvisibledatasetcount"><a href="#getvisibledatasetcount" class="header-anchor">#</a> getVisibleDatasetCount</h3> <p>▸ <strong>getVisibleDatasetCount</strong>(): <code>number</code></p> <h4 id="returns-13"><a href="#returns-13" class="header-anchor">#</a> Returns</h4> <p><code>number</code></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/11f3cf6/types/index.d.ts#L527" target="_blank" rel="noopener noreferrer">types/index.d.ts:527<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="hide"><a href="#hide" class="header-anchor">#</a> hide</h3> <p>▸ <strong>hide</strong>(<code>datasetIndex</code>, <code>dataIndex?</code>): <code>void</code></p> <h4 id="parameters-5"><a href="#parameters-5" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>datasetIndex</code></td> <td style="text-align:left;"><code>number</code></td></tr> <tr><td style="text-align:left;"><code>dataIndex?</code></td> <td style="text-align:left;"><code>number</code></td></tr></tbody></table> <h4 id="returns-14"><a href="#returns-14" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <h4 id="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/11f3cf6/types/index.d.ts#L532" target="_blank" rel="noopener noreferrer">types/index.d.ts:532<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="isdatasetvisible"><a href="#isdatasetvisible" class="header-anchor">#</a> isDatasetVisible</h3> <p>▸ <strong>isDatasetVisible</strong>(<code>datasetIndex</code>): <code>boolean</code></p> <h4 id="parameters-6"><a href="#parameters-6" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>datasetIndex</code></td> <td style="text-align:left;"><code>number</code></td></tr></tbody></table> <h4 id="returns-15"><a href="#returns-15" class="header-anchor">#</a> Returns</h4> <p><code>boolean</code></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/11f3cf6/types/index.d.ts#L528" target="_blank" rel="noopener noreferrer">types/index.d.ts:528<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="ispluginenabled"><a href="#ispluginenabled" class="header-anchor">#</a> isPluginEnabled</h3> <p>▸ <strong>isPluginEnabled</strong>(<code>pluginId</code>): <code>boolean</code></p> <h4 id="parameters-7"><a href="#parameters-7" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>pluginId</code></td> <td style="text-align:left;"><code>string</code></td></tr></tbody></table> <h4 id="returns-16"><a href="#returns-16" class="header-anchor">#</a> Returns</h4> <p><code>boolean</code></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/11f3cf6/types/index.d.ts#L546" target="_blank" rel="noopener noreferrer">types/index.d.ts:546<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="ispointinarea"><a href="#ispointinarea" class="header-anchor">#</a> isPointInArea</h3> <p>▸ <strong>isPointInArea</strong>(<code>point</code>): <code>boolean</code></p> <h4 id="parameters-8"><a href="#parameters-8" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>point</code></td> <td style="text-align:left;"><a href="/docs/next/api/interfaces/Point.html"><code>Point</code></a></td></tr></tbody></table> <h4 id="returns-17"><a href="#returns-17" class="header-anchor">#</a> Returns</h4> <p><code>boolean</code></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/11f3cf6/types/index.d.ts#L522" target="_blank" rel="noopener noreferrer">types/index.d.ts:522<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="notifyplugins"><a href="#notifyplugins" class="header-anchor">#</a> notifyPlugins</h3> <p>▸ <strong>notifyPlugins</strong>(<code>hook</code>, <code>args?</code>): <code>boolean</code> | <code>void</code></p> <h4 id="parameters-9"><a href="#parameters-9" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>hook</code></td> <td style="text-align:left;"><code>string</code></td></tr> <tr><td style="text-align:left;"><code>args?</code></td> <td style="text-align:left;"><code>AnyObject</code></td></tr></tbody></table> <h4 id="returns-18"><a href="#returns-18" class="header-anchor">#</a> Returns</h4> <p><code>boolean</code> | <code>void</code></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/11f3cf6/types/index.d.ts#L544" target="_blank" rel="noopener noreferrer">types/index.d.ts:544<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="render"><a href="#render" class="header-anchor">#</a> render</h3> <p>▸ <strong>render</strong>(): <code>void</code></p> <h4 id="returns-19"><a href="#returns-19" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L519" target="_blank" rel="noopener noreferrer">types/index.d.ts:519<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="reset"><a href="#reset" class="header-anchor">#</a> reset</h3> <p>▸ <strong>reset</strong>(): <code>void</code></p> <h4 id="returns-20"><a href="#returns-20" class="header-anchor">#</a> Returns</h4> <p><code>void</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/11f3cf6/types/index.d.ts#L517" target="_blank" rel="noopener noreferrer">types/index.d.ts:517<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="resize"><a href="#resize" class="header-anchor">#</a> resize</h3> <p>▸ <strong>resize</strong>(<code>width?</code>, <code>height?</code>): <code>void</code></p> <h4 id="parameters-10"><a href="#parameters-10" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>width?</code></td> <td style="text-align:left;"><code>number</code></td></tr> <tr><td style="text-align:left;"><code>height?</code></td> <td style="text-align:left;"><code>number</code></td></tr></tbody></table> <h4 id="returns-21"><a href="#returns-21" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L513" target="_blank" rel="noopener noreferrer">types/index.d.ts:513<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="setactiveelements"><a href="#setactiveelements" class="header-anchor">#</a> setActiveElements</h3> <p>▸ <strong>setActiveElements</strong>(<code>active</code>): <code>void</code></p> <h4 id="parameters-11"><a href="#parameters-11" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>active</code></td> <td style="text-align:left;"><a href="/docs/next/api/interfaces/ActiveDataPoint.html"><code>ActiveDataPoint</code></a>[]</td></tr></tbody></table> <h4 id="returns-22"><a href="#returns-22" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L536" target="_blank" rel="noopener noreferrer">types/index.d.ts:536<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="setdatasetvisibility"><a href="#setdatasetvisibility" class="header-anchor">#</a> setDatasetVisibility</h3> <p>▸ <strong>setDatasetVisibility</strong>(<code>datasetIndex</code>, <code>visible</code>): <code>void</code></p> <h4 id="parameters-12"><a href="#parameters-12" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>datasetIndex</code></td> <td style="text-align:left;"><code>number</code></td></tr> <tr><td style="text-align:left;"><code>visible</code></td> <td style="text-align:left;"><code>boolean</code></td></tr></tbody></table> <h4 id="returns-23"><a href="#returns-23" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L529" target="_blank" rel="noopener noreferrer">types/index.d.ts:529<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="show"><a href="#show" class="header-anchor">#</a> show</h3> <p>▸ <strong>show</strong>(<code>datasetIndex</code>, <code>dataIndex?</code>): <code>void</code></p> <h4 id="parameters-13"><a href="#parameters-13" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>datasetIndex</code></td> <td style="text-align:left;"><code>number</code></td></tr> <tr><td style="text-align:left;"><code>dataIndex?</code></td> <td style="text-align:left;"><code>number</code></td></tr></tbody></table> <h4 id="returns-24"><a href="#returns-24" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L533" target="_blank" rel="noopener noreferrer">types/index.d.ts:533<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="stop"><a href="#stop" class="header-anchor">#</a> stop</h3> <p>▸ <strong>stop</strong>(): <a href="/docs/next/api/classes/Chart.html" aria-current="page" class="router-link-exact-active router-link-active"><code>Chart</code></a><<code>TType</code>, <code>TData</code>, <code>TLabel</code>></p> <h4 id="returns-25"><a href="#returns-25" class="header-anchor">#</a> Returns</h4> <p><a href="/docs/next/api/classes/Chart.html" aria-current="page" class="router-link-exact-active router-link-active"><code>Chart</code></a><<code>TType</code>, <code>TData</code>, <code>TLabel</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/11f3cf6/types/index.d.ts#L511" target="_blank" rel="noopener noreferrer">types/index.d.ts:511<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="tobase64image"><a href="#tobase64image" class="header-anchor">#</a> toBase64Image</h3> <p>▸ <strong>toBase64Image</strong>(<code>type?</code>, <code>quality?</code>): <code>string</code></p> <h4 id="parameters-14"><a href="#parameters-14" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>type?</code></td> <td style="text-align:left;"><code>string</code></td></tr> <tr><td style="text-align:left;"><code>quality?</code></td> <td style="text-align:left;"><code>unknown</code></td></tr></tbody></table> <h4 id="returns-26"><a href="#returns-26" class="header-anchor">#</a> Returns</h4> <p><code>string</code></p> <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/11f3cf6/types/index.d.ts#L539" target="_blank" rel="noopener noreferrer">types/index.d.ts:539<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="toggledatavisibility"><a href="#toggledatavisibility" class="header-anchor">#</a> toggleDataVisibility</h3> <p>▸ <strong>toggleDataVisibility</strong>(<code>index</code>): <code>void</code></p> <h4 id="parameters-15"><a href="#parameters-15" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>index</code></td> <td style="text-align:left;"><code>number</code></td></tr></tbody></table> <h4 id="returns-27"><a href="#returns-27" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <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/11f3cf6/types/index.d.ts#L530" target="_blank" rel="noopener noreferrer">types/index.d.ts:530<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="unbindevents"><a href="#unbindevents" class="header-anchor">#</a> unbindEvents</h3> <p>▸ <strong>unbindEvents</strong>(): <code>void</code></p> <h4 id="returns-28"><a href="#returns-28" class="header-anchor">#</a> Returns</h4> <p><code>void</code></p> <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/11f3cf6/types/index.d.ts#L541" target="_blank" rel="noopener noreferrer">types/index.d.ts:541<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="update"><a href="#update" class="header-anchor">#</a> update</h3> <p>▸ <strong>update</strong>(<code>mode?</code>): <code>void</code></p> <h4 id="parameters-16"><a href="#parameters-16" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>mode?</code></td> <td style="text-align:left;"><code>"normal"</code> | <code>"none"</code> | <code>"hide"</code> | <code>"show"</code> | <code>"active"</code> | <code>"resize"</code> | <code>"reset"</code></td></tr></tbody></table> <h4 id="returns-29"><a href="#returns-29" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L518" target="_blank" rel="noopener noreferrer">types/index.d.ts:518<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="updatehoverstyle"><a href="#updatehoverstyle" class="header-anchor">#</a> updateHoverStyle</h3> <p>▸ <strong>updateHoverStyle</strong>(<code>items</code>, <code>mode</code>, <code>enabled</code>): <code>void</code></p> <h4 id="parameters-17"><a href="#parameters-17" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>items</code></td> <td style="text-align:left;"><a href="/docs/next/api/interfaces/InteractionItem.html"><code>InteractionItem</code></a>[]</td></tr> <tr><td style="text-align:left;"><code>mode</code></td> <td style="text-align:left;"><code>"dataset"</code></td></tr> <tr><td style="text-align:left;"><code>enabled</code></td> <td style="text-align:left;"><code>boolean</code></td></tr></tbody></table> <h4 id="returns-30"><a href="#returns-30" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L542" target="_blank" rel="noopener noreferrer">types/index.d.ts:542<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="getchart"><a href="#getchart" class="header-anchor">#</a> getChart</h3> <p>▸ <code>Static</code> <strong>getChart</strong>(<code>key</code>): <a href="/docs/next/api/classes/Chart.html" aria-current="page" class="router-link-exact-active router-link-active"><code>Chart</code></a><keyof <a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/next/api/interfaces/ScatterDataPoint.html"><code>ScatterDataPoint</code></a> | <a href="/docs/next/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>></p> <h4 id="parameters-18"><a href="#parameters-18" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>key</code></td> <td style="text-align:left;"><code>string</code> | <code>HTMLCanvasElement</code> | <code>CanvasRenderingContext2D</code></td></tr></tbody></table> <h4 id="returns-31"><a href="#returns-31" class="header-anchor">#</a> Returns</h4> <p><a href="/docs/next/api/classes/Chart.html" aria-current="page" class="router-link-exact-active router-link-active"><code>Chart</code></a><keyof <a href="/docs/next/api/interfaces/ChartTypeRegistry.html"><code>ChartTypeRegistry</code></a>, (<code>number</code> | [<code>number</code>, <code>number</code>] | <a href="/docs/next/api/interfaces/ScatterDataPoint.html"><code>ScatterDataPoint</code></a> | <a href="/docs/next/api/interfaces/BubbleDataPoint.html"><code>BubbleDataPoint</code></a>)[], <code>unknown</code>></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/11f3cf6/types/index.d.ts#L553" target="_blank" rel="noopener noreferrer">types/index.d.ts:553<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="register"><a href="#register" class="header-anchor">#</a> register</h3> <p>▸ <code>Static</code> <strong>register</strong>(...<code>items</code>): <code>void</code></p> <h4 id="parameters-19"><a href="#parameters-19" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>...items</code></td> <td style="text-align:left;"><a href="/docs/next/api/#chartcomponentlike"><code>ChartComponentLike</code></a>[]</td></tr></tbody></table> <h4 id="returns-32"><a href="#returns-32" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L554" target="_blank" rel="noopener noreferrer">types/index.d.ts:554<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="unregister"><a href="#unregister" class="header-anchor">#</a> unregister</h3> <p>▸ <code>Static</code> <strong>unregister</strong>(...<code>items</code>): <code>void</code></p> <h4 id="parameters-20"><a href="#parameters-20" class="header-anchor">#</a> Parameters</h4> <table><thead><tr><th style="text-align:left;">Name</th> <th style="text-align:left;">Type</th></tr></thead> <tbody><tr><td style="text-align:left;"><code>...items</code></td> <td style="text-align:left;"><a href="/docs/next/api/#chartcomponentlike"><code>ChartComponentLike</code></a>[]</td></tr></tbody></table> <h4 id="returns-33"><a href="#returns-33" class="header-anchor">#</a> Returns</h4> <p><code>void</code></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/11f3cf6/types/index.d.ts#L555" target="_blank" rel="noopener noreferrer">types/index.d.ts:555<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
←
<a href="/docs/next/api/classes/BasicPlatform.html" class="prev">
BasicPlatform
</a></span> <span class="next"><a href="/docs/next/api/classes/DatasetController.html">
DatasetController
</a>
→
</span></p></div> </main></div><div class="global-ui"></div></div>
<script src="/docs/next/assets/js/app.79ca5bdb.js" defer></script><script src="/docs/next/assets/js/2.5288603d.js" defer></script><script src="/docs/next/assets/js/19.d4506b63.js" defer></script>
</body>
</html>