Skip to content

Releases: graphieros/vue-data-ui

Mini charts click events

08 Mar 06:17
Compare
Choose a tag to compare

This version adds click events to all mini charts:

VueUiSparkline
VueUiSparkbar
VueUiSparkStackbar
VueUiSparkHistogram

use the @selectDatapoint event on the component to retrieve the selected datapoint and index

<VueUiSparkbar
  :dataset="dataset"
  :config="config"
  @selectDatapoint="selectDatapoint"
/>

function selectDatapoint({ datapoint, index }) {
  console.log({ datapoint, index })
}

Headless custom tooltips

07 Mar 15:34
Compare
Choose a tag to compare

When using the customFormat tooltip config option, tooltips are headless.

Custom styles can be applied by targeting the following css class:

.vue-data-ui-custom-tooltip

Custom tooltips

07 Mar 08:54
Compare
Choose a tag to compare

All charts with tooltips now have a customFormat tooltip config option, allowing to customize the tooltip contents.
This config option is set to null by default, resulting in the default tooltip behavior.

customFormat: ({ seriesIndex, datapoint, series, config }) => {
// use the args to build your custom content
return <div>...your content here</div>
}
customFormat must return a string.

Custom toolltips

07 Mar 07:48
Compare
Choose a tag to compare

All charts with tooltips now have a customFormat tooltip config option, allowing to customize the tooltip contents.
This config option is set to null by default, resulting in the default tooltip behavior.

customFormat: ({ seriesIndex, datapoint, series, config }) => {
  // use the args to build your custom content
  return `<div>...your content here</div>`
}

customFormat must return a string.

VueUiQuadrant

04 Mar 07:26
Compare
Choose a tag to compare

VueUiQuadrant

  • added style.chart.layout.labels.plotLabels.showAsTag config option

VueUiDonutEvolution fix

03 Mar 09:11
Compare
Choose a tag to compare

VueUiDonutEvolution

  • fixed config option style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast not being applied

VueUiSparkbar minor fix

02 Mar 08:15
Compare
Choose a tag to compare

VueUiSparkbar fixed options which were not applied:

  • style.fontFamily
  • style.backgroundColor

VueUiHeatmap & VueUiQuadrant fixes

01 Mar 16:40
Compare
Choose a tag to compare

VueUiHeatmap :

  • improved right legend layout
  • fixed cells centering when spacing is applied

VueUiQuadrant :

  • fixed a bug causing negative value datapoints overflowing from the grid

VueUiXy fix

20 Feb 19:32
Compare
Choose a tag to compare

Fixed a bug introduced in previous release, which breaked the chart if partial config prop was passed to the component.

VueUiXy fix

19 Feb 07:22
Compare
Choose a tag to compare

Fixed issues occurring in sparkline data table when dataset series are of uneven length.