Skip to main content

Questions tagged [chart.js]

Chart.js is an open source JavaScript library for creating animated, interactive charts for inclusion on web pages.

-1 votes
0 answers
18 views

Uncaught runtime errors: ERROR dispatcher is null

Trying to use chart.js, but everytime i try fetch the data it throws me 'Uncaught runtime errors: ERROR dispatcher is null' this error. The page doesn't render at all, everything on there is gone, ...
stan 's user avatar
0 votes
0 answers
18 views

ChartJs adding data point between x axis point [closed]

chart image how can I hide the gap between age 6 and 7 and so on but still keep the data point? So basically the Min, Avg, and Max is a yearly data, but the Height is a progress data that would be ...
lucky12020's user avatar
0 votes
0 answers
19 views

Show dataset by dataset bars/lines in chart.js [closed]

enter image description here enter image description here I want to show bars/line points grouped by dataset. it should show dataset by dataset bar/lines. currently it shows all togather. I want it to ...
Dilip Tarkhala's user avatar
0 votes
1 answer
22 views

how to make chartjs-plugin-colorschemes 0.4.0 work with Chart.js v4.4.3

basically im doing everything like written in the doc, so <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/chart.js"></script> <script type="...
murison's user avatar
  • 3,833
0 votes
2 answers
24 views

How to have line span from 2 points in chartjs?

I currently have a chart with a dynamic line and a horizontally static line: Right now, the code manually types out the horizontal data points 50 times: var data1 = { datasets: [ ...
Rohan Shah's user avatar
1 vote
0 answers
22 views

Indicate label for Horizontal line

I'm trying to find a way to add a label to show what red horizontal line indicates (in this case it's target) Can anyone help me to add a label for horizontal line which cross through y = 100, please? ...
Wathsala Heenkende's user avatar
0 votes
0 answers
32 views

ChartJS Barchart/Piechart not showing labels [closed]

I'm trying to use ChartJS to display a barchart on a webpage, which will be populated by a list of expenditure categories and the amounts a user has spent within those categories. However when I'm ...
Bethany Burrows's user avatar
0 votes
0 answers
34 views

Chart.js 2.9.3 - Issues with time-based charts and zooming

I have a problem with chart.js 2.9.3. The program is quite simple: You must choose a time period You must choose whether the X axis will be spatial (kilometers) or temporal (dates) You must choose ...
Bruno brunko_hacks Bruno's user avatar
0 votes
1 answer
26 views

How do I change the font color of this chart in chart.js

How do I change the font color of this chart in chart.js? can anybody help me this is my code: const ctx = document.getElementById('chart'); // Chart.defaults.color = '#000'; new Chart(ctx, { type:...
LG .i1's user avatar
  • 1
0 votes
0 answers
27 views

chart.js graph elements shifting position during continuous updates

I have implemented a Chart.js graph in a Blazor project for monitoring a flow. The x and y values are updated approximately once every second (not at exact intervals) when window.updateHistory(...
Johan hvn's user avatar
  • 358
0 votes
0 answers
33 views

Hide Number on Vue chart Js [closed]

i want hide the number on point line chart, i try the props on documentation vue chart js but doesn't works, any idea for my case ? i attach the current situation on my line chart, can i hide the ...
Anang Ma'ruf's user avatar
0 votes
0 answers
41 views

Chart.js line plot with multiple overlapping datasets

I'm trying to draw several lines on the same graph. The different datasets have different labels (the X axis comes from a TIMESTAMP sql). Here, the different datasets are concatenated, but they should ...
Charles's user avatar
  • 83
-1 votes
0 answers
23 views

New chart.js tooltip function . customised tool tip , chart.js

I am working on chart.js I want to create customised tooltip, like from scratch so to refer I want to go through the source code of chart.js tooltip I want to know the exact patch where this tooltip ...
apeksha's user avatar
1 vote
0 answers
29 views

ChartJS Tooltips aren't correctly displaying. What am I doing wrong?

I am trying to add extra information to my tooltips (when a user hovers over data point in a line chart) and the only information showed is the Player Count. It should include Player Count, Game Time, ...
Fire Aussie's user avatar
0 votes
0 answers
24 views

Chartjs 2 extend space at the edges of each category bar [closed]

During the work with chartjs2 I have encountered on the following problem. This is my bar chart. Where I placed two series per each bar category. I have tried with bar and category percentage but ...
maciejka's user avatar
  • 948

15 30 50 per page
1
2 3 4 5
827