|
|
|
@ -37,7 +37,7 @@ export class LinePod extends ChartwerkPod<LineTimeSerie, LineOptions> {
|
|
|
|
|
// 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 { |
|
|
|
|