Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
42 views

Custom sorting of bars within x-axis groups

I'm hoping someone has figured out how to properly sort "datasets" within their clusters in a ChartJS Bar chart. Below is an example of a bar chart in ChartJS with multiple "datasets&...
Tiguere's user avatar
  • 11
-1 votes
0 answers
41 views

Zoom in ChartJS is not centered in the mouse position

I'm having trouble with the zoom using ChartJS. I'm using a canvas with a candle chart to display the stock price and other two canvas to display bars for the volume. The problem is that when zooming, ...
Gino Colaiacovo's user avatar
0 votes
0 answers
27 views

Chart.js barplot keeps getting bigger without stopping [closed]

Just like the title says. I have a chart that when I open the page it keeps getting bigger and bigger and bigger. I genuinely don't understand why because I have another plot pretty similar with the ...
Lucas Varela's user avatar
0 votes
0 answers
32 views

How to handle event on data label in Vue Chart.js?

This is my chart component and I want to handle events on labels I define in data. I would like to show the tooltip with bar data when I hover on a label. <template> <Bar :data="data&...
Chiara Ani's user avatar
  • 1,073
0 votes
1 answer
22 views

Callback Return None removes gridlines

In chart.js line chart, I place a vertical grid line in only every 720 ticks, which works fine. then I add a number on the x axis using callback and it removes my nice gridlines. this is also ...
Geert van Wees's user avatar
0 votes
1 answer
30 views

How to show tooltip for points with null values in chart js?

I'm using Chart.js to display a line chart with custom tooltips. I have implemented the custom tooltip rendering logic using the external option in the tooltip plugin. However, when there are points ...
gifteddiz's user avatar
0 votes
0 answers
29 views

How to display percentages (not raw numbers) in a Doughnut chart using Chart.js and PHP? [closed]

I'm working on a project where I need to generate a Doughnut chart displaying the percentage distribution of different emotions based on data stored in a CSV file. I’m using PHP to parse the CSV and ...
Tasos Apostolopoulos's user avatar