chart.js3 Questions

5

Solved

I'm trying reproducing this example from chart.js documentation: https://www.chartjs.org/docs/latest/samples/line/interpolation.html But I keep getting this error: Uncaught ReferenceError: Utils i...
Stromboli asked 22/4, 2021 at 9:2

2

Solved

My current graphs on the webpage are powered by Chart.js v2.5.3. Charts that were configured a while ago works perfectly fine. Here is the code: var ctw = document.getElementById("chart-budget...
Groceryman asked 4/4, 2021 at 16:17

5

I upgraded to the newest Chart.JS version 3.0.2. and I'm trying to get a time series chart to render. Here is my config: { type: 'line', data: { datasets: [{ data: dataForChart }] }, options...
Salamanca asked 9/4, 2021 at 8:20

2

Solved

I am migrating chart.js to 3.x as per the migration guide. https://www.chartjs.org/docs/master/getting-started/v3-migration/ I am trying to set the xAxis zeroLineColor to "#FFFFFF" and I ...
Sum asked 20/9, 2020 at 8:31

2

Solved

Using Chart JS version 3. How do you pass in custom data that can be used by the external tooltip? I want to recreate this tooltip in HTML. I'm following the example "#External (Custom) Toolt...
Ruella asked 22/10, 2021 at 15:24

1

I'm trying to build a bar chart with custom caret and position on Char JS 3.3.2. I just added beforeDraw callback in plugin but it's not called ever. plugins: { beforeDraw: () => { console.log...
Mckown asked 29/6, 2021 at 9:41

3

Solved

I'm new to Chart.js, saw the v3 doc: Chart.js 3 is tree-shakeable, so it is necessary to import and register the controllers, elements, scales, and plugins you are going to use. I'm wondering whe...
Gibbeon asked 25/11, 2020 at 10:35

1

Solved

I'm trying to use Chart.js 3.3.2 to display some a line graph with an equally spaced x date axis. Like the example they give here. I cannot get a simple version of this example working (see below s...
Valdivia asked 19/6, 2021 at 16:7

1

Solved

I know there are a few answer for this, but it seems this one is a bit different. I need to change doughnut chart, rounded the first one and the last but one too. So in my example the black (first ...
Rasorial asked 14/6, 2021 at 10:7

1

Solved

how can i customize labels in radar chart? i'm not refer to legend's labels, but the voice at the vertex of the radar chart in particular font and color i search a lot but i found soluton for older...
Constitutionalism asked 28/4, 2021 at 13:1

1

Solved

Up until release 2.9.4, I used ChartJS in combination with @types/chart.js to get all the types for TypeScript support. My working minimal example with Webpack and TypeScript looks as follows: pack...
Unquestioned asked 4/4, 2021 at 22:43

2

Solved

I have the below Chart implemented using chart.js version 3.x. https://jsfiddle.net/Lxya0u98/12/ I have multiple datasets in my charts to achieve the behavior I want. I am facing an issue with the ...
Pipkin asked 24/12, 2020 at 10:30
1

© 2022 - 2024 — McMap. All rights reserved.