Code Monkey home page Code Monkey logo

Comments (4)

rahulgawale avatar rahulgawale commented on September 24, 2024

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.

rahulgawale avatar rahulgawale commented on September 24, 2024

Also, check if your static resource is public.
if possible please add the console logs here.

from chartjs-lwc.

mikesobczak avatar mikesobczak commented on September 24, 2024

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.

rahulgawale avatar rahulgawale commented on September 24, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.