Skip to content

Releases: graphieros/vue-data-ui

VueUiSparkline improved options

04 Apr 15:54
Compare
Choose a tag to compare

The following config options are added to VueUiSparkline :

style.chartWidth: number;
style.dataLabel.show: boolean;
style.dataLabel.offsetX: number;
style.dataLabel.offsetY: number;

These options provide more control on the width of the chart area, and data label placement.

Tooltip slots

04 Apr 05:49
Compare
Choose a tag to compare

This version exposes data into the #tooltip-before and #tooltip-after scoped slots, to facilitate custom tooltip content creation.
All charts bearing tooltips (except for VueUiXy, see further below) expose the same objects:

<VueUiDonut
  :dataset="dataset"
  :config="config"
>
  <template #tooltip-before="{ datapoint, seriesIndex, series, config }">
    ... your custom content here
  </template>
  <template #tooltip-after="{ datapoint, seriesIndex, series, config }">
    ... your custom content here
  </template>
</VueUiDonut>

VueUiXy exposes additional data:

<VueUiXy
  :dataset="dataset"
  :config="config"
>
  <template #tooltip-before="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
    ... your custom content here
  </template>
  <template #tooltip-after="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
    ... your custom content here
  </template>
</VueUiXy>

Tooltip slots

03 Apr 06:05
Compare
Choose a tag to compare

This version introduces the #tooltip-before and #tooltip-after named slots, to further customize your tooltip contents.
It is now that easy to add a picture, another chart, or any content you need into your tooltips.
These slots do not expose any data, as you can already customize data content through the customFormat config option. You can therefore use these slots in conjunction with the default tooltip content, or with your custom content.

<VueUiDonut
  :dataset="dataset"
  :config="config"
>
  <template #tooltip-before>
    <div>This comes first</div>
  </template>
  <template #tooltip-after>
    <div>This comes last</div>
  </template>
</VueUiDonut>

These slots are available on the following components (and on the universal VueDataUi component, provided it wraps one of the following):

  • VueUiAgePyramid
  • VueUiCandlestick
  • VueUiDonut
  • VueUiHeatmap
  • VueUiMolecule
  • VueUiNestedDonuts
  • VueUiOnion
  • VueUiQuadrant
  • VueUiRadar
  • VueUiRings
  • VueUiScatter
  • VueUiVerticalBar
  • VueUiWaffle
  • VueUiXy

Animations improved

02 Apr 15:53
Compare
Choose a tag to compare
  • VueUiSparkHistogram : added optional animation

  • VueUiRadar : added config option to control animations in the tooltip's bar charts

  • VueUiTableSparkline : added config option to control sparkline animations

  • VueUiSparkline : improved animation speed consistency

Mini charts animations

02 Apr 06:12
Compare
Choose a tag to compare

Added optional animation config for the following components:

  • VueUiSparkline
  • VueUiSparkbar
  • VueUiSparkStackbar

Animation is enabled by default.

animation: {
  show: true,
  animationFrames: 60
}

.d.ts file minor fix

31 Mar 18:32
Compare
Choose a tag to compare
v.2.0.54

Minor fix in .d.ts file

VueUiKpi new component

31 Mar 17:05
Compare
Choose a tag to compare

Added new component

Optimized css

31 Mar 08:32
Compare
Choose a tag to compare
v.2.0.51

Optimized css

VueUiIcon

30 Mar 18:31
Compare
Choose a tag to compare

Minor fixes (removed non breaking console error)

VueUiGalaxy gradient

30 Mar 15:44
Compare
Choose a tag to compare

Added gradient config option in VueUiGalaxy