github graphieros/vue-data-ui v2.13.3

latest releases: v3.0.23, v3.0.22, v3.0.21...
2 months ago

VueUiXy

  • Add responsiveProportionalSizing config option, (true by default = previous behavior). Set to true, it disables the text elements automatic resizing in responsive mode. #212

  • Add useNiceScale config option to force a nice scale (false by default = previous behavior)

  • Fix errors on straight line datasets when dataset starts with a null value and cutNullValues is true

  • Add config options for xAxis and yAxis crosshair markers

  • Add optional yAxis annotations, to draw either a line or an area following one or two y values, with a label. You can create multiple annotations:

image

Docs and examples are up to date

All charts with user options

  • Add optional config callbacks to override default button behavior
const config = ref({
  userOptions: {
    // These callbacks will be called when user options buttons are clicked.
    callbacks: {
      pdf: (chart: HTMLElement) => {
        // use your own pdf solution
      },
      img: (base64: string) => {
        // do whatever you want with the base 64 image data of the chart
      },
      csv: (csvContent: string) => {
        // do whatever you want with the csv data
      },
      // all other buttons have also their callbacks (no params), with the same name as the button
    }
  }
})

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

NewReleases is sending notifications on new releases.