chart.js not not render
See original GitHub issueHello, I have installed ReLaXed on Mac Os and Debian 9. nodeJS version 8.11.2 a directory structure is ep.pug styles.scss diagrams pie.chart.js
in chart.js is
{
type: 'pie',
data: {
datasets: [{
data: [10, 20, 30],
backgroundColor:["#db7575", "#dbc575", "#75b0db"]
}],
labels: ['Normal', 'Osteopenia', 'Osteoporosis']
},
options: {
width:500,
height:500,
devicePixelRatio: 3,
legend: {
position: 'bottom'
}
}
};
compilation works well no errors, pdf is creating but an image from chart.js no. Any suggests?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Chartjs not rendering chart and no error thrown - Stack Overflow
The issue is, you are using ChartJS v1, but are constructing the chart as it is for ChartJS v2. You should be using...
Read more >[SOLVED] Chart.js not rendering on editor X?? | Velo by Wix
I've been struggling for a week to get Chart.js to render using my data, I replicated the Chart.js example ...
Read more >Why is Chart.js not rendering? Error: Uncaught ReferenceError
I am trying to implement chart.js in my django project, and I am starting with the example graph used on the chart.js website,...
Read more >Responsive Charts - Chart.js
When it comes to changing the chart size based on the window size, a major limitation is that the canvas render size (...
Read more >Not rendered charts after update to 3.5 · Issue #9515 - GitHub
Hey, i recently update my project to ChartJs version 3.5 from 3.4.1. My issue is that the most of the charts are not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just a note that this is fixed in the repo for sure (there is now a test for it). The next release will also allow to directly generate the figure with:
Sorry for the broken feature, while I believe I fixed it on Github I want to have the plugin system ready before the next release so it is going to take a bit more time (95% chances before the end of the week).