|
|
@ -37,7 +37,7 @@ export class LinePod extends ChartwerkPod<LineTimeSerie, LineOptions> { |
|
|
|
// container for panning
|
|
|
|
// container for panning
|
|
|
|
this.metricContainer = clipContatiner |
|
|
|
this.metricContainer = clipContatiner |
|
|
|
.append('g') |
|
|
|
.append('g') |
|
|
|
.attr('class', ' metrics-rect') |
|
|
|
.attr('class', 'metrics-rect') |
|
|
|
|
|
|
|
|
|
|
|
for(let idx = 0; idx < this.series.length; ++idx) { |
|
|
|
for(let idx = 0; idx < this.series.length; ++idx) { |
|
|
|
if(this.series[idx].visible === false) { |
|
|
|
if(this.series[idx].visible === false) { |
|
|
@ -455,7 +455,7 @@ export const VueChartwerkLineChartObject = { |
|
|
|
mixins: [VueChartwerkPodMixin], |
|
|
|
mixins: [VueChartwerkPodMixin], |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
render() { |
|
|
|
render() { |
|
|
|
if(this.pod === undefined) {
|
|
|
|
if(this.pod === undefined) { |
|
|
|
this.pod = new LinePod(document.getElementById(this.id), this.series, this.options); |
|
|
|
this.pod = new LinePod(document.getElementById(this.id), this.series, this.options); |
|
|
|
this.pod.render(); |
|
|
|
this.pod.render(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|