github graphieros/vue-data-ui v3.21.3

8 hours ago

VueUiRadar #351

Add config options to control the chart layout when values exceed set targets:

  • instead of overflowing the radar's polygon, the overflowing value becomes the apex value
  • the target polygon can now be displayed, with options for its styles
const config = computed<VueUiRadarConfig>(() => ({
    style: {
        chart: {
            layout: {
                scaleToAxisMax: false, // set to true to set the apex values to the max between the target and the actual value
                    targetReference: {
                        show: false, // show the target polygon
                        stroke: '#2D353C',
                        strokeWidth: 1,
                        strokeDasharray: 4,
                        showInLegend: true,
                        legendLabel: 'Target',
                    },
            }
        }
    }
}))

Docs are up to date.

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

NewReleases is sending notifications on new releases.