Yopadd / vue-chartist

Pluging chartist for vuejs
Do What The F*ck You Want To Public License
172 stars 21 forks source link

Strange black background fill the graph #29

Closed Mathieu-R closed 6 years ago

Mathieu-R commented 6 years ago

Hello !

I'm using vue-chartist in a project using Vue 2 and I have this strange black background which I don't know where it's coming from ? Is it a known bug ?

image

Thanks !

MartinMuzatko commented 6 years ago

I would like to know where this comes from. have the same problem

Mathieu-R commented 6 years ago

The problem came from the css. By default it create this ugly black background however it does not seem to be documented in the documentation of chartist.

Here's what I did :

.ct-series-a .ct-area {
    fill: #d70206;
    fill-opacity: 0.1;
    stroke: none;
}

image

mamdasan commented 5 years ago

you forgot to add the chartist css file https://gionkunz.github.io/chartist-js/getting-started.html#one-two-three-css

theavijitsarkar commented 4 years ago

Please mention how to do that

lukecleland-myfiziq commented 4 years ago

https://cdnjs.cloudflare.com/ajax/libs/chartist/0.11.4/chartist.min.css