diff --git a/src/index.ts b/src/index.ts index 7eeb961..362c9a8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -37,7 +37,7 @@ export class LinePod extends ChartwerkPod { // container for panning this.metricContainer = clipContatiner .append('g') - .attr('class', ' metrics-rect') + .attr('class', 'metrics-rect') for(let idx = 0; idx < this.series.length; ++idx) { if(this.series[idx].visible === false) { @@ -455,7 +455,7 @@ export const VueChartwerkLineChartObject = { mixins: [VueChartwerkPodMixin], methods: { render() { - if(this.pod === undefined) { + if(this.pod === undefined) { this.pod = new LinePod(document.getElementById(this.id), this.series, this.options); this.pod.render(); } else {