Browse Source

fix x-axis label position

merge-requests/20/head
rozetko 3 years ago
parent
commit
9390b658e8
  1. 2
      src/index.ts

2
src/index.ts

@ -496,7 +496,7 @@ abstract class ChartwerkPod<T extends Serie, O extends Options> {
return;
}
let yPosition = this.height + this.margin.top + this.margin.bottom - 35;
if(this.series.isSeriesAvailable) {
if(!this.series.isSeriesAvailable) {
yPosition += 20;
}
this.chartContainer.append('text')

Loading…
Cancel
Save