diff --git a/README.md b/README.md index c15b7b8e..83022cec 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ![GitHub issues](https://img.shields.io/github/issues/graphieros/vue-data-ui) ![NPM](https://img.shields.io/npm/l/vue-data-ui) ![npm](https://img.shields.io/npm/dt/vue-data-ui) -![Static Badge](https://img.shields.io/badge/components-31-green) +![Static Badge](https://img.shields.io/badge/components-32-green) [Interactive documentation](https://vue-data-ui.graphieros.com/) @@ -42,6 +42,7 @@ Available components: - [VueUiWheel](https://vue-data-ui.graphieros.com/docs#vue-ui-wheel) - [VueUiTiremarks](https://vue-data-ui.graphieros.com/docs#vue-ui-tiremarks) - [VueUiDonutEvolution](https://vue-data-ui.graphieros.com/docs#vue-ui-donut-evolution) +- [VueUiMoodRadar](https://vue-data-ui.graphieros.com/docs#vue-ui-mood-radar) ## Mini charts diff --git a/package-lock.json b/package-lock.json index daf57de9..3c7ed907 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vue-data-ui", - "version": "1.9.41", + "version": "1.9.42", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vue-data-ui", - "version": "1.9.41", + "version": "1.9.42", "license": "MIT", "devDependencies": { "@vitejs/plugin-vue": "^4.2.3", diff --git a/package.json b/package.json index 1e22952a..8e98489d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-data-ui", "private": false, - "version": "1.9.41", + "version": "1.9.42", "type": "module", "description": "A user-empowering data visualization Vue components library", "keywords": [ @@ -34,7 +34,8 @@ "rings", "wheel", "tiremarks", - "donut evolution" + "donut evolution", + "mood radar" ], "author": "Alec Lloyd Probert", "repository": { diff --git a/src/App.vue b/src/App.vue index 0de4d7da..7a76c3ed 100644 --- a/src/App.vue +++ b/src/App.vue @@ -42,6 +42,7 @@ import HistoTest from "./components/vue-ui-sparkhistogram.vue"; import RingsTest from "./components/vue-ui-rings.vue"; import WheelTest from "./components/vue-ui-wheel.vue"; import TireTest from "./components/vue-ui-tiremarks.vue"; +import MoodRadarTest from "./components/vue-ui-mood-radar.vue"; import DonutEvolutionTest from "./components/vue-ui-donut-evolution.vue"; const dataset = ref([ @@ -3567,21 +3568,118 @@ function shootScreenProd() { screenshotProd.value.shoot(); } +const moodRadarDataset = ref({ + "1": 98, + "2": 150, + "3": 300, + "4": 350, + "5": 400 +}) + +const moodRadarConfig = ref({ + "useCssAnimation": true, + "style": { + "fontFamily":"inherit", + "chart": { + "backgroundColor":"#FFFFFF", + "color":"#2D353C", + "layout": { + "grid": { + "show": true, + "stroke": "#e1e5e8", + "strokeWidth": 0.5, + "graduations": 5 + }, + "outerPolygon": { + "stroke":"#e1e5e8", + "strokeWidth":1 + }, + "dataPolygon": { + "color": "#5f8bee", + "opacity": 60, + "gradient": { + "show": true, + "intensity": 5 + }, + "stroke":"#5f8bee", + "strokeWidth": 0 + }, + "smileys": { + "strokeWidth": 1, + "colors": { + "1": "#e20001", + "2": "#ff9f03", + "3": "#ffd004", + "4": "#9ac900", + "5": "#059f00" + } + } + }, + "title": { + "text": "TItle", + "color": "#2D353C", + "fontSize": 20, + "bold": true, + "subtitle": { + "color": "#A1A1A1", + "text": "Subtitle", + "fontSize": 16, + "bold": false + } + }, + "legend": { + "color": "#2D353C", + "backgroundColor": "#FFFFFF", + "bold": false, + "show": true, + "fontSize": 16, + "roundingPercentage": 0, + "roundingValue": 0 + } + } + }, + "table": { + "show": false, + "th": { + "backgroundColor": "#FAFAFA", + "color": "#2D353C", + "outline": "1px solid #e1e5e8" + }, + "td": { + "backgroundColor": "#FFFFFF", + "color": "#2D353C", + "outline": "1px solid #e1e5e8", + "roundingValue": 0, + "roundingPercentage": 0 + } + }, + "userOptions": { + "show": true + } + }) +