# Chart js is not working

**URL:** <https://forum.freecodecamp.org/t/chart-js-is-not-working/308719>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [August 24, 2019, 11:20am UTC](https://forum.freecodecamp.org/t/chart-js-is-not-working/308719 "2019-08-24T11:20:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mustaphason](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mustaphason](https://forum.freecodecamp.org/u/mustaphason)\
**Post date:** [August 24, 2019, 11:20am UTC](https://forum.freecodecamp.org/t/chart-js-is-not-working/308719/1 "2019-08-24T11:20:05Z")

</div>

Hello campers ,I followed the Chart js docs ,wich explain how to use it with webpack in Chart integration section ,  
but when I run webpack the canvas element changes but it is not displayed , it is like full of the bar chart but it is not visible ,I typed on the top of index.js wich is the entry file this  
**import Chart from ‘chart.js’;**  
and in it I used some of the provided example of creating bar chart.  
and also I cretaed canvas tag in html page,so it seems like everything is good,but something is missing I don’t know what it is .  
please any help is apperciated .

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 25, 2021, 12:19pm UTC](https://forum.freecodecamp.org/t/chart-js-is-not-working/308719/2 "2021-01-25T12:19:59Z")

</div>

Closed on January 25, 2021, 12:19pm UTC


