Questions tagged [chart.jsv3]
25 questions
0
votes
0 answers
The new pie chart cannot same as previous of pie chart
Why the new pie chart cannot same as previous of pie chart of animation and output numbers when onclick event "showHRDCorpPieChart()" the card body? The new pie chart cannot display the number of each data in the pie chart but the previous one can…

Annonymous1
- 1
- 3
0
votes
0 answers
Chart.js v3 x-axis time series labels are not displaying properly
In Chart.js v2 when we have multiple data points for the same month we were able to display only one label month and skip remaining labels .but in v3 it is not supporting for each data point it is displaying label. Is there any capability or method…
0
votes
1 answer
Prevent the tooltip from disappearing in chart.js line graph
Is it possible to prevent the tooltip from disappearing when clicking outside the line graph itself? I want it to always be visible on the latest datapoint clicked.
Im using chart.js 3.9.1 in vue
Thanks :)
0
votes
1 answer
ChartJS v3.X - Limit the string size of label on canvas, without changing tooltip hover string
So, I had some old charts code using a very old Chart.js version 2.x but now due to the need of some functions only found on versions 3.x I'm updating a lot of code from the old charts on the website because a lot of the syntax changed between…

DKage
- 170
- 12
0
votes
1 answer
How can I get a point to be drown over the line?
I have a 2-line chart, one drawn without any points (0 sized), and the other with only 2 points (no line). I'd like to have the points over the line and not the contrary (the line is literally crossing over the point which is not what I want). You…
0
votes
1 answer
chart.js API returns bad x and y points
I am calling my bubbleChart via chart.js API and trying to access x,y values of points but I get this very strange behavior
console.log(bubbleChart._metasets[1].data)
console.log(bubbleChart._metasets[1].data[0])
when I access object.x or object.y…

Mi Ro
- 740
- 1
- 6
- 31
0
votes
1 answer
chart.js 3 stacked bar chart - tooltip showing for zero values
I have a stacked bar chart, and when I hover the mouse near the bottom of bars the tooltip shows zero values like so:
... I only want the tooltip to show on non-zero bars like this:
The JSON for the chart looks like this:
... i.e. "6-10 hours"…

MG123
- 402
- 2
- 14
0
votes
1 answer
Using Chart.js version 3, How to left justify the y-axis labels on a stacked bar chart?
I'm using Chart.js version 3. I need to left justify the labels on the y-axis of a stacked bar chart. How do accomplish that?

Rodney Hickman
- 3,133
- 11
- 53
- 83
0
votes
1 answer
ChartJs: Is there a way to control the font options per line for a multiline axis label
I am open to learning that there is already a way (via configuration, or developing a plugin) to hook into the rendering of the label of an axis, such that I could control aspects of the font used to render each line of a multiline label (e.g., what…

Rich R
- 21
- 6
-2
votes
1 answer
How do I show labels along with lines in Chart.js v3?
Below is my code:
Example