From 132a8bc84b7276184eb3822f6a902f671c536a02 Mon Sep 17 00:00:00 2001 From: Leto Date: Mon, 14 Aug 2023 16:23:17 +0800 Subject: [PATCH 1/2] feat(dashboard): set yAxis.minInterval on several charts --- .../plugins/viz-components/boxplot-chart/option/index.ts | 1 + .../components/plugins/viz-components/cartesian/option/y-axis.ts | 1 + .../plugins/viz-components/pareto-chart/option/y-axes.ts | 1 + .../plugins/viz-components/scatter-chart/option/y-axis.ts | 1 + 4 files changed, 4 insertions(+) diff --git a/dashboard/src/components/plugins/viz-components/boxplot-chart/option/index.ts b/dashboard/src/components/plugins/viz-components/boxplot-chart/option/index.ts index af36e2c83..d49f1a82b 100644 --- a/dashboard/src/components/plugins/viz-components/boxplot-chart/option/index.ts +++ b/dashboard/src/components/plugins/viz-components/boxplot-chart/option/index.ts @@ -51,6 +51,7 @@ export function getOption({ config, data, variables }: IGetOption) { yAxis: [ { name: y_axis.name, + minInterval: 1, nameTextStyle: { fontWeight: 'bold', }, diff --git a/dashboard/src/components/plugins/viz-components/cartesian/option/y-axis.ts b/dashboard/src/components/plugins/viz-components/cartesian/option/y-axis.ts index 348c5da98..64303ce0d 100644 --- a/dashboard/src/components/plugins/viz-components/cartesian/option/y-axis.ts +++ b/dashboard/src/components/plugins/viz-components/cartesian/option/y-axis.ts @@ -8,6 +8,7 @@ export function getYAxes(conf: ICartesianChartConf, labelFormatters: Record Date: Mon, 14 Aug 2023 16:23:34 +0800 Subject: [PATCH 2/2] chore: publish v10.17.0 --- api/package.json | 2 +- dashboard/package.json | 2 +- package.json | 2 +- settings-form/package.json | 2 +- website/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/package.json b/api/package.json index 4f9f6b65b..ff2235ab7 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "@devtable/api", - "version": "10.16.0", + "version": "10.17.0", "description": "", "main": "index.js", "scripts": { diff --git a/dashboard/package.json b/dashboard/package.json index 5e29440c1..8b1dd98ad 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -1,6 +1,6 @@ { "name": "@devtable/dashboard", - "version": "10.16.0", + "version": "10.17.0", "license": "Apache-2.0", "publishConfig": { "access": "public", diff --git a/package.json b/package.json index 0a60e2f44..92c988766 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtable/root", - "version": "10.16.0", + "version": "10.17.0", "private": true, "workspaces": [ "api", diff --git a/settings-form/package.json b/settings-form/package.json index 74cdd1024..6da5a6a30 100644 --- a/settings-form/package.json +++ b/settings-form/package.json @@ -1,6 +1,6 @@ { "name": "@devtable/settings-form", - "version": "10.16.0", + "version": "10.17.0", "license": "Apache-2.0", "publishConfig": { "access": "public", diff --git a/website/package.json b/website/package.json index 5803c73ab..cdc83f927 100644 --- a/website/package.json +++ b/website/package.json @@ -2,7 +2,7 @@ "name": "@devtable/website", "private": true, "license": "Apache-2.0", - "version": "10.16.0", + "version": "10.17.0", "scripts": { "dev": "vite", "preview": "vite preview"