Vuetify: 1.5.4
Vue: 2.6.8
Browsers: Chrome 72.0.3626.119
OS: Mac OS 10.14.3
Set label-size attr for trend type to any value
Font size for labels must be changed
Font size for labels doesn't change
Still a bug on 2.0.0-beta.0
code explicitly uses label-size only for bar type label generation for some reason.
trend labels inherit their size from their g element which is a hard coded 8px in the code.
can be bypassed via css.
A little workaround:
<v-sparline ref="sparkline" ...></sparkline>
mounted() {
const textElements = this.$refs.sparkline.$el.querySelectorAll('text');
for (const textElement of textElements) {
textElement.style.fontSize = '8px';
}
}
Fixed in #7642
Most helpful comment
Still a bug on 2.0.0-beta.0