github graphieros/vue-data-ui v2.3.44

latest releases: v3.1.3, v3.1.2, v3.1.1...
10 months ago

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.

Don't miss a new vue-data-ui release

NewReleases is sending notifications on new releases.