Browse Source

Merge branch 'rm-spaces' into 'main'

rm spaces

See merge request chartwerk/line-pod!9
merge-requests/10/head
Alexey Velikiy 3 years ago
parent
commit
fa11d09f56
  1. 4
      src/index.ts

4
src/index.ts

@ -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 {

Loading…
Cancel
Save