Comments (4)
Hi @mikesobczak, please make sure if you have done these things correctly. It looks like the static resource isn't getting loaded correctly. Please make sure that you have uploaded the chart-js file into a static resource with name = ChartJs
.
Also,
Please check if you are getting any errors while loading the static resource.
Try commenting these lines from the chart.js file.
this.chart.canvas.parentNode.style.height = 'auto';
this.chart.canvas.parentNode.style.width = '100%';
from chartjs-lwc.
Also, check if your static resource is public.
if possible please add the console logs here.
from chartjs-lwc.
I was the "Unknown" person on your website. I changed my code to bring in chart.js as a stand-alone zip file and all was good. Strange how that was a problem. Thanks for getting back to me!
from chartjs-lwc.
You are welcome!!
Also, I figured out the mystery behind "Why your profile is showing as Unknown on blogger".
Just for your information!!
Its because you have kept your blogger profile as private. If you check the "Share my profile" checkbox on your blogger profile setting page, your name will be shown instead of Unknown on all blogger based blogs.
Thanks for visiting my blog!
happy coding!!
from chartjs-lwc.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chartjs-lwc.