Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: graphieros/vue-data-ui

v2.15.1

10 Jul 06:19
Compare
Choose a tag to compare

VueUiNestedDonuts

Improve graceful layout management of empty data.

v2.15.0

09 Jul 13:32
Compare
Choose a tag to compare

VueUiDonut #218

  • Remove opacity on donut arcs

Multi-line labels #217

  • Generate multiline datalabels when they include a line break \n

Example: "This is a long\nlabel to show"

The table below shows which components accept this feature and where:

Component Label displayed Where to use line breaks
VueUiXy Time labels (x axis) config.chart.grid.labels.xAxisLabels.values
VueUiDonutEvolution Time labels (x axis) config.style.chart.layout.grid.xAxis.dataLabels.values
VueUiHistoryPlot Plot labels dataset names
VueUiParallelCoordinatePlot Axis labels config.style.chart.yAxis.labels.axisNames
VueUiQuadrant Plot labels dataset names
VueUiQuickChart Time labels (x axis) config.xyPeriods
VueUiRidgeline Time labels (x axis) config.style.chart.xAxis.labels.values
VueUiStackbar Time labels (x axis) config.style.chart.grid.x.timeLabels.values
VueUiStripPlot x axis labels dataset names

VueUiWaffle

  • Show graceful layout when all datapoint values are empty arrays

v2.14.2

09 Jul 06:04
Compare
Choose a tag to compare

VueUiDonut & VueUiNestedDonuts #215

  • Add width and height config attributes:
const config = ref({
  style: {
    chart: {
      width: 512,
      height: 360
    }
  }
})

Note: these dimensions will be ignored when responsive is set to true.

Docs are up to date:
VueUiDonut
VueUiNestedDonuts

v2.14.1

08 Jul 13:59
Compare
Choose a tag to compare

VueUiXy

  • Improve series layout in stacked mode

  • Add config option to set x axis crosshairs always on the bottom baseline, or on zero:

config.chart.grid.labels.xAxis.crosshairsAlwaysAtZero: boolean // default: false (previous behavior, always on the bottom baseline)

v2.14.0

08 Jul 06:19
Compare
Choose a tag to compare

Date time formatter

A config datetime formatter was added to the following components, to manage timestamp x axis values formatting:

  • VueUiXy
  • VueUiXyCanvas
  • VueUiStackbar
  • VueUiRidgeline
  • VueUiDonutEvolution
  • VueUiQuickChart
datetimeFormatter: {
  enable: boolean // default: false
  locale: string // default: 'en'
  useUTC: boolean // default: false
  januaryAsYear: boolean // default: false
  options: {
    year: string // default: 'yyyy'
    month: string // default: "MMM 'yy"
    day: string // default: 'dd MMM'
    hour: string // default: 'HH:mm'
    minute: string // default: 'HH:mm:ss'
    second: string // default: 'HH:mm:ss'
  }
}

DOCS are up to date

v2.13.4

07 Jul 06:22
Compare
Choose a tag to compare

Components with dual range zoom

  • Merge tooltips when they collide:
Enregistrement.de.l.ecran.2025-07-07.a.08.20.26.mov

v2.13.3

06 Jul 15:01
Compare
Choose a tag to compare

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
    }
  }
})

v2.12.7

29 Jun 17:44
Compare
Choose a tag to compare
  • Improve management of resizeObservers
  • Import some atom components as async in chart components to improve treeshaking
  • Fix - VueUiRidgeline & VueUiDonutEvolution - Display BaseDraggableDialog in direct parent in fullscreen mode

v2.12.6

27 Jun 12:50
Compare
Choose a tag to compare

Utility functions

Add getCumulativeAverage and getCumulativeMedian utility functions:

getCumulativeAverage

import { getCumulativeAverage } from "vue-data-ui";

// Simple usage
const arr = [0, 1, 2, 3, 4];
const cumulativeAvg = getCumulativeAverage({ values: arr });

// Ignore invalid values entirely
const arrWithInvalid = [0, 1, 2, null, undefined, NaN, Infinity, -Infinity];
const cumulativeAvgNoInvalid = getCumulativeAverage({
    values: arrWithInvalid,
    config: { keepInvalid: false }
});

// Convert invalid values to zero
const cumulativeAvgZeroed = getCumulativeAverage({
    values: arrWithInvalid,
    config: { convertInvalidToZero: true }
});

getCumulativeMedian

import { getCumulativeMedian } from "vue-data-ui";

// Simple usage
const arr = [0, 1, 2, 3, 4];
const cumulativeMed = getCumulativeMedian({ values: arr });

// Ignore invalid values entirely
const arrWithInvalid = [0, 1, 2, null, undefined, NaN, Infinity, -Infinity];
const cumulativeMedNoInvalid = getCumulativeMedian({
    values: arrWithInvalid,
    config: { keepInvalid: false }
});

// Convert invalid values to zero
const cumulativeMedZeroed = getCumulativeMedian({
    values: arrWithInvalid,
    config: { convertInvalidToZero: true }
});

v2.12.5

24 Jun 04:56
Compare
Choose a tag to compare

VueUiDonutEvolution

Improved datapoint focus behavior:

  • Use VueUiDonut in a resizable and draggable dialog
Enregistrement.de.l.ecran.2025-06-24.a.06.47.04.mov

New config attributes to control the dialog and the embedded donut:

const config = ref({
  style: {
    chart: {
      dialog: {
        show: true,
        backgroundColor: '#FFFFFF',
        color: '#D2D353C',
        header: {
          backgroundColor: '#FFFFFF',
          color: '#2D353C',
        },
        donutChart: {
          // VueUiDonut config
        }
      }
    }
  }
})

Deprecated config attributes, related to the old way datapoints were focused on:

const config = ref({
  style: {
    chart: {
      donuts: {
        zoom: {...} // Deprecated
      }
    }
  }
})

Docs are up to date