Clean up axis padding and too many axis lines
return null;
}
+ this.$nextTick(() => {
+ $('g.bb-axis.bb-axis-x text[style*="display: none;"]').siblings().css({
+ 'display': 'none',
+ });
+ });
+
return bb.generate({
bindto: `#${id}`,
data: {
culling: true,
format: x => timeSeriesFormat(x * interval),
},
+ padding: {
+ left: 0,
+ },
},
y: {
min: 0,
culling: true,
format: yAxisFormatter,
},
+ padding: {
+ bottom: 0,
+ },
},
},
...defaultChartOptions,
