Most voted "chartjs" questions
Use this tag when the question involves creating, editing or maintaining graphics created using the Chartjs library. This open source library uses canvas (HTML5) and javascript for graphic creation.
Learn more…108 questions
Sort by count of
-
-1
votes1
answer39
viewsI need to add the percentage value to the caption (Chartsjs)
I wanted to add the value of percentages to the caption, I have tried several ways, and still could not the solution to my problem. Component with chart settings @Input() chartData: chartData;…
-
-1
votes1
answer89
viewsJs Chart does not work,saying variable has not been declared
Good personal night, when executing the code below it says: "Uncaught Referenceerror: Chart is not defined" I have tried several modes, however that seemed the most logical. I would like help with…
-
-1
votes1
answer171
viewsHow to dynamically change the color of the bars on the chart in Chart.js
I wanted to change the color of each bar of the chart according to its value. If the value is less than zero, the bar should turn red and if it is greater than zero it turns green. function…
-
-1
votes1
answer23
viewsChart.js does not appear in html
Good morning guys, I recently decided to implement Chart.js in some of my projects, but it does not show me the data. I am leaving below the test source code that is not displayed. <!DOCTYPE…
-
-2
votes1
answer70
viewsGraph not hiding value from last column
The last value of the column is not hidden. When I hide the seller 4 the chart does not hide the values of the seller <!DOCTYPE HTML> <html lang="pt-br"> <head> <meta…
-
-2
votes1
answer563
viewsPopular Chart.JS with Mysql data passed in the page render by an async function
Speak people, I’m wanting to popular a pie chart on my Dashboard page, but I’m not getting, can help me (I don’t want to use php, only javascript, jquery and html). Chart: Chart.JS BD: Mysql…
-
-2
votes1
answer136
viewsProblem selecting month with Chart.js
Hello, I’m having a problem, maybe I’m not doing it properly, but, come on! I use a chart with Chart.js, I managed to bring the sql data of the desired month normally, it is communicating and…
-
-2
votes1
answer32
viewsbutton event in React.JS
i want to add the chart to the panel when I click the access button, as I make it appear inside the panel I stylized without putting it right there, only after clicking the accessos button??? import…