VueUiSparkline
New config attribute to make the chart responsive.
const config = ref({
responsive: true, // default: false (chart resizes based on the width of the parent only)
... //rest of your config
})
Avoid placing a responsive chart inside a parent with dimensions set to 100% instead of fixed dimensions.
VueUiXy
New config attributes to force the Y axis scale min and max values:
chart.grid.labels.yAxis.scaleMin: number; // default: null
chart.grid.labels.yAxis.scaleMax: number; // default: null
Either one, both or none can be used to force scaling.
An example was added in the Use cases of the VueUiXy documentation page.