Skip to content

Releases: graphieros/vue-data-ui

v2.6.11

04 Mar 18:24
Compare
Choose a tag to compare

VueUiXyCanvas #173

  • Add config options to set labels font weight:
config.style.chart.grid.y.axisLabels.bold: boolean; // default: false
config.style.chart.grid.y.timeLabels.bold: boolean; // default: false
config.style.chart.dataLabels.bold: boolean; // default: false

v2.6.9

03 Mar 08:12
Compare
Choose a tag to compare

VueUiXyCanvas #172

  • Add config option to opt in or out of default gradient for bars:
config.style.chart.bar.gradient.show: boolean; // default: true

v2.6.8

02 Mar 09:15
Compare
Choose a tag to compare

VueUiXy

  • Minor style improvement for the selected state of Y scale in individualScale mode

v2.6.7

01 Mar 17:04
Compare
Choose a tag to compare

Accessibility improvement

  • Most charts svg element now have aria attributes to improve accessibility.

v2.6.6

26 Feb 05:24
Compare
Choose a tag to compare

This release fixes TS type errors.

v2.6.5

23 Feb 10:35
Compare
Choose a tag to compare

VueUiSparkline

Fix edge cases layout bugs when dataset contains a single datapoint.

v2.6.4

20 Feb 09:59
Compare
Choose a tag to compare

VueUiXyCanvas #168

  • Fix scale issue in stack mode
  • Add optional dataset attribute showYMarker to display a data label on the Y axis when hovering the chart
  • Add config attribute to show an horizontal selector when hovering the chart:
config.style.chart.selector.showHorizontalSelector: boolean; // default: false

Color pickers (built-in annotator from the user options menu in most charts)

  • Improved accessibility

v2.6.3

12 Feb 05:51
Compare
Choose a tag to compare

VueUiRating

  • Add scoped slots to customize rating units. Individual content can be customized for each rating unit, using divs, images or svg.

#layer-under to customize the unselected state
#layer-above to customize the active state

Enregistrement.de.l.ecran.2025-02-12.a.06.46.04.mov

Example:

            <VueUiRating :dataset="dataset" :config="config" ref="build" @rate="setRating">
                <template #layer-under="{ value, size, focusedValue }">
                    <svg viewBox="0 0 10 10" :style="{ overflow: 'visible' }">
                        <path v-if="value === 1" :stroke="focusedValue === value ? '#6A6A6A' : '#CCCCCC'" stroke-linecap="round" d="M 0 5 L 10 4 L 10 6 L 0 5 Z" fill="#CCCCCC"/>
                        <path v-if="value === 2" :stroke="focusedValue === value ? '#6A6A6A' : '#CCCCCC'" stroke-linecap="round" d="M 0 4 L 10 3 L 10 7 L 0 6 Z" fill="#CCCCCC"/>
                        <path v-if="value === 3" :stroke="focusedValue === value ? '#6A6A6A' : '#CCCCCC'" stroke-linecap="round" d="M 0 3 L 10 2 L 10 8 L 0 7 Z" fill="#CCCCCC"/>
                        <path v-if="value === 4" :stroke="focusedValue === value ? '#6A6A6A' : '#CCCCCC'" stroke-linecap="round" d="M 0 2 L 10 1 L 10 9 L 0 8 Z" fill="#CCCCCC"/>
                        <path v-if="value === 5" :stroke="focusedValue === value ? '#6A6A6A' : '#CCCCCC'" stroke-linecap="round" d="M 0 1 L 10 0 L 10 10 L 0 9 Z" fill="#CCCCCC"/>
                    </svg>
                </template>
                <template #layer-above="{ value, size, hoveredValue, focusedValue }">
                    <svg viewBox="0 0 10 10" :style="{ overflow: 'visible' }">
                        <path v-if="value === 1" fill="#5A5A5A" stroke="#5A5A5A" stroke-linecap="round" d="M 0 5 L 10 4 L 10 6 L 0 5 Z" :style="{ opacity: (value <= r || value < hoveredValue) ? 1 : 0}"/>
                        <path v-if="value === 2" fill="#4A4A4A" stroke="#4A4A4A" stroke-linecap="round" d="M 0 4 L 10 3 L 10 7 L 0 6 Z" :style="{ opacity: (value <= r || value <= hoveredValue) ? 1 : 0}"/>
                        <path v-if="value === 3" fill="#3A3A3A" stroke="#3A3A3A" stroke-linecap="round" d="M 0 3 L 10 2 L 10 8 L 0 7 Z" :style="{ opacity: (value <= r || value <= hoveredValue) ? 1 : 0}"/>
                        <path v-if="value === 4" fill="#2A2A2A" stroke="#2A2A2A" stroke-linecap="round" d="M 0 2 L 10 1 L 10 9 L 0 8 Z" :style="{ opacity: (value <= r || value <= hoveredValue) ? 1 : 0}"/>
                        <path v-if="value === 5" fill="#1A1A1A" stroke="#1A1A1A" stroke-linecap="round" d="M 0 1 L 10 0 L 10 10 L 0 9 Z" :style="{ opacity: (value <= r || value <= hoveredValue) ? 1 : 0}"/>
                    </svg>
                </template>
            </VueUiRating>

Docs are up to date.

v2.6.2

10 Feb 06:31
Compare
Choose a tag to compare

VueUiXy

  • Ignore null values for line generation

v2.6.1

07 Feb 05:51
Compare
Choose a tag to compare

Technical release

  • Vue version updated to v3.5.13
  • Vite version updated to v6.1.0