creativetimofficial / ct-light-bootstrap-dashboard-pro-angular

7 stars 2 forks source link

Using Chartist Plugins #22

Open p-clark opened 6 years ago

p-clark commented 6 years ago

I have been attempting to integrate two of the Chartist plugins into this project but am having some difficulty. The two I am wanting to use are the chartist-plugin-tooltip and the chartist-plugin-zoom.

I have read some of the other creative-tim issues others have encountered, but they are with different projects and I am having difficulty understanding exactly what they did to get them working.

Does someone have a list of steps that they used with the light-bootstrap-dashboard angular projects where they were able to apply the plugins successfully? I either get javascript errors (in the case of zoom) or the styling is not applied such that the tooltip is not formatted correctly.

The javascript errors:

ERROR TypeError: Cannot read property 'max' of undefined
    at project (chartist-plugin-zoom.js:289)
    at zoomIn (chartist-plugin-zoom.js:224)

The styling for the chartist-plugin-tooltip is never imported.

Thank you for any assistance.

chelaruc commented 5 years ago

@p-clark thank you for using our product and sorry for the late response. Have you managed to fix it? Best, Ciprian

p-clark commented 5 years ago

@chelaruc Unfortunately, no I have not managed to fix it.