Skip to content
Advertisement

Tag: chartist.js

Adding HTML element to a vue template

I’m using a chart component (Chartist) that requires a HTML element to use as a parent when rendering the SVG. The elements that the chart can use is generated during a v-for loop, which means that they are not added to the DOM at the time of the chart rendering. The code looks something like this (in the vue): In

Advertisement