diff --git a/src/resources/components/customtemplate/customtemplate-viewer.vue b/src/resources/components/customtemplate/customtemplate-viewer.vue index 25c8b336951acc0ed9f61c24726b4f44dc8b5afb..f16607e3099a8a8ccf1c1632e0c2b460cc1a1477 100644 --- a/src/resources/components/customtemplate/customtemplate-viewer.vue +++ b/src/resources/components/customtemplate/customtemplate-viewer.vue @@ -1,185 +1,187 @@ - - + + diff --git a/src/views/pages/dashboard/widget/configs/original/columnline-widget-config.vue b/src/views/pages/dashboard/widget/configs/original/columnline-widget-config.vue index 08b9507e3e1fec0c558af52d9214ed370007077f..1eae1bd9cef2d39866eba90774a69069d2c92e52 100644 --- a/src/views/pages/dashboard/widget/configs/original/columnline-widget-config.vue +++ b/src/views/pages/dashboard/widget/configs/original/columnline-widget-config.vue @@ -1,114 +1,100 @@ - - - + + + diff --git a/src/views/pages/report/statement/statement-layout-edit.vue b/src/views/pages/report/statement/statement-layout-edit.vue index 660142a10837e4d13b96acfd43447f9ba342cf89..da2e1b430d808faa2bb61d7c5d16cc59a62a52fe 100644 --- a/src/views/pages/report/statement/statement-layout-edit.vue +++ b/src/views/pages/report/statement/statement-layout-edit.vue @@ -1,132 +1,133 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetborderconfigs/gradient-config.vue b/src/views/pages/report/statement/widgetborderconfigs/gradient-config.vue new file mode 100644 index 0000000000000000000000000000000000000000..b666c08cade1c17c748570247f0cdfcba9790384 --- /dev/null +++ b/src/views/pages/report/statement/widgetborderconfigs/gradient-config.vue @@ -0,0 +1,113 @@ + + + diff --git a/src/views/pages/report/statement/widgetborderconfigs/index.js b/src/views/pages/report/statement/widgetborderconfigs/index.js index 3e2ef04fdf32760436475ca6a0cd5e002b54a70f..84e0b849d4eaed1e0b6d4ed5a48f43d8e7f71ff3 100644 --- a/src/views/pages/report/statement/widgetborderconfigs/index.js +++ b/src/views/pages/report/statement/widgetborderconfigs/index.js @@ -1,4 +1,5 @@ -export { default as highlight_config } from './highlight-config.vue'; -export { default as twocolor_config } from './twocolor-config.vue'; -export { default as rainbow_config } from './rainbow-config.vue'; - +export { default as highlight_config } from './highlight-config.vue'; +export { default as twocolor_config } from './twocolor-config.vue'; +export { default as rainbow_config } from './rainbow-config.vue'; +export { default as gradient_config } from './gradient-config.vue'; + diff --git a/src/views/pages/report/statement/widgetborders/border-list.js b/src/views/pages/report/statement/widgetborders/border-list.js index 11c5bb460e551daccb3b35d8c7e13e07c3da4406..a1ec82cc56acce0865ef83e73d188b925067a4f9 100644 --- a/src/views/pages/report/statement/widgetborders/border-list.js +++ b/src/views/pages/report/statement/widgetborders/border-list.js @@ -1,33 +1,45 @@ -import {$t} from '@/resources/init.js'; - -export const BORDER_LIST = [ - { - name: 'highlight', - label: $t('term.report.highlightborder'), - config: { - cornersize: 8, - width: 2, - color: '#02a6b5', - cocolor: 'rgba(255,255,255,0.2)' - } - }, - { - name: 'twocolor', - label: $t('term.report.doublecoloroverlap'), - config: { - delay: 4, - width: 10, - offset: 10, - coloralpha: '#93e1d8', - colorbeta: '#aa4465' - } - }, - { - name: 'rainbow', - label: $t('term.report.rainbowfluorescence'), - config: { - delay: 20, - width: 0 - } - } -]; +import {$t} from '@/resources/init.js'; + +export const BORDER_LIST = [ + { + name: 'highlight', + label: $t('term.report.highlightborder'), + config: { + cornersize: 8, + width: 2, + color: '#02a6b5', + cocolor: 'rgba(255,255,255,0.2)' + } + }, + { + name: 'twocolor', + label: $t('term.report.doublecoloroverlap'), + config: { + delay: 4, + width: 10, + offset: 10, + coloralpha: '#93e1d8', + colorbeta: '#aa4465' + } + }, + { + name: 'rainbow', + label: $t('term.report.rainbowfluorescence'), + config: { + delay: 20, + width: 0 + } + }, + { + name: 'gradient', + label: '梯形边框', + config: { + titlefontsize: 13, + titlecolor: '#02a6b5', + cornersize: 8, + width: 2, + color: '#02a6b5', + cocolor: 'rgba(229,229,229,0.2)' + } + } +]; diff --git a/src/views/pages/report/statement/widgetborders/gradient.vue b/src/views/pages/report/statement/widgetborders/gradient.vue new file mode 100644 index 0000000000000000000000000000000000000000..943d86fa422e85abbd2e6d39dc26281e8d8ca334 --- /dev/null +++ b/src/views/pages/report/statement/widgetborders/gradient.vue @@ -0,0 +1,200 @@ + + + diff --git a/src/views/pages/report/statement/widgetborders/index.js b/src/views/pages/report/statement/widgetborders/index.js index 62c89b8d7d3b111738d18cdd85434d4196824a2c..0826172ae714af377f95ec6a9659b347d9e84002 100644 --- a/src/views/pages/report/statement/widgetborders/index.js +++ b/src/views/pages/report/statement/widgetborders/index.js @@ -1,3 +1,5 @@ -export { default as highlight_border } from './highlight.vue'; -export { default as twocolor_border } from './twocolor.vue'; -export { default as rainbow_border } from './rainbow.vue'; +export { default as highlight_border } from './highlight.vue'; +export { default as twocolor_border } from './twocolor.vue'; +export { default as rainbow_border } from './rainbow.vue'; +export { default as gradient_border } from './gradient.vue'; + diff --git a/src/views/pages/report/statement/widgetconfigs/index.js b/src/views/pages/report/statement/widgetconfigs/index.js index 2ac949199724bd8726977d710b4ab19e6b9f9686..d47dfe3a9643cc9cb3d04bb666e0b91ba699b58b 100644 --- a/src/views/pages/report/statement/widgetconfigs/index.js +++ b/src/views/pages/report/statement/widgetconfigs/index.js @@ -26,3 +26,4 @@ export { default as wordcloudWidgetConfig } from './others/wordcloud-widget-conf export { default as pointWidgetConfig } from './others/point-widget-config.vue'; export { default as customWidgetConfig } from './others/custom-widget-config.vue'; export { default as timeWidgetConfig } from './others/time-widget-config.vue'; +export { default as autoexecWidgetConfig } from './others/autoexec-widget-config.vue'; diff --git a/src/views/pages/report/statement/widgetconfigs/original/bar-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/bar-widget-config.vue index a7d88200a0254d6728f2e161bcfde15eaebfb7d9..35e817303b875fa76b422d699edfae0d1811dc5d 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/bar-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/bar-widget-config.vue @@ -1,235 +1,213 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/original/bullet-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/bullet-widget-config.vue index 54fbcb876331ac61ece0a33bf4d1f6b718710dbe..0b66d561c5c5cf99ec6fab635d6e43d6920ad3b8 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/bullet-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/bullet-widget-config.vue @@ -1,191 +1,175 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/original/column-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/column-widget-config.vue index 496cda2f6091ace599a36875acfa6e1b99fd5c30..0fdd54093c3f9730975c4611305796a9f0301884 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/column-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/column-widget-config.vue @@ -1,206 +1,209 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/original/columnline-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/columnline-widget-config.vue index a6ff65f33fbe683fd9c8ba3960b105770e14d98e..b4b62672672108f980b5feaa0868ce4496257354 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/columnline-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/columnline-widget-config.vue @@ -1,123 +1,125 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/original/groupedcolumn-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/groupedcolumn-widget-config.vue index c91fd3ec13e286faaf250824f5cc394496128cfd..ab02f4ab6a4f0628b2d8bf92598d2993365c1849 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/groupedcolumn-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/groupedcolumn-widget-config.vue @@ -1,213 +1,217 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/original/line-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/line-widget-config.vue index 42403655ad9a39693dc53e67a67125df81072d48..1192115439513bf3849061c63ba66570ec554ab9 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/line-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/line-widget-config.vue @@ -1,212 +1,215 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/original/mline-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/mline-widget-config.vue index c21b7c5f41dd148f5c2a9929ab99183d5ae0f3ff..8aa13ef6e11ab0ac876de58042874a210e0beeda 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/mline-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/mline-widget-config.vue @@ -1,264 +1,268 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/original/pie-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/pie-widget-config.vue index 5a2e2916a31450ba8734312c4536d354740f5db1..daa00cb519afb82670c3f341f13bbe5e1e8b00c2 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/pie-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/pie-widget-config.vue @@ -1,183 +1,155 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/original/stackedbar-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/stackedbar-widget-config.vue index 1efd0620838f7251571aac978676a9bcd8ffdc9d..ed2a6b4c99141945acd051e87d8644f1fe3ea4a5 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/stackedbar-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/stackedbar-widget-config.vue @@ -1,196 +1,200 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/original/stackedcolumn-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/original/stackedcolumn-widget-config.vue index ad6af7f3c9ae70d8a2851ff7f09e3b6d9c21e6d4..616687fca0287a2ed0dd5118bdd30da80646c904 100644 --- a/src/views/pages/report/statement/widgetconfigs/original/stackedcolumn-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/original/stackedcolumn-widget-config.vue @@ -1,232 +1,236 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgetconfigs/others/autoexec-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/others/autoexec-widget-config.vue new file mode 100644 index 0000000000000000000000000000000000000000..8b07cf8fa4fac401e1d6ee84b3fe66d1f576bcd3 --- /dev/null +++ b/src/views/pages/report/statement/widgetconfigs/others/autoexec-widget-config.vue @@ -0,0 +1,73 @@ + + + diff --git a/src/views/pages/report/statement/widgetconfigs/others/time-widget-config.vue b/src/views/pages/report/statement/widgetconfigs/others/time-widget-config.vue index 95d2c2aa99e7fa2bf1674ad3f4aa926269447c63..21a80190543fee0046e68073fb92277819fe1bd0 100644 --- a/src/views/pages/report/statement/widgetconfigs/others/time-widget-config.vue +++ b/src/views/pages/report/statement/widgetconfigs/others/time-widget-config.vue @@ -1,87 +1,70 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgets/define/autoexec.js b/src/views/pages/report/statement/widgets/define/autoexec.js new file mode 100644 index 0000000000000000000000000000000000000000..39d2594d0344971b9cf23699f11756982cab58ce --- /dev/null +++ b/src/views/pages/report/statement/widgets/define/autoexec.js @@ -0,0 +1,16 @@ +import { $t } from '@/resources/init.js'; + +export default { + name: 'autoexec', + label: $t('term.deploy.flowchart'), + type: 'autoexec', + icon: 'tsfont-topo', + widgetType: 'other', + hasCustomConfig: true, + width: 500, + height: 300, + padding: 5, + needData: true, + dataTypes: [{ value: 'dynamic', text: $t('term.report.datatype.dynamicdata') }], + config: { backgroundColor: '', backgroundImage: '', fontsize: 13, color: '' } +}; diff --git a/src/views/pages/report/statement/widgets/define/pie.js b/src/views/pages/report/statement/widgets/define/pie.js index 7d7c7700847719e7c7676d838febe113d7eefcf5..b4306349e1f927e132800b5dddd8c94a02c413b9 100644 --- a/src/views/pages/report/statement/widgets/define/pie.js +++ b/src/views/pages/report/statement/widgets/define/pie.js @@ -1,39 +1,38 @@ -import {$t} from '@/resources/init.js'; - -export default { - name: 'pie', - label: $t('term.report.chartsetting.piechart'), - type: 'pie', - icon: 'tsfont-chart-pie', - widgetType: 'basic', - hasCustomConfig: true, - width: 250, - height: 250, - padding: 5, - needData: true, - dataTypes: [{ value: 'dynamic', text: $t('term.report.datatype.dynamicdata') }], - fields: [ - { name: 'angleField', label: $t('page.valuefield'), type: 'number', isRequired: true }, - { name: 'colorField', label: $t('term.report.chartsetting.classifyfield'), type: 'text', isRequired: true } - ], - config: { - legend: { - visible: true, - position: 'bottom', - layout: 'horizontal' - }, - label: { - type: 'inner' - }, - statistic: { - content: { - style: { - overflow: 'hidden', - textOverflow: 'ellipsis', - fontSize: 12, - color: '' - } - } - } - } -}; +import {$t} from '@/resources/init.js'; + +export default { + name: 'pie', + label: $t('term.report.chartsetting.piechart'), + type: 'pie', + icon: 'tsfont-chart-pie', + widgetType: 'basic', + hasCustomConfig: true, + width: 250, + height: 250, + padding: 5, + needData: true, + dataTypes: [{ value: 'dynamic', text: $t('term.report.datatype.dynamicdata') }], + fields: [ + { name: 'angleField', label: $t('page.valuefield'), type: 'number', isRequired: true }, + { name: 'colorField', label: $t('term.report.chartsetting.classifyfield'), type: 'text', isRequired: true } + ], + config: { + legend: { + visible: true, + position: 'bottom', + layout: 'horizontal' + }, + label: { + type: 'inner' + }, + statistic: { + content: { + style: { + overflow: 'hidden', + textOverflow: 'ellipsis', + fontSize: 12 + } + } + } + } +}; diff --git a/src/views/pages/report/statement/widgets/index.js b/src/views/pages/report/statement/widgets/index.js index 2a70be22733d13a42d69b7eace6e6fc1a02a3ff9..f25de6d7e63feeb110ad87919206a48855b0cd3a 100644 --- a/src/views/pages/report/statement/widgets/index.js +++ b/src/views/pages/report/statement/widgets/index.js @@ -29,3 +29,4 @@ export { default as mapareawidget } from './geography/maparea-widget.vue'; export { default as districtwidget } from './geography/district-widget.vue'; export { default as pointwidget } from './others/point-widget.vue'; export { default as timewidget } from './others/time-widget.vue'; +export { default as autoexecwidget } from './others/autoexec-widget.vue'; diff --git a/src/views/pages/report/statement/widgets/others/autoexec-widget.vue b/src/views/pages/report/statement/widgets/others/autoexec-widget.vue new file mode 100644 index 0000000000000000000000000000000000000000..da85b3332e33c961e97573aa3ac7c02e869d802c --- /dev/null +++ b/src/views/pages/report/statement/widgets/others/autoexec-widget.vue @@ -0,0 +1,290 @@ + + + diff --git a/src/views/pages/report/statement/widgets/widget-base.js b/src/views/pages/report/statement/widgets/widget-base.js index 2be53faaf859d8359691f4abfb9cc2e8b54a70d6..0b9d8fa436c7834779acb428bb8fb9ab3c01c523 100644 --- a/src/views/pages/report/statement/widgets/widget-base.js +++ b/src/views/pages/report/statement/widgets/widget-base.js @@ -1,173 +1,180 @@ -import * as themes from '../widgetthemes/index.js'; -export const WidgetBase = { - props: { - width: { type: Number }, - height: { type: Number }, - canvas: { type: Object }, - widget: { type: Object }, //组件数据 - widgetComponent: { type: Object } //组件定义 - }, - data() { - return { - data: [], - tableData: {}, - timer: null, - oldConfig: null, - oldChartConfig: null, - chartConfig: {} - }; - }, - methods: { - createPlot() { - //创建组件,由子组件覆盖 - }, - changeData(data) { - //刷新组件数据,由子组件继承 - }, - async createRandomData() { - //生成随机数据,返回data,由子组件继承 - }, - async getData(isFirstGetData) { - const data = []; - const params = { - dataSourceId: this.widget.datasourceId, - conditionList: this.widget.conditionList, - sortList: this.widget.sortList, - limit: this.widget.limit || 0 //必须要要给个0,否则会用pagesize分页 - }; - await this.$api.framework.datawarehouse.searchData(params).then(res => { - this.tableData = res.Return; - if (res.Return.tbodyList && res.Return.tbodyList.length > 0) { - res.Return.tbodyList.forEach(element => { - const d = {}; - if (this.widgetComponent.fields && this.widgetComponent.fields.length > 0) { - this.widgetComponent.fields.forEach(field => { - const f = this.widget.fields.find(d => d.name === field.name); - if (f) { - d[field.name] = element['field_' + f.datasourceField]; - } - }); - } else { - res.Return.theadList.forEach(head => { - if (head.name) { - //有name的字段才是数据源的数据字段 - d[head.name] = element[head.key]; - } - }); - } - data.push(d); - }); - } - this.data = data; - if (!isFirstGetData) { - //第一次加载由于组件还没加载完毕,所以不需要调用changeData - this.changeData(); - } - if (this.widget.dataInterval > 0) { - if (this.timer) { - clearTimeout(this.timer); - this.timer = null; - } - this.timer = setTimeout(() => { - this.getData(); - }, this.widget.dataInterval * 1000); - } - }); - } - }, - beforeDestroy() { - if (this.plot) { - this.plot.destroy(); - this.plot = null; - } - if (this.timer) { - clearTimeout(this.timer); - this.timer = null; - } - }, - watch: { - 'canvas.config.theme': function(val) { - if (val) { - this.$set(this.chartConfig, 'theme', themes[this.canvas.config.theme]); - } else { - this.$delete(this.chartConfig, 'theme'); - } - if (this.changeCusTheme) { - this.changeCusTheme(val); - } - this.createPlot(); - }, - widget: { - handler: async function(val, oldVal) { - const widget = val; - if (widget) { - //合并图形配置 - Object.assign(this.chartConfig, widget.config); - if (!this.oldChartConfig) { - //旧配置为空代表是首次加载 - this.oldChartConfig = this.$utils.deepClone(this.chartConfig); - if (widget.dataType === 'static' && widget.fields && widget.fields.length > 0) { - this.data = []; - widget.fields.forEach(element => { - const d = {}; - d[element.name] = element.value; - this.data.push(d); - }); - } else if (widget.dataType === 'dynamic' && widget.datasourceId && (!this.widgetComponent.fields || this.widgetComponent.fields.length == 0 || (widget.fields && widget.fields.length == this.widgetComponent.fields.length && widget.fields.filter(d => !d.datasourceField).length == 0))) { - await this.getData(true); - } else { - await this.createRandomData(); - } - this.$nextTick(() => { - //等待容器加载完毕再异步重绘 - this.createPlot(); - }); - //保存数据相关配置,必须要复制一个对象 - const config = {}; - config['fields'] = widget.fields; - config['datasourceId'] = widget.datasourceId; - config['conditionList'] = widget.conditionList; - config['sortList'] = widget.sortList; - config['limit'] = widget.limit; - config['dataInterval'] = widget.dataInterval; - config['dataType'] = widget.dataType; - this.oldConfig = this.$utils.deepClone(config); - } else if (!this.$utils.isSame(this.oldChartConfig, this.chartConfig)) { - //如果不是首次加载,则可以同步重绘 - this.createPlot(); - this.oldChartConfig = this.$utils.deepClone(this.chartConfig); - } - - //和数据相关的变化才会触发更新 - const config = {}; - config['fields'] = widget.fields; - config['datasourceId'] = widget.datasourceId; - config['conditionList'] = widget.conditionList; - config['sortList'] = widget.sortList; - config['limit'] = widget.limit; - config['dataInterval'] = widget.dataInterval; - config['dataType'] = widget.dataType; - if (!this.$utils.isSame(this.oldConfig, config)) { - if (widget.dataType === 'static' && widget.fields && widget.fields.length > 0) { - this.data = []; - widget.fields.forEach(element => { - const d = {}; - d[element.name] = element.value; - this.data.push(d); - }); - this.changeData(); - } else if (widget.dataType === 'dynamic' && widget.datasourceId && (!this.widgetComponent.fields || this.widgetComponent.fields.length == 0 || (widget.fields && widget.fields.length == this.widgetComponent.fields.length && widget.fields.filter(d => !d.datasourceField).length == 0))) { - this.getData(); - } else { - this.createRandomData(); - this.changeData(); - } - this.oldConfig = this.$utils.deepClone(config); - } - } - }, - deep: true, - immediate: true - } - } -}; +import * as themes from '../widgetthemes/index.js'; +export const WidgetBase = { + props: { + width: { type: Number }, + height: { type: Number }, + canvas: { type: Object }, + widget: { type: Object }, //组件数据 + widgetComponent: { type: Object } //组件定义 + }, + data() { + return { + data: [], + tableData: {}, + timer: null, + oldConfig: null, + oldChartConfig: null, + chartConfig: {} + }; + }, + methods: { + createPlot() { + //创建组件,由子组件覆盖 + }, + changeData(data) { + //刷新组件数据,由子组件继承 + }, + async createRandomData() { + //生成随机数据,返回data,由子组件继承 + }, + async getData(isFirstGetData) { + if (!this.widget.datasourceId) { + if (this.timer) { + clearTimeout(this.timer); + this.timer = null; + } + return false; + } + const data = []; + const params = { + dataSourceId: this.widget.datasourceId, + conditionList: this.widget.conditionList, + sortList: this.widget.sortList, + limit: this.widget.limit || 0 //必须要要给个0,否则会用pagesize分页 + }; + await this.$api.framework.datawarehouse.searchData(params).then(res => { + this.tableData = res.Return; + if (res.Return.tbodyList && res.Return.tbodyList.length > 0) { + res.Return.tbodyList.forEach(element => { + const d = {}; + if (this.widgetComponent.fields && this.widgetComponent.fields.length > 0) { + this.widgetComponent.fields.forEach(field => { + const f = this.widget.fields.find(d => d.name === field.name); + if (f) { + d[field.name] = element['field_' + f.datasourceField]; + } + }); + } else { + res.Return.theadList.forEach(head => { + if (head.name) { + //有name的字段才是数据源的数据字段 + d[head.name] = element[head.key]; + } + }); + } + data.push(d); + }); + } + this.data = data; + if (!isFirstGetData) { + //第一次加载由于组件还没加载完毕,所以不需要调用changeData + this.changeData(); + } + if (this.widget.dataInterval > 0) { + if (this.timer) { + clearTimeout(this.timer); + this.timer = null; + } + this.timer = setTimeout(() => { + this.getData(); + }, this.widget.dataInterval * 1000); + } + }); + } + }, + beforeDestroy() { + if (this.plot) { + this.plot.destroy(); + this.plot = null; + } + if (this.timer) { + clearTimeout(this.timer); + this.timer = null; + } + }, + watch: { + 'canvas.config.theme': function(val) { + if (val) { + this.$set(this.chartConfig, 'theme', themes[this.canvas.config.theme]); + } else { + this.$delete(this.chartConfig, 'theme'); + } + if (this.changeCusTheme) { + this.changeCusTheme(val); + } + this.createPlot(); + }, + widget: { + handler: async function(val, oldVal) { + const widget = val; + if (widget) { + //合并图形配置 + Object.assign(this.chartConfig, widget.config); + if (!this.oldChartConfig) { + //旧配置为空代表是首次加载 + this.oldChartConfig = this.$utils.deepClone(this.chartConfig); + if (widget.dataType === 'static' && widget.fields && widget.fields.length > 0) { + this.data = []; + widget.fields.forEach(element => { + const d = {}; + d[element.name] = element.value; + this.data.push(d); + }); + } else if (widget.dataType === 'dynamic' && widget.datasourceId && (!this.widgetComponent.fields || this.widgetComponent.fields.length == 0 || (widget.fields && widget.fields.length == this.widgetComponent.fields.length && widget.fields.filter(d => !d.datasourceField).length == 0))) { + await this.getData(true); + } else { + await this.createRandomData(); + } + this.$nextTick(() => { + //等待容器加载完毕再异步重绘 + this.createPlot(); + }); + //保存数据相关配置,必须要复制一个对象 + const config = {}; + config['fields'] = widget.fields; + config['datasourceId'] = widget.datasourceId; + config['conditionList'] = widget.conditionList; + config['sortList'] = widget.sortList; + config['limit'] = widget.limit; + config['dataInterval'] = widget.dataInterval; + config['dataType'] = widget.dataType; + this.oldConfig = this.$utils.deepClone(config); + } else if (!this.$utils.isSame(this.oldChartConfig, this.chartConfig)) { + //如果不是首次加载,则可以同步重绘 + this.createPlot(); + this.oldChartConfig = this.$utils.deepClone(this.chartConfig); + } + + //和数据相关的变化才会触发更新 + const config = {}; + config['fields'] = widget.fields; + config['datasourceId'] = widget.datasourceId; + config['conditionList'] = widget.conditionList; + config['sortList'] = widget.sortList; + config['limit'] = widget.limit; + config['dataInterval'] = widget.dataInterval; + config['dataType'] = widget.dataType; + if (!this.$utils.isSame(this.oldConfig, config)) { + if (widget.dataType === 'static' && widget.fields && widget.fields.length > 0) { + this.data = []; + widget.fields.forEach(element => { + const d = {}; + d[element.name] = element.value; + this.data.push(d); + }); + this.changeData(); + } else if (widget.dataType === 'dynamic' && widget.datasourceId && (!this.widgetComponent.fields || this.widgetComponent.fields.length == 0 || (widget.fields && widget.fields.length == this.widgetComponent.fields.length && widget.fields.filter(d => !d.datasourceField).length == 0))) { + this.getData(); + } else { + this.createRandomData(); + this.changeData(); + } + this.oldConfig = this.$utils.deepClone(config); + } + } + }, + deep: true, + immediate: true + } + } +}; diff --git a/src/views/pages/report/statement/widgets/widget-handler.vue b/src/views/pages/report/statement/widgets/widget-handler.vue index 504eef647bedae3154e97dead4d3456911b3b26c..17c4f648c6729fea11bf66082540f435b4430c90 100644 --- a/src/views/pages/report/statement/widgets/widget-handler.vue +++ b/src/views/pages/report/statement/widgets/widget-handler.vue @@ -1,460 +1,460 @@ - - - + + + diff --git a/src/views/pages/report/statement/widgets/widget-list.js b/src/views/pages/report/statement/widgets/widget-list.js index 119a6d74ec463c3993ac2ed51369c02828f5105d..ea89bb85a81b3bc16b294dde1ab795dd57756379 100644 --- a/src/views/pages/report/statement/widgets/widget-list.js +++ b/src/views/pages/report/statement/widgets/widget-list.js @@ -37,6 +37,7 @@ import { default as heatmap } from './define/heatmap.js'; import { default as wordcloud } from './define/wordcloud.js'; import { default as columnline } from './define/columnline.js'; import { default as time } from './define/time.js'; +import { default as autoexec } from './define/autoexec.js'; export const WIDGETS = [ text, @@ -69,5 +70,6 @@ export const WIDGETS = [ heatmap, wordcloud, columnline, - time + time, + autoexec ]; diff --git a/src/views/pages/report/statement/widgetthemes/dark.json b/src/views/pages/report/statement/widgetthemes/dark.json index c6fe013ac2fa16743815a042ce7a580d643bda58..78790ad7e289404e586a2b3dfa421bc824938990 100644 --- a/src/views/pages/report/statement/widgetthemes/dark.json +++ b/src/views/pages/report/statement/widgetthemes/dark.json @@ -155,11 +155,7 @@ "verticalLimitLength": 0.3333333333333333 }, "circle": { - "title": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - }, + "title": null, "grid": { "line": { "type": "line", @@ -650,6 +646,13 @@ }, "autoRotate": true }, + "StatisticText": { + "content": { + "style":{ + "fill": "#fff" + } + } + }, "bottom-axis-subTick-line": false, "styleSheet": { "brandColor": "rgba(0, 188, 212, 1)", diff --git a/src/views/pages/report/statement/widgetthemes/theme-dark1.json b/src/views/pages/report/statement/widgetthemes/theme-dark1.json index 41df0435cb44f1a6bcd1ed2ee2b01f65cd3272e1..a7e35e2f4d022b83c9d1561eb113145062fbd14d 100644 --- a/src/views/pages/report/statement/widgetthemes/theme-dark1.json +++ b/src/views/pages/report/statement/widgetthemes/theme-dark1.json @@ -1,691 +1,687 @@ -{ - "background": "transparent", - "subColor": "rgba(255, 255, 255, 0.05)", - "semanticRed": "rgba(244, 102, 74, 1)", - "semanticGreen": "rgba(37, 184, 100, 1)", - "padding": "auto", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "columnWidthRatio": 0.5, - "maxColumnWidth": null, - "minColumnWidth": null, - "roseWidthRatio": 0.9999999, - "multiplePieWidthRatio": 0.7692307692307692, - "sequenceColors": [ - "#e1ebff", - "#c2d8ff", - "#a0c5ff", - "#8ab5fe", - "#7aa7fc", - "#6898fa", - "#558af4", - "#427de4", - "#2b6fd5", - "#0362c5" - ], - "shapes": { - "point": [ - "hollow-circle", - "hollow-square", - "hollow-bowtie", - "hollow-diamond", - "hollow-hexagon", - "hollow-triangle", - "hollow-triangle-down", - "circle", - "square", - "bowtie", - "diamond", - "hexagon", - "triangle", - "triangle-down", - "cross", - "tick", - "plus", - "hyphen", - "line" - ], - "line": [ - "line", - "dash", - "dot", - "smooth" - ], - "area": [ - "area", - "smooth", - "line", - "smooth-line" - ], - "interval": [ - "rect", - "hollow-rect", - "line", - "tick" - ] - }, - "sizes": [ - 1, - 10 - ], - "components": { - "axis": { - "common": { - "title": { - "autoRotate": true, - "position": "center", - "spacing": 12, - "style": { - "fill": "#f1f1f1", - "fontSize": 12, - "lineHeight": 12, - "textBaseline": "middle", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "label": { - "autoRotate": false, - "autoEllipsis": false, - "autoHide": { - "type": "equidistance", - "cfg": { - "minGap": 6 - } - }, - "offset": 8, - "style": { - "fill": "rgba(241, 241, 241, 1)", - "fontSize": 12, - "lineHeight": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "line": { - "style": { - "lineWidth": 1, - "stroke": "rgba(209, 209, 209, 1)" - } - }, - "grid": { - "line": { - "type": "line", - "style": { - "stroke": "rgba(70, 71, 85, 1)", - "lineWidth": 0.5, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "tickLine": { - "style": { - "lineWidth": 1, - "stroke": "rgba(209, 209, 209, 1)" - }, - "alignTick": true, - "length": 4 - }, - "subTickLine": null, - "animate": true - }, - "top": { - "position": "top", - "grid": null, - "title": null, - "verticalLimitLength": 0.5 - }, - "bottom": { - "position": "bottom", - "grid": null, - "title": null, - "verticalLimitLength": 0.5 - }, - "left": { - "position": "left", - "title": null, - "line": null, - "tickLine": null, - "verticalLimitLength": 0.3333333333333333 - }, - "right": { - "position": "right", - "title": null, - "line": null, - "tickLine": null, - "verticalLimitLength": 0.3333333333333333 - }, - "circle": { - "title": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - }, - "grid": { - "line": { - "type": "line", - "style": { - "stroke": "rgba(70, 71, 85, 1)", - "lineWidth": 1, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "label": { - "style": { - "fill": "rgba(241, 241, 255, 1)" - } - }, - "tickLine": { - "style": { - "stroke": "rgba(209, 209, 209, 1)" - } - } - }, - "radius": { - "title": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - }, - "grid": { - "line": { - "type": "circle", - "style": { - "stroke": "#262626", - "lineWidth": 1, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "label": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - } - } - }, - "legend": { - "common": { - "title": null, - "marker": { - "symbol": "circle", - "spacing": 8, - "style": { - "r": 4, - "fill": "#5B8FF9" - } - }, - "itemName": { - "spacing": 5, - "style": { - "fill": "rgba(241, 241, 241, 1)", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "fontSize": 12, - "lineHeight": 12, - "fontWeight": "normal", - "textAlign": "start", - "textBaseline": "middle" - } - }, - "itemStates": { - "active": { - "nameStyle": { - "opacity": 0.8 - } - }, - "unchecked": { - "nameStyle": { - "fill": "#D8D8D8" - }, - "markerStyle": { - "fill": "#D8D8D8", - "stroke": "#D8D8D8" - } - }, - "inactive": { - "nameStyle": { - "fill": "#D8D8D8" - }, - "markerStyle": { - "opacity": 0.2 - } - } - }, - "flipPage": true, - "pageNavigator": { - "marker": { - "style": { - "size": 12, - "inactiveFill": "rgba(225, 225, 225, 1)", - "inactiveOpacity": 0.45, - "fill": "rgba(225, 225, 225, 1)", - "opacity": 1 - } - }, - "text": { - "style": { - "fill": "rgba(209, 209, 209, 1)", - "fontSize": 12 - } - } - }, - "animate": false, - "maxItemWidth": 200, - "itemSpacing": 24, - "itemMarginBottom": 12, - "padding": [ - 8, - 8, - 8, - 8 - ] - }, - "right": { - "layout": "vertical", - "padding": [ - 0, - 8, - 0, - 8 - ] - }, - "left": { - "layout": "vertical", - "padding": [ - 0, - 8, - 0, - 8 - ] - }, - "top": { - "layout": "horizontal", - "padding": [ - 8, - 0, - 8, - 0 - ] - }, - "bottom": { - "layout": "horizontal", - "padding": [ - 8, - 0, - 8, - 0 - ] - }, - "continuous": { - "title": null, - "background": null, - "track": {}, - "rail": { - "type": "color", - "size": 12, - "defaultLength": 100, - "style": { - "fill": "rgba(33, 33, 33, 1)", - "stroke": null, - "lineWidth": 0 - } - }, - "label": { - "align": "rail", - "spacing": 4, - "formatter": null, - "style": { - "fill": "rgba(209, 209, 209, 1)", - "fontSize": 12, - "lineHeight": 12, - "textBaseline": "middle", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "handler": { - "size": 10, - "style": { - "fill": "#F0F0F0", - "stroke": "#BFBFBF" - } - }, - "slidable": true, - "padding": [ - 8, - 8, - 8, - 8 - ] - } - }, - "tooltip": { - "showContent": true, - "follow": true, - "showCrosshairs": false, - "showMarkers": true, - "shared": false, - "enterable": false, - "position": "auto", - "marker": { - "symbol": "circle", - "stroke": "#fff", - "shadowBlur": 10, - "shadowOffsetX": 0, - "shadowOffsetY": 0, - "shadowColor": "rgba(0,0,0,0.09)", - "lineWidth": 2, - "r": 4 - }, - "crosshairs": { - "line": { - "style": { - "stroke": "#404040", - "lineWidth": 1 - } - }, - "text": null, - "textBackground": { - "padding": 2, - "style": { - "fill": "rgba(0, 0, 0, 0.25)", - "lineWidth": 0, - "stroke": null - } - }, - "follow": false - }, - "domStyles": { - "g2-tooltip": { - "position": "absolute", - "visibility": "hidden", - "zIndex": 8, - "transition": "left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s", - "backgroundColor": "#1f1f1f", - "opacity": 0.95, - "boxShadow": "0px 2px 4px rgba(0,0,0,.5)", - "borderRadius": 10, - "color": "rgba(241, 241, 241, 1)", - "fontSize": "12px", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "lineHeight": "12px", - "padding": "0 12px 0 12px" - }, - "g2-tooltip-title": { - "marginBottom": "12px", - "marginTop": "12px" - }, - "g2-tooltip-list": { - "margin": 0, - "listStyleType": "none", - "padding": 0 - }, - "g2-tooltip-list-item": { - "listStyleType": "none", - "padding": 0, - "marginBottom": "12px", - "marginTop": "12px", - "marginLeft": 0, - "marginRight": 0 - }, - "g2-tooltip-marker": { - "width": "8px", - "height": "8px", - "borderRadius": "50%", - "display": "inline-block", - "marginRight": "8px" - }, - "g2-tooltip-value": { - "display": "inline-block", - "float": "right", - "marginLeft": "30px" - } - } - }, - "annotation": { - "arc": { - "style": { - "stroke": "#262626", - "lineWidth": 1 - }, - "animate": true - }, - "line": { - "style": { - "stroke": "#404040", - "lineDash": null, - "lineWidth": 1 - }, - "text": { - "position": "start", - "autoRotate": true, - "style": { - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "textAlign": "start", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "textBaseline": "bottom" - } - }, - "animate": true - }, - "text": { - "style": { - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "textBaseline": "middle", - "textAlign": "start", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - }, - "animate": true - }, - "region": { - "top": false, - "style": { - "lineWidth": 0, - "stroke": null, - "fill": "#FFFFFF", - "fillOpacity": 0.06 - }, - "animate": true - }, - "image": { - "top": false, - "animate": true - }, - "dataMarker": { - "top": true, - "point": { - "style": { - "r": 3, - "stroke": "#5B8FF9", - "lineWidth": 2 - } - }, - "line": { - "style": { - "stroke": "#404040", - "lineWidth": 1 - }, - "length": 16 - }, - "text": { - "style": { - "textAlign": "start", - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "direction": "upward", - "autoAdjust": true, - "animate": true - }, - "dataRegion": { - "style": { - "region": { - "fill": "#FFFFFF", - "fillOpacity": 0.06 - }, - "text": { - "textAlign": "center", - "textBaseline": "bottom", - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "animate": true - } - }, - "slider": { - "common": { - "padding": [ - 8, - 8, - 8, - 8 - ], - "backgroundStyle": { - "fill": "#416180", - "opacity": 0.05 - }, - "foregroundStyle": { - "fill": "#5B8FF9", - "opacity": 0.1 - }, - "handlerStyle": { - "width": 10, - "height": 24, - "fill": "#F7F7F7", - "opacity": 1, - "stroke": "#BFBFBF", - "lineWidth": 1, - "radius": 2, - "highLightFill": "#FFF" - }, - "textStyle": { - "fill": "#fff", - "opacity": 0.45, - "fontSize": 12, - "lineHeight": 12, - "fontWeight": "normal", - "stroke": null, - "lineWidth": 0 - } - } - }, - "scrollbar": { - "common": { - "padding": [ - 8, - 8, - 8, - 8 - ] - }, - "default": { - "style": { - "trackColor": "rgba(25, 29, 41, 1)", - "thumbColor": "rgba(70, 71, 85, 1)" - } - }, - "hover": { - "style": { - "thumbColor": "rgba(73, 82, 99, 1)" - } - } - } - }, - "labels": { - "offset": 12, - "style": { - "fill": "#fff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": null, - "lineWidth": 0 - }, - "fillColorDark": "#ffffff", - "fillColorLight": "#ffffff", - "autoRotate": true - }, - "innerLabels": { - "style": { - "fill": "#fff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": null, - "lineWidth": 0 - }, - "autoRotate": true - }, - "overflowLabels": { - "style": { - "fill": "#ffffff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": "#000", - "lineWidth": 1 - } - }, - "pieLabels": { - "labelHeight": 12, - "offset": 10, - "labelLine": { - "style": { - "lineWidth": 1 - } - }, - "autoRotate": true - }, - "bottom-axis-subTick-line": false, - "styleSheet": { - "brandColor": "#5B8FF9", - "paletteQualitative10": [ - "#5B8FF9", - "#61DDAA", - "#65789B", - "#F6BD16", - "#7262fd", - "#78D3F8", - "#9661BC", - "#F6903D", - "#008685", - "#F08BB4" - ], - "paletteQualitative20": [ - "#5B8FF9", - "#CDDDFD", - "#61DDAA", - "#CDF3E4", - "#65789B", - "#CED4DE", - "#F6BD16", - "#FCEBB9", - "#7262fd", - "#D3CEFD", - "#78D3F8", - "#D3EEF9", - "#9661BC", - "#DECFEA", - "#F6903D", - "#FFE0C7", - "#008685", - "#BBDEDE", - "#F08BB4", - "#FFE0ED" - ] - } +{ + "background": "transparent", + "subColor": "rgba(255, 255, 255, 0.05)", + "semanticRed": "rgba(244, 102, 74, 1)", + "semanticGreen": "rgba(37, 184, 100, 1)", + "padding": "auto", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "columnWidthRatio": 0.5, + "maxColumnWidth": null, + "minColumnWidth": null, + "roseWidthRatio": 0.9999999, + "multiplePieWidthRatio": 0.7692307692307692, + "sequenceColors": [ + "#e1ebff", + "#c2d8ff", + "#a0c5ff", + "#8ab5fe", + "#7aa7fc", + "#6898fa", + "#558af4", + "#427de4", + "#2b6fd5", + "#0362c5" + ], + "shapes": { + "point": [ + "hollow-circle", + "hollow-square", + "hollow-bowtie", + "hollow-diamond", + "hollow-hexagon", + "hollow-triangle", + "hollow-triangle-down", + "circle", + "square", + "bowtie", + "diamond", + "hexagon", + "triangle", + "triangle-down", + "cross", + "tick", + "plus", + "hyphen", + "line" + ], + "line": [ + "line", + "dash", + "dot", + "smooth" + ], + "area": [ + "area", + "smooth", + "line", + "smooth-line" + ], + "interval": [ + "rect", + "hollow-rect", + "line", + "tick" + ] + }, + "sizes": [ + 1, + 10 + ], + "components": { + "axis": { + "common": { + "title": { + "autoRotate": true, + "position": "center", + "spacing": 12, + "style": { + "fill": "#f1f1f1", + "fontSize": 12, + "lineHeight": 12, + "textBaseline": "middle", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "label": { + "autoRotate": false, + "autoEllipsis": false, + "autoHide": { + "type": "equidistance", + "cfg": { + "minGap": 6 + } + }, + "offset": 8, + "style": { + "fill": "rgba(241, 241, 241, 1)", + "fontSize": 12, + "lineHeight": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "line": { + "style": { + "lineWidth": 1, + "stroke": "rgba(209, 209, 209, 1)" + } + }, + "grid": { + "line": { + "type": "line", + "style": { + "stroke": "rgba(70, 71, 85, 1)", + "lineWidth": 0.5, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "tickLine": { + "style": { + "lineWidth": 1, + "stroke": "rgba(209, 209, 209, 1)" + }, + "alignTick": true, + "length": 4 + }, + "subTickLine": null, + "animate": true + }, + "top": { + "position": "top", + "grid": null, + "title": null, + "verticalLimitLength": 0.5 + }, + "bottom": { + "position": "bottom", + "grid": null, + "title": null, + "verticalLimitLength": 0.5 + }, + "left": { + "position": "left", + "title": null, + "line": null, + "tickLine": null, + "verticalLimitLength": 0.3333333333333333 + }, + "right": { + "position": "right", + "title": null, + "line": null, + "tickLine": null, + "verticalLimitLength": 0.3333333333333333 + }, + "circle": { + "title": null, + "grid": { + "line": { + "type": "line", + "style": { + "stroke": "rgba(70, 71, 85, 1)", + "lineWidth": 1, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "label": { + "style": { + "fill": "rgba(241, 241, 255, 1)" + } + }, + "tickLine": { + "style": { + "stroke": "rgba(209, 209, 209, 1)" + } + } + }, + "radius": { + "title": { + "style": { + "fill": "rgba(241, 241, 241, 1)" + } + }, + "grid": { + "line": { + "type": "circle", + "style": { + "stroke": "#262626", + "lineWidth": 1, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "label": { + "style": { + "fill": "rgba(241, 241, 241, 1)" + } + } + } + }, + "legend": { + "common": { + "title": null, + "marker": { + "symbol": "circle", + "spacing": 8, + "style": { + "r": 4, + "fill": "#5B8FF9" + } + }, + "itemName": { + "spacing": 5, + "style": { + "fill": "rgba(241, 241, 241, 1)", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "fontSize": 12, + "lineHeight": 12, + "fontWeight": "normal", + "textAlign": "start", + "textBaseline": "middle" + } + }, + "itemStates": { + "active": { + "nameStyle": { + "opacity": 0.8 + } + }, + "unchecked": { + "nameStyle": { + "fill": "#D8D8D8" + }, + "markerStyle": { + "fill": "#D8D8D8", + "stroke": "#D8D8D8" + } + }, + "inactive": { + "nameStyle": { + "fill": "#D8D8D8" + }, + "markerStyle": { + "opacity": 0.2 + } + } + }, + "flipPage": true, + "pageNavigator": { + "marker": { + "style": { + "size": 12, + "inactiveFill": "rgba(225, 225, 225, 1)", + "inactiveOpacity": 0.45, + "fill": "rgba(225, 225, 225, 1)", + "opacity": 1 + } + }, + "text": { + "style": { + "fill": "rgba(209, 209, 209, 1)", + "fontSize": 12 + } + } + }, + "animate": false, + "maxItemWidth": 200, + "itemSpacing": 24, + "itemMarginBottom": 12, + "padding": [ + 8, + 8, + 8, + 8 + ] + }, + "right": { + "layout": "vertical", + "padding": [ + 0, + 8, + 0, + 8 + ] + }, + "left": { + "layout": "vertical", + "padding": [ + 0, + 8, + 0, + 8 + ] + }, + "top": { + "layout": "horizontal", + "padding": [ + 8, + 0, + 8, + 0 + ] + }, + "bottom": { + "layout": "horizontal", + "padding": [ + 8, + 0, + 8, + 0 + ] + }, + "continuous": { + "title": null, + "background": null, + "track": {}, + "rail": { + "type": "color", + "size": 12, + "defaultLength": 100, + "style": { + "fill": "rgba(33, 33, 33, 1)", + "stroke": null, + "lineWidth": 0 + } + }, + "label": { + "align": "rail", + "spacing": 4, + "formatter": null, + "style": { + "fill": "rgba(209, 209, 209, 1)", + "fontSize": 12, + "lineHeight": 12, + "textBaseline": "middle", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "handler": { + "size": 10, + "style": { + "fill": "#F0F0F0", + "stroke": "#BFBFBF" + } + }, + "slidable": true, + "padding": [ + 8, + 8, + 8, + 8 + ] + } + }, + "tooltip": { + "showContent": true, + "follow": true, + "showCrosshairs": false, + "showMarkers": true, + "shared": false, + "enterable": false, + "position": "auto", + "marker": { + "symbol": "circle", + "stroke": "#fff", + "shadowBlur": 10, + "shadowOffsetX": 0, + "shadowOffsetY": 0, + "shadowColor": "rgba(0,0,0,0.09)", + "lineWidth": 2, + "r": 4 + }, + "crosshairs": { + "line": { + "style": { + "stroke": "#404040", + "lineWidth": 1 + } + }, + "text": null, + "textBackground": { + "padding": 2, + "style": { + "fill": "rgba(0, 0, 0, 0.25)", + "lineWidth": 0, + "stroke": null + } + }, + "follow": false + }, + "domStyles": { + "g2-tooltip": { + "position": "absolute", + "visibility": "hidden", + "zIndex": 8, + "transition": "left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s", + "backgroundColor": "#1f1f1f", + "opacity": 0.95, + "boxShadow": "0px 2px 4px rgba(0,0,0,.5)", + "borderRadius": 10, + "color": "rgba(241, 241, 241, 1)", + "fontSize": "12px", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "lineHeight": "12px", + "padding": "0 12px 0 12px" + }, + "g2-tooltip-title": { + "marginBottom": "12px", + "marginTop": "12px" + }, + "g2-tooltip-list": { + "margin": 0, + "listStyleType": "none", + "padding": 0 + }, + "g2-tooltip-list-item": { + "listStyleType": "none", + "padding": 0, + "marginBottom": "12px", + "marginTop": "12px", + "marginLeft": 0, + "marginRight": 0 + }, + "g2-tooltip-marker": { + "width": "8px", + "height": "8px", + "borderRadius": "50%", + "display": "inline-block", + "marginRight": "8px" + }, + "g2-tooltip-value": { + "display": "inline-block", + "float": "right", + "marginLeft": "30px" + } + } + }, + "annotation": { + "arc": { + "style": { + "stroke": "#262626", + "lineWidth": 1 + }, + "animate": true + }, + "line": { + "style": { + "stroke": "#404040", + "lineDash": null, + "lineWidth": 1 + }, + "text": { + "position": "start", + "autoRotate": true, + "style": { + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "textAlign": "start", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "textBaseline": "bottom" + } + }, + "animate": true + }, + "text": { + "style": { + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "textBaseline": "middle", + "textAlign": "start", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + }, + "animate": true + }, + "region": { + "top": false, + "style": { + "lineWidth": 0, + "stroke": null, + "fill": "#FFFFFF", + "fillOpacity": 0.06 + }, + "animate": true + }, + "image": { + "top": false, + "animate": true + }, + "dataMarker": { + "top": true, + "point": { + "style": { + "r": 3, + "stroke": "#5B8FF9", + "lineWidth": 2 + } + }, + "line": { + "style": { + "stroke": "#404040", + "lineWidth": 1 + }, + "length": 16 + }, + "text": { + "style": { + "textAlign": "start", + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "direction": "upward", + "autoAdjust": true, + "animate": true + }, + "dataRegion": { + "style": { + "region": { + "fill": "#FFFFFF", + "fillOpacity": 0.06 + }, + "text": { + "textAlign": "center", + "textBaseline": "bottom", + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "animate": true + } + }, + "slider": { + "common": { + "padding": [ + 8, + 8, + 8, + 8 + ], + "backgroundStyle": { + "fill": "#416180", + "opacity": 0.05 + }, + "foregroundStyle": { + "fill": "#5B8FF9", + "opacity": 0.1 + }, + "handlerStyle": { + "width": 10, + "height": 24, + "fill": "#F7F7F7", + "opacity": 1, + "stroke": "#BFBFBF", + "lineWidth": 1, + "radius": 2, + "highLightFill": "#FFF" + }, + "textStyle": { + "fill": "#fff", + "opacity": 0.45, + "fontSize": 12, + "lineHeight": 12, + "fontWeight": "normal", + "stroke": null, + "lineWidth": 0 + } + } + }, + "scrollbar": { + "common": { + "padding": [ + 8, + 8, + 8, + 8 + ] + }, + "default": { + "style": { + "trackColor": "rgba(25, 29, 41, 1)", + "thumbColor": "rgba(70, 71, 85, 1)" + } + }, + "hover": { + "style": { + "thumbColor": "rgba(73, 82, 99, 1)" + } + } + } + }, + "labels": { + "offset": 12, + "style": { + "fill": "#fff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": null, + "lineWidth": 0 + }, + "fillColorDark": "#ffffff", + "fillColorLight": "#ffffff", + "autoRotate": true + }, + "innerLabels": { + "style": { + "fill": "#fff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": null, + "lineWidth": 0 + }, + "autoRotate": true + }, + "overflowLabels": { + "style": { + "fill": "#ffffff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": "#000", + "lineWidth": 1 + } + }, + "pieLabels": { + "labelHeight": 12, + "offset": 10, + "labelLine": { + "style": { + "lineWidth": 1 + } + }, + "autoRotate": true + }, + "bottom-axis-subTick-line": false, + "styleSheet": { + "brandColor": "#5B8FF9", + "paletteQualitative10": [ + "#5B8FF9", + "#61DDAA", + "#65789B", + "#F6BD16", + "#7262fd", + "#78D3F8", + "#9661BC", + "#F6903D", + "#008685", + "#F08BB4" + ], + "paletteQualitative20": [ + "#5B8FF9", + "#CDDDFD", + "#61DDAA", + "#CDF3E4", + "#65789B", + "#CED4DE", + "#F6BD16", + "#FCEBB9", + "#7262fd", + "#D3CEFD", + "#78D3F8", + "#D3EEF9", + "#9661BC", + "#DECFEA", + "#F6903D", + "#FFE0C7", + "#008685", + "#BBDEDE", + "#F08BB4", + "#FFE0ED" + ] + } } \ No newline at end of file diff --git a/src/views/pages/report/statement/widgetthemes/theme-dark2.json b/src/views/pages/report/statement/widgetthemes/theme-dark2.json index 43aa5e26d831636bd5b9468d8c167147b602674c..a7763675fce8906c913d10e29b0d95d11508b2c0 100644 --- a/src/views/pages/report/statement/widgetthemes/theme-dark2.json +++ b/src/views/pages/report/statement/widgetthemes/theme-dark2.json @@ -1,691 +1,687 @@ -{ - "background": "transparent", - "subColor": "rgba(255, 255, 255, 0.05)", - "semanticRed": "rgba(244, 102, 74, 1)", - "semanticGreen": "rgba(37, 184, 100, 1)", - "padding": "auto", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "columnWidthRatio": 0.5, - "maxColumnWidth": null, - "minColumnWidth": null, - "roseWidthRatio": 0.9999999, - "multiplePieWidthRatio": 0.7692307692307692, - "sequenceColors": [ - "#ffe1d0", - "#ffdecb", - "#ffbd99", - "#ff9d68", - "#ff8d59", - "#ff7d4a", - "#ff6b3b", - "#ec5b2c", - "#d84a1d", - "#c5390c" - ], - "shapes": { - "point": [ - "hollow-circle", - "hollow-square", - "hollow-bowtie", - "hollow-diamond", - "hollow-hexagon", - "hollow-triangle", - "hollow-triangle-down", - "circle", - "square", - "bowtie", - "diamond", - "hexagon", - "triangle", - "triangle-down", - "cross", - "tick", - "plus", - "hyphen", - "line" - ], - "line": [ - "line", - "dash", - "dot", - "smooth" - ], - "area": [ - "area", - "smooth", - "line", - "smooth-line" - ], - "interval": [ - "rect", - "hollow-rect", - "line", - "tick" - ] - }, - "sizes": [ - 1, - 10 - ], - "components": { - "axis": { - "common": { - "title": { - "autoRotate": true, - "position": "center", - "spacing": 12, - "style": { - "fill": "#f1f1f1", - "fontSize": 12, - "lineHeight": 12, - "textBaseline": "middle", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "label": { - "autoRotate": false, - "autoEllipsis": false, - "autoHide": { - "type": "equidistance", - "cfg": { - "minGap": 6 - } - }, - "offset": 8, - "style": { - "fill": "rgba(241, 241, 241, 1)", - "fontSize": 12, - "lineHeight": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "line": { - "style": { - "lineWidth": 1, - "stroke": "rgba(209, 209, 209, 1)" - } - }, - "grid": { - "line": { - "type": "line", - "style": { - "stroke": "rgba(70, 71, 85, 1)", - "lineWidth": 0.5, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "tickLine": { - "style": { - "lineWidth": 1, - "stroke": "rgba(209, 209, 209, 1)" - }, - "alignTick": true, - "length": 4 - }, - "subTickLine": null, - "animate": true - }, - "top": { - "position": "top", - "grid": null, - "title": null, - "verticalLimitLength": 0.5 - }, - "bottom": { - "position": "bottom", - "grid": null, - "title": null, - "verticalLimitLength": 0.5 - }, - "left": { - "position": "left", - "title": null, - "line": null, - "tickLine": null, - "verticalLimitLength": 0.3333333333333333 - }, - "right": { - "position": "right", - "title": null, - "line": null, - "tickLine": null, - "verticalLimitLength": 0.3333333333333333 - }, - "circle": { - "title": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - }, - "grid": { - "line": { - "type": "line", - "style": { - "stroke": "rgba(70, 71, 85, 1)", - "lineWidth": 1, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "label": { - "style": { - "fill": "rgba(241, 241, 255, 1)" - } - }, - "tickLine": { - "style": { - "stroke": "rgba(209, 209, 209, 1)" - } - } - }, - "radius": { - "title": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - }, - "grid": { - "line": { - "type": "circle", - "style": { - "stroke": "#262626", - "lineWidth": 1, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "label": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - } - } - }, - "legend": { - "common": { - "title": null, - "marker": { - "symbol": "circle", - "spacing": 8, - "style": { - "r": 4, - "fill": "#5B8FF9" - } - }, - "itemName": { - "spacing": 5, - "style": { - "fill": "rgba(241, 241, 241, 1)", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "fontSize": 12, - "lineHeight": 12, - "fontWeight": "normal", - "textAlign": "start", - "textBaseline": "middle" - } - }, - "itemStates": { - "active": { - "nameStyle": { - "opacity": 0.8 - } - }, - "unchecked": { - "nameStyle": { - "fill": "#D8D8D8" - }, - "markerStyle": { - "fill": "#D8D8D8", - "stroke": "#D8D8D8" - } - }, - "inactive": { - "nameStyle": { - "fill": "#D8D8D8" - }, - "markerStyle": { - "opacity": 0.2 - } - } - }, - "flipPage": true, - "pageNavigator": { - "marker": { - "style": { - "size": 12, - "inactiveFill": "rgba(225, 225, 225, 1)", - "inactiveOpacity": 0.45, - "fill": "rgba(225, 225, 225, 1)", - "opacity": 1 - } - }, - "text": { - "style": { - "fill": "rgba(209, 209, 209, 1)", - "fontSize": 12 - } - } - }, - "animate": false, - "maxItemWidth": 200, - "itemSpacing": 24, - "itemMarginBottom": 12, - "padding": [ - 8, - 8, - 8, - 8 - ] - }, - "right": { - "layout": "vertical", - "padding": [ - 0, - 8, - 0, - 8 - ] - }, - "left": { - "layout": "vertical", - "padding": [ - 0, - 8, - 0, - 8 - ] - }, - "top": { - "layout": "horizontal", - "padding": [ - 8, - 0, - 8, - 0 - ] - }, - "bottom": { - "layout": "horizontal", - "padding": [ - 8, - 0, - 8, - 0 - ] - }, - "continuous": { - "title": null, - "background": null, - "track": {}, - "rail": { - "type": "color", - "size": 12, - "defaultLength": 100, - "style": { - "fill": "rgba(33, 33, 33, 1)", - "stroke": null, - "lineWidth": 0 - } - }, - "label": { - "align": "rail", - "spacing": 4, - "formatter": null, - "style": { - "fill": "rgba(209, 209, 209, 1)", - "fontSize": 12, - "lineHeight": 12, - "textBaseline": "middle", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "handler": { - "size": 10, - "style": { - "fill": "#F0F0F0", - "stroke": "#BFBFBF" - } - }, - "slidable": true, - "padding": [ - 8, - 8, - 8, - 8 - ] - } - }, - "tooltip": { - "showContent": true, - "follow": true, - "showCrosshairs": false, - "showMarkers": true, - "shared": false, - "enterable": false, - "position": "auto", - "marker": { - "symbol": "circle", - "stroke": "#fff", - "shadowBlur": 10, - "shadowOffsetX": 0, - "shadowOffsetY": 0, - "shadowColor": "rgba(0,0,0,0.09)", - "lineWidth": 2, - "r": 4 - }, - "crosshairs": { - "line": { - "style": { - "stroke": "#404040", - "lineWidth": 1 - } - }, - "text": null, - "textBackground": { - "padding": 2, - "style": { - "fill": "rgba(0, 0, 0, 0.25)", - "lineWidth": 0, - "stroke": null - } - }, - "follow": false - }, - "domStyles": { - "g2-tooltip": { - "position": "absolute", - "visibility": "hidden", - "zIndex": 8, - "transition": "left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s", - "backgroundColor": "#1f1f1f", - "opacity": 0.95, - "boxShadow": "0px 2px 4px rgba(0,0,0,.5)", - "borderRadius": 10, - "color": "rgba(241, 241, 241, 1)", - "fontSize": "12px", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "lineHeight": "12px", - "padding": "0 12px 0 12px" - }, - "g2-tooltip-title": { - "marginBottom": "12px", - "marginTop": "12px" - }, - "g2-tooltip-list": { - "margin": 0, - "listStyleType": "none", - "padding": 0 - }, - "g2-tooltip-list-item": { - "listStyleType": "none", - "padding": 0, - "marginBottom": "12px", - "marginTop": "12px", - "marginLeft": 0, - "marginRight": 0 - }, - "g2-tooltip-marker": { - "width": "8px", - "height": "8px", - "borderRadius": "50%", - "display": "inline-block", - "marginRight": "8px" - }, - "g2-tooltip-value": { - "display": "inline-block", - "float": "right", - "marginLeft": "30px" - } - } - }, - "annotation": { - "arc": { - "style": { - "stroke": "#262626", - "lineWidth": 1 - }, - "animate": true - }, - "line": { - "style": { - "stroke": "#404040", - "lineDash": null, - "lineWidth": 1 - }, - "text": { - "position": "start", - "autoRotate": true, - "style": { - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "textAlign": "start", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "textBaseline": "bottom" - } - }, - "animate": true - }, - "text": { - "style": { - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "textBaseline": "middle", - "textAlign": "start", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - }, - "animate": true - }, - "region": { - "top": false, - "style": { - "lineWidth": 0, - "stroke": null, - "fill": "#FFFFFF", - "fillOpacity": 0.06 - }, - "animate": true - }, - "image": { - "top": false, - "animate": true - }, - "dataMarker": { - "top": true, - "point": { - "style": { - "r": 3, - "stroke": "#5B8FF9", - "lineWidth": 2 - } - }, - "line": { - "style": { - "stroke": "#404040", - "lineWidth": 1 - }, - "length": 16 - }, - "text": { - "style": { - "textAlign": "start", - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "direction": "upward", - "autoAdjust": true, - "animate": true - }, - "dataRegion": { - "style": { - "region": { - "fill": "#FFFFFF", - "fillOpacity": 0.06 - }, - "text": { - "textAlign": "center", - "textBaseline": "bottom", - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "animate": true - } - }, - "slider": { - "common": { - "padding": [ - 8, - 8, - 8, - 8 - ], - "backgroundStyle": { - "fill": "#416180", - "opacity": 0.05 - }, - "foregroundStyle": { - "fill": "#5B8FF9", - "opacity": 0.1 - }, - "handlerStyle": { - "width": 10, - "height": 24, - "fill": "#F7F7F7", - "opacity": 1, - "stroke": "#BFBFBF", - "lineWidth": 1, - "radius": 2, - "highLightFill": "#FFF" - }, - "textStyle": { - "fill": "#fff", - "opacity": 0.45, - "fontSize": 12, - "lineHeight": 12, - "fontWeight": "normal", - "stroke": null, - "lineWidth": 0 - } - } - }, - "scrollbar": { - "common": { - "padding": [ - 8, - 8, - 8, - 8 - ] - }, - "default": { - "style": { - "trackColor": "rgba(25, 29, 41, 1)", - "thumbColor": "rgba(70, 71, 85, 1)" - } - }, - "hover": { - "style": { - "thumbColor": "rgba(73, 82, 99, 1)" - } - } - } - }, - "labels": { - "offset": 12, - "style": { - "fill": "#fff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": null, - "lineWidth": 0 - }, - "fillColorDark": "#ffffff", - "fillColorLight": "#ffffff", - "autoRotate": true - }, - "innerLabels": { - "style": { - "fill": "#fff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": null, - "lineWidth": 0 - }, - "autoRotate": true - }, - "overflowLabels": { - "style": { - "fill": "#ffffff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": "#000", - "lineWidth": 1 - } - }, - "pieLabels": { - "labelHeight": 12, - "offset": 10, - "labelLine": { - "style": { - "lineWidth": 1 - } - }, - "autoRotate": true - }, - "bottom-axis-subTick-line": false, - "styleSheet": { - "brandColor": "#FF6B3B", - "paletteQualitative10": [ - "#FF6B3B", - "#626681", - "#FFC100", - "#9FB40F", - "#76523B", - "#DAD5B5", - "#0E8E89", - "#E19348", - "#F383A2", - "#247FEA" - ], - "paletteQualitative20": [ - "#FF6B3B", - "#626681", - "#FFC100", - "#9FB40F", - "#76523B", - "#DAD5B5", - "#0E8E89", - "#E19348", - "#F383A2", - "#247FEA", - "#2BCB95", - "#B1ABF4", - "#1D42C2", - "#1D9ED1", - "#D64BC0", - "#255634", - "#8C8C47", - "#8CDAE5", - "#8E283B", - "#791DC9" - ] - } +{ + "background": "transparent", + "subColor": "rgba(255, 255, 255, 0.05)", + "semanticRed": "rgba(244, 102, 74, 1)", + "semanticGreen": "rgba(37, 184, 100, 1)", + "padding": "auto", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "columnWidthRatio": 0.5, + "maxColumnWidth": null, + "minColumnWidth": null, + "roseWidthRatio": 0.9999999, + "multiplePieWidthRatio": 0.7692307692307692, + "sequenceColors": [ + "#ffe1d0", + "#ffdecb", + "#ffbd99", + "#ff9d68", + "#ff8d59", + "#ff7d4a", + "#ff6b3b", + "#ec5b2c", + "#d84a1d", + "#c5390c" + ], + "shapes": { + "point": [ + "hollow-circle", + "hollow-square", + "hollow-bowtie", + "hollow-diamond", + "hollow-hexagon", + "hollow-triangle", + "hollow-triangle-down", + "circle", + "square", + "bowtie", + "diamond", + "hexagon", + "triangle", + "triangle-down", + "cross", + "tick", + "plus", + "hyphen", + "line" + ], + "line": [ + "line", + "dash", + "dot", + "smooth" + ], + "area": [ + "area", + "smooth", + "line", + "smooth-line" + ], + "interval": [ + "rect", + "hollow-rect", + "line", + "tick" + ] + }, + "sizes": [ + 1, + 10 + ], + "components": { + "axis": { + "common": { + "title": { + "autoRotate": true, + "position": "center", + "spacing": 12, + "style": { + "fill": "#f1f1f1", + "fontSize": 12, + "lineHeight": 12, + "textBaseline": "middle", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "label": { + "autoRotate": false, + "autoEllipsis": false, + "autoHide": { + "type": "equidistance", + "cfg": { + "minGap": 6 + } + }, + "offset": 8, + "style": { + "fill": "rgba(241, 241, 241, 1)", + "fontSize": 12, + "lineHeight": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "line": { + "style": { + "lineWidth": 1, + "stroke": "rgba(209, 209, 209, 1)" + } + }, + "grid": { + "line": { + "type": "line", + "style": { + "stroke": "rgba(70, 71, 85, 1)", + "lineWidth": 0.5, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "tickLine": { + "style": { + "lineWidth": 1, + "stroke": "rgba(209, 209, 209, 1)" + }, + "alignTick": true, + "length": 4 + }, + "subTickLine": null, + "animate": true + }, + "top": { + "position": "top", + "grid": null, + "title": null, + "verticalLimitLength": 0.5 + }, + "bottom": { + "position": "bottom", + "grid": null, + "title": null, + "verticalLimitLength": 0.5 + }, + "left": { + "position": "left", + "title": null, + "line": null, + "tickLine": null, + "verticalLimitLength": 0.3333333333333333 + }, + "right": { + "position": "right", + "title": null, + "line": null, + "tickLine": null, + "verticalLimitLength": 0.3333333333333333 + }, + "circle": { + "title": null, + "grid": { + "line": { + "type": "line", + "style": { + "stroke": "rgba(70, 71, 85, 1)", + "lineWidth": 1, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "label": { + "style": { + "fill": "rgba(241, 241, 255, 1)" + } + }, + "tickLine": { + "style": { + "stroke": "rgba(209, 209, 209, 1)" + } + } + }, + "radius": { + "title": { + "style": { + "fill": "rgba(241, 241, 241, 1)" + } + }, + "grid": { + "line": { + "type": "circle", + "style": { + "stroke": "#262626", + "lineWidth": 1, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "label": { + "style": { + "fill": "rgba(241, 241, 241, 1)" + } + } + } + }, + "legend": { + "common": { + "title": null, + "marker": { + "symbol": "circle", + "spacing": 8, + "style": { + "r": 4, + "fill": "#5B8FF9" + } + }, + "itemName": { + "spacing": 5, + "style": { + "fill": "rgba(241, 241, 241, 1)", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "fontSize": 12, + "lineHeight": 12, + "fontWeight": "normal", + "textAlign": "start", + "textBaseline": "middle" + } + }, + "itemStates": { + "active": { + "nameStyle": { + "opacity": 0.8 + } + }, + "unchecked": { + "nameStyle": { + "fill": "#D8D8D8" + }, + "markerStyle": { + "fill": "#D8D8D8", + "stroke": "#D8D8D8" + } + }, + "inactive": { + "nameStyle": { + "fill": "#D8D8D8" + }, + "markerStyle": { + "opacity": 0.2 + } + } + }, + "flipPage": true, + "pageNavigator": { + "marker": { + "style": { + "size": 12, + "inactiveFill": "rgba(225, 225, 225, 1)", + "inactiveOpacity": 0.45, + "fill": "rgba(225, 225, 225, 1)", + "opacity": 1 + } + }, + "text": { + "style": { + "fill": "rgba(209, 209, 209, 1)", + "fontSize": 12 + } + } + }, + "animate": false, + "maxItemWidth": 200, + "itemSpacing": 24, + "itemMarginBottom": 12, + "padding": [ + 8, + 8, + 8, + 8 + ] + }, + "right": { + "layout": "vertical", + "padding": [ + 0, + 8, + 0, + 8 + ] + }, + "left": { + "layout": "vertical", + "padding": [ + 0, + 8, + 0, + 8 + ] + }, + "top": { + "layout": "horizontal", + "padding": [ + 8, + 0, + 8, + 0 + ] + }, + "bottom": { + "layout": "horizontal", + "padding": [ + 8, + 0, + 8, + 0 + ] + }, + "continuous": { + "title": null, + "background": null, + "track": {}, + "rail": { + "type": "color", + "size": 12, + "defaultLength": 100, + "style": { + "fill": "rgba(33, 33, 33, 1)", + "stroke": null, + "lineWidth": 0 + } + }, + "label": { + "align": "rail", + "spacing": 4, + "formatter": null, + "style": { + "fill": "rgba(209, 209, 209, 1)", + "fontSize": 12, + "lineHeight": 12, + "textBaseline": "middle", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "handler": { + "size": 10, + "style": { + "fill": "#F0F0F0", + "stroke": "#BFBFBF" + } + }, + "slidable": true, + "padding": [ + 8, + 8, + 8, + 8 + ] + } + }, + "tooltip": { + "showContent": true, + "follow": true, + "showCrosshairs": false, + "showMarkers": true, + "shared": false, + "enterable": false, + "position": "auto", + "marker": { + "symbol": "circle", + "stroke": "#fff", + "shadowBlur": 10, + "shadowOffsetX": 0, + "shadowOffsetY": 0, + "shadowColor": "rgba(0,0,0,0.09)", + "lineWidth": 2, + "r": 4 + }, + "crosshairs": { + "line": { + "style": { + "stroke": "#404040", + "lineWidth": 1 + } + }, + "text": null, + "textBackground": { + "padding": 2, + "style": { + "fill": "rgba(0, 0, 0, 0.25)", + "lineWidth": 0, + "stroke": null + } + }, + "follow": false + }, + "domStyles": { + "g2-tooltip": { + "position": "absolute", + "visibility": "hidden", + "zIndex": 8, + "transition": "left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s", + "backgroundColor": "#1f1f1f", + "opacity": 0.95, + "boxShadow": "0px 2px 4px rgba(0,0,0,.5)", + "borderRadius": 10, + "color": "rgba(241, 241, 241, 1)", + "fontSize": "12px", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "lineHeight": "12px", + "padding": "0 12px 0 12px" + }, + "g2-tooltip-title": { + "marginBottom": "12px", + "marginTop": "12px" + }, + "g2-tooltip-list": { + "margin": 0, + "listStyleType": "none", + "padding": 0 + }, + "g2-tooltip-list-item": { + "listStyleType": "none", + "padding": 0, + "marginBottom": "12px", + "marginTop": "12px", + "marginLeft": 0, + "marginRight": 0 + }, + "g2-tooltip-marker": { + "width": "8px", + "height": "8px", + "borderRadius": "50%", + "display": "inline-block", + "marginRight": "8px" + }, + "g2-tooltip-value": { + "display": "inline-block", + "float": "right", + "marginLeft": "30px" + } + } + }, + "annotation": { + "arc": { + "style": { + "stroke": "#262626", + "lineWidth": 1 + }, + "animate": true + }, + "line": { + "style": { + "stroke": "#404040", + "lineDash": null, + "lineWidth": 1 + }, + "text": { + "position": "start", + "autoRotate": true, + "style": { + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "textAlign": "start", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "textBaseline": "bottom" + } + }, + "animate": true + }, + "text": { + "style": { + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "textBaseline": "middle", + "textAlign": "start", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + }, + "animate": true + }, + "region": { + "top": false, + "style": { + "lineWidth": 0, + "stroke": null, + "fill": "#FFFFFF", + "fillOpacity": 0.06 + }, + "animate": true + }, + "image": { + "top": false, + "animate": true + }, + "dataMarker": { + "top": true, + "point": { + "style": { + "r": 3, + "stroke": "#5B8FF9", + "lineWidth": 2 + } + }, + "line": { + "style": { + "stroke": "#404040", + "lineWidth": 1 + }, + "length": 16 + }, + "text": { + "style": { + "textAlign": "start", + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "direction": "upward", + "autoAdjust": true, + "animate": true + }, + "dataRegion": { + "style": { + "region": { + "fill": "#FFFFFF", + "fillOpacity": 0.06 + }, + "text": { + "textAlign": "center", + "textBaseline": "bottom", + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "animate": true + } + }, + "slider": { + "common": { + "padding": [ + 8, + 8, + 8, + 8 + ], + "backgroundStyle": { + "fill": "#416180", + "opacity": 0.05 + }, + "foregroundStyle": { + "fill": "#5B8FF9", + "opacity": 0.1 + }, + "handlerStyle": { + "width": 10, + "height": 24, + "fill": "#F7F7F7", + "opacity": 1, + "stroke": "#BFBFBF", + "lineWidth": 1, + "radius": 2, + "highLightFill": "#FFF" + }, + "textStyle": { + "fill": "#fff", + "opacity": 0.45, + "fontSize": 12, + "lineHeight": 12, + "fontWeight": "normal", + "stroke": null, + "lineWidth": 0 + } + } + }, + "scrollbar": { + "common": { + "padding": [ + 8, + 8, + 8, + 8 + ] + }, + "default": { + "style": { + "trackColor": "rgba(25, 29, 41, 1)", + "thumbColor": "rgba(70, 71, 85, 1)" + } + }, + "hover": { + "style": { + "thumbColor": "rgba(73, 82, 99, 1)" + } + } + } + }, + "labels": { + "offset": 12, + "style": { + "fill": "#fff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": null, + "lineWidth": 0 + }, + "fillColorDark": "#ffffff", + "fillColorLight": "#ffffff", + "autoRotate": true + }, + "innerLabels": { + "style": { + "fill": "#fff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": null, + "lineWidth": 0 + }, + "autoRotate": true + }, + "overflowLabels": { + "style": { + "fill": "#ffffff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": "#000", + "lineWidth": 1 + } + }, + "pieLabels": { + "labelHeight": 12, + "offset": 10, + "labelLine": { + "style": { + "lineWidth": 1 + } + }, + "autoRotate": true + }, + "bottom-axis-subTick-line": false, + "styleSheet": { + "brandColor": "#FF6B3B", + "paletteQualitative10": [ + "#FF6B3B", + "#626681", + "#FFC100", + "#9FB40F", + "#76523B", + "#DAD5B5", + "#0E8E89", + "#E19348", + "#F383A2", + "#247FEA" + ], + "paletteQualitative20": [ + "#FF6B3B", + "#626681", + "#FFC100", + "#9FB40F", + "#76523B", + "#DAD5B5", + "#0E8E89", + "#E19348", + "#F383A2", + "#247FEA", + "#2BCB95", + "#B1ABF4", + "#1D42C2", + "#1D9ED1", + "#D64BC0", + "#255634", + "#8C8C47", + "#8CDAE5", + "#8E283B", + "#791DC9" + ] + } } \ No newline at end of file diff --git a/src/views/pages/report/statement/widgetthemes/theme-dark3.json b/src/views/pages/report/statement/widgetthemes/theme-dark3.json index 656792a502ccc3e560cb67075f5ad5485a852bda..3f89382f476a5617eb1ab38c19071d7663a8518c 100644 --- a/src/views/pages/report/statement/widgetthemes/theme-dark3.json +++ b/src/views/pages/report/statement/widgetthemes/theme-dark3.json @@ -1,691 +1,687 @@ -{ - "background": "transparent", - "subColor": "rgba(255, 255, 255, 0.05)", - "semanticRed": "rgba(244, 102, 74, 1)", - "semanticGreen": "rgba(37, 184, 100, 1)", - "padding": "auto", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "columnWidthRatio": 0.5, - "maxColumnWidth": null, - "minColumnWidth": null, - "roseWidthRatio": 0.9999999, - "multiplePieWidthRatio": 0.7692307692307692, - "sequenceColors": [ - "#d8daff", - "#aeb6ff", - "#7d94ff", - "#5d80fd", - "#4973fa", - "#2d66f6", - "#0359ef", - "#034ddf", - "#0241cf", - "#0035c0" - ], - "shapes": { - "point": [ - "hollow-circle", - "hollow-square", - "hollow-bowtie", - "hollow-diamond", - "hollow-hexagon", - "hollow-triangle", - "hollow-triangle-down", - "circle", - "square", - "bowtie", - "diamond", - "hexagon", - "triangle", - "triangle-down", - "cross", - "tick", - "plus", - "hyphen", - "line" - ], - "line": [ - "line", - "dash", - "dot", - "smooth" - ], - "area": [ - "area", - "smooth", - "line", - "smooth-line" - ], - "interval": [ - "rect", - "hollow-rect", - "line", - "tick" - ] - }, - "sizes": [ - 1, - 10 - ], - "components": { - "axis": { - "common": { - "title": { - "autoRotate": true, - "position": "center", - "spacing": 12, - "style": { - "fill": "#f1f1f1", - "fontSize": 12, - "lineHeight": 12, - "textBaseline": "middle", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "label": { - "autoRotate": false, - "autoEllipsis": false, - "autoHide": { - "type": "equidistance", - "cfg": { - "minGap": 6 - } - }, - "offset": 8, - "style": { - "fill": "rgba(241, 241, 241, 1)", - "fontSize": 12, - "lineHeight": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "line": { - "style": { - "lineWidth": 1, - "stroke": "rgba(209, 209, 209, 1)" - } - }, - "grid": { - "line": { - "type": "line", - "style": { - "stroke": "rgba(70, 71, 85, 1)", - "lineWidth": 0.5, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "tickLine": { - "style": { - "lineWidth": 1, - "stroke": "rgba(209, 209, 209, 1)" - }, - "alignTick": true, - "length": 4 - }, - "subTickLine": null, - "animate": true - }, - "top": { - "position": "top", - "grid": null, - "title": null, - "verticalLimitLength": 0.5 - }, - "bottom": { - "position": "bottom", - "grid": null, - "title": null, - "verticalLimitLength": 0.5 - }, - "left": { - "position": "left", - "title": null, - "line": null, - "tickLine": null, - "verticalLimitLength": 0.3333333333333333 - }, - "right": { - "position": "right", - "title": null, - "line": null, - "tickLine": null, - "verticalLimitLength": 0.3333333333333333 - }, - "circle": { - "title": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - }, - "grid": { - "line": { - "type": "line", - "style": { - "stroke": "rgba(70, 71, 85, 1)", - "lineWidth": 1, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "label": { - "style": { - "fill": "rgba(241, 241, 255, 1)" - } - }, - "tickLine": { - "style": { - "stroke": "rgba(209, 209, 209, 1)" - } - } - }, - "radius": { - "title": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - }, - "grid": { - "line": { - "type": "circle", - "style": { - "stroke": "#262626", - "lineWidth": 1, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "label": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - } - } - }, - "legend": { - "common": { - "title": null, - "marker": { - "symbol": "circle", - "spacing": 8, - "style": { - "r": 4, - "fill": "#5B8FF9" - } - }, - "itemName": { - "spacing": 5, - "style": { - "fill": "rgba(241, 241, 241, 1)", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "fontSize": 12, - "lineHeight": 12, - "fontWeight": "normal", - "textAlign": "start", - "textBaseline": "middle" - } - }, - "itemStates": { - "active": { - "nameStyle": { - "opacity": 0.8 - } - }, - "unchecked": { - "nameStyle": { - "fill": "#D8D8D8" - }, - "markerStyle": { - "fill": "#D8D8D8", - "stroke": "#D8D8D8" - } - }, - "inactive": { - "nameStyle": { - "fill": "#D8D8D8" - }, - "markerStyle": { - "opacity": 0.2 - } - } - }, - "flipPage": true, - "pageNavigator": { - "marker": { - "style": { - "size": 12, - "inactiveFill": "rgba(225, 225, 225, 1)", - "inactiveOpacity": 0.45, - "fill": "rgba(225, 225, 225, 1)", - "opacity": 1 - } - }, - "text": { - "style": { - "fill": "rgba(209, 209, 209, 1)", - "fontSize": 12 - } - } - }, - "animate": false, - "maxItemWidth": 200, - "itemSpacing": 24, - "itemMarginBottom": 12, - "padding": [ - 8, - 8, - 8, - 8 - ] - }, - "right": { - "layout": "vertical", - "padding": [ - 0, - 8, - 0, - 8 - ] - }, - "left": { - "layout": "vertical", - "padding": [ - 0, - 8, - 0, - 8 - ] - }, - "top": { - "layout": "horizontal", - "padding": [ - 8, - 0, - 8, - 0 - ] - }, - "bottom": { - "layout": "horizontal", - "padding": [ - 8, - 0, - 8, - 0 - ] - }, - "continuous": { - "title": null, - "background": null, - "track": {}, - "rail": { - "type": "color", - "size": 12, - "defaultLength": 100, - "style": { - "fill": "rgba(33, 33, 33, 1)", - "stroke": null, - "lineWidth": 0 - } - }, - "label": { - "align": "rail", - "spacing": 4, - "formatter": null, - "style": { - "fill": "rgba(209, 209, 209, 1)", - "fontSize": 12, - "lineHeight": 12, - "textBaseline": "middle", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "handler": { - "size": 10, - "style": { - "fill": "#F0F0F0", - "stroke": "#BFBFBF" - } - }, - "slidable": true, - "padding": [ - 8, - 8, - 8, - 8 - ] - } - }, - "tooltip": { - "showContent": true, - "follow": true, - "showCrosshairs": false, - "showMarkers": true, - "shared": false, - "enterable": false, - "position": "auto", - "marker": { - "symbol": "circle", - "stroke": "#fff", - "shadowBlur": 10, - "shadowOffsetX": 0, - "shadowOffsetY": 0, - "shadowColor": "rgba(0,0,0,0.09)", - "lineWidth": 2, - "r": 4 - }, - "crosshairs": { - "line": { - "style": { - "stroke": "#404040", - "lineWidth": 1 - } - }, - "text": null, - "textBackground": { - "padding": 2, - "style": { - "fill": "rgba(0, 0, 0, 0.25)", - "lineWidth": 0, - "stroke": null - } - }, - "follow": false - }, - "domStyles": { - "g2-tooltip": { - "position": "absolute", - "visibility": "hidden", - "zIndex": 8, - "transition": "left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s", - "backgroundColor": "#1f1f1f", - "opacity": 0.95, - "boxShadow": "0px 2px 4px rgba(0,0,0,.5)", - "borderRadius": 10, - "color": "rgba(241, 241, 241, 1)", - "fontSize": "12px", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "lineHeight": "12px", - "padding": "0 12px 0 12px" - }, - "g2-tooltip-title": { - "marginBottom": "12px", - "marginTop": "12px" - }, - "g2-tooltip-list": { - "margin": 0, - "listStyleType": "none", - "padding": 0 - }, - "g2-tooltip-list-item": { - "listStyleType": "none", - "padding": 0, - "marginBottom": "12px", - "marginTop": "12px", - "marginLeft": 0, - "marginRight": 0 - }, - "g2-tooltip-marker": { - "width": "8px", - "height": "8px", - "borderRadius": "50%", - "display": "inline-block", - "marginRight": "8px" - }, - "g2-tooltip-value": { - "display": "inline-block", - "float": "right", - "marginLeft": "30px" - } - } - }, - "annotation": { - "arc": { - "style": { - "stroke": "#262626", - "lineWidth": 1 - }, - "animate": true - }, - "line": { - "style": { - "stroke": "#404040", - "lineDash": null, - "lineWidth": 1 - }, - "text": { - "position": "start", - "autoRotate": true, - "style": { - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "textAlign": "start", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "textBaseline": "bottom" - } - }, - "animate": true - }, - "text": { - "style": { - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "textBaseline": "middle", - "textAlign": "start", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - }, - "animate": true - }, - "region": { - "top": false, - "style": { - "lineWidth": 0, - "stroke": null, - "fill": "#FFFFFF", - "fillOpacity": 0.06 - }, - "animate": true - }, - "image": { - "top": false, - "animate": true - }, - "dataMarker": { - "top": true, - "point": { - "style": { - "r": 3, - "stroke": "#5B8FF9", - "lineWidth": 2 - } - }, - "line": { - "style": { - "stroke": "#404040", - "lineWidth": 1 - }, - "length": 16 - }, - "text": { - "style": { - "textAlign": "start", - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "direction": "upward", - "autoAdjust": true, - "animate": true - }, - "dataRegion": { - "style": { - "region": { - "fill": "#FFFFFF", - "fillOpacity": 0.06 - }, - "text": { - "textAlign": "center", - "textBaseline": "bottom", - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "animate": true - } - }, - "slider": { - "common": { - "padding": [ - 8, - 8, - 8, - 8 - ], - "backgroundStyle": { - "fill": "#416180", - "opacity": 0.05 - }, - "foregroundStyle": { - "fill": "#5B8FF9", - "opacity": 0.1 - }, - "handlerStyle": { - "width": 10, - "height": 24, - "fill": "#F7F7F7", - "opacity": 1, - "stroke": "#BFBFBF", - "lineWidth": 1, - "radius": 2, - "highLightFill": "#FFF" - }, - "textStyle": { - "fill": "#fff", - "opacity": 0.45, - "fontSize": 12, - "lineHeight": 12, - "fontWeight": "normal", - "stroke": null, - "lineWidth": 0 - } - } - }, - "scrollbar": { - "common": { - "padding": [ - 8, - 8, - 8, - 8 - ] - }, - "default": { - "style": { - "trackColor": "rgba(25, 29, 41, 1)", - "thumbColor": "rgba(70, 71, 85, 1)" - } - }, - "hover": { - "style": { - "thumbColor": "rgba(73, 82, 99, 1)" - } - } - } - }, - "labels": { - "offset": 12, - "style": { - "fill": "#fff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": null, - "lineWidth": 0 - }, - "fillColorDark": "#ffffff", - "fillColorLight": "#ffffff", - "autoRotate": true - }, - "innerLabels": { - "style": { - "fill": "#fff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": null, - "lineWidth": 0 - }, - "autoRotate": true - }, - "overflowLabels": { - "style": { - "fill": "#ffffff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": "#000", - "lineWidth": 1 - } - }, - "pieLabels": { - "labelHeight": 12, - "offset": 10, - "labelLine": { - "style": { - "lineWidth": 1 - } - }, - "autoRotate": true - }, - "bottom-axis-subTick-line": false, - "styleSheet": { - "brandColor": "#025DF4", - "paletteQualitative10": [ - "#025DF4", - "#DB6BCF", - "#2498D1", - "#BBBDE6", - "#4045B2", - "#21A97A", - "#FF745A", - "#007E99", - "#FFA8A8", - "#2391FF" - ], - "paletteQualitative20": [ - "#025DF4", - "#DB6BCF", - "#2498D1", - "#BBBDE6", - "#4045B2", - "#21A97A", - "#FF745A", - "#007E99", - "#FFA8A8", - "#2391FF", - "#FFC328", - "#A0DC2C", - "#946DFF", - "#626681", - "#EB4185", - "#CD8150", - "#36BCCB", - "#327039", - "#803488", - "#83BC99" - ] - } +{ + "background": "transparent", + "subColor": "rgba(255, 255, 255, 0.05)", + "semanticRed": "rgba(244, 102, 74, 1)", + "semanticGreen": "rgba(37, 184, 100, 1)", + "padding": "auto", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "columnWidthRatio": 0.5, + "maxColumnWidth": null, + "minColumnWidth": null, + "roseWidthRatio": 0.9999999, + "multiplePieWidthRatio": 0.7692307692307692, + "sequenceColors": [ + "#d8daff", + "#aeb6ff", + "#7d94ff", + "#5d80fd", + "#4973fa", + "#2d66f6", + "#0359ef", + "#034ddf", + "#0241cf", + "#0035c0" + ], + "shapes": { + "point": [ + "hollow-circle", + "hollow-square", + "hollow-bowtie", + "hollow-diamond", + "hollow-hexagon", + "hollow-triangle", + "hollow-triangle-down", + "circle", + "square", + "bowtie", + "diamond", + "hexagon", + "triangle", + "triangle-down", + "cross", + "tick", + "plus", + "hyphen", + "line" + ], + "line": [ + "line", + "dash", + "dot", + "smooth" + ], + "area": [ + "area", + "smooth", + "line", + "smooth-line" + ], + "interval": [ + "rect", + "hollow-rect", + "line", + "tick" + ] + }, + "sizes": [ + 1, + 10 + ], + "components": { + "axis": { + "common": { + "title": { + "autoRotate": true, + "position": "center", + "spacing": 12, + "style": { + "fill": "#f1f1f1", + "fontSize": 12, + "lineHeight": 12, + "textBaseline": "middle", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "label": { + "autoRotate": false, + "autoEllipsis": false, + "autoHide": { + "type": "equidistance", + "cfg": { + "minGap": 6 + } + }, + "offset": 8, + "style": { + "fill": "rgba(241, 241, 241, 1)", + "fontSize": 12, + "lineHeight": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "line": { + "style": { + "lineWidth": 1, + "stroke": "rgba(209, 209, 209, 1)" + } + }, + "grid": { + "line": { + "type": "line", + "style": { + "stroke": "rgba(70, 71, 85, 1)", + "lineWidth": 0.5, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "tickLine": { + "style": { + "lineWidth": 1, + "stroke": "rgba(209, 209, 209, 1)" + }, + "alignTick": true, + "length": 4 + }, + "subTickLine": null, + "animate": true + }, + "top": { + "position": "top", + "grid": null, + "title": null, + "verticalLimitLength": 0.5 + }, + "bottom": { + "position": "bottom", + "grid": null, + "title": null, + "verticalLimitLength": 0.5 + }, + "left": { + "position": "left", + "title": null, + "line": null, + "tickLine": null, + "verticalLimitLength": 0.3333333333333333 + }, + "right": { + "position": "right", + "title": null, + "line": null, + "tickLine": null, + "verticalLimitLength": 0.3333333333333333 + }, + "circle": { + "title": null, + "grid": { + "line": { + "type": "line", + "style": { + "stroke": "rgba(70, 71, 85, 1)", + "lineWidth": 1, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "label": { + "style": { + "fill": "rgba(241, 241, 255, 1)" + } + }, + "tickLine": { + "style": { + "stroke": "rgba(209, 209, 209, 1)" + } + } + }, + "radius": { + "title": { + "style": { + "fill": "rgba(241, 241, 241, 1)" + } + }, + "grid": { + "line": { + "type": "circle", + "style": { + "stroke": "#262626", + "lineWidth": 1, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "label": { + "style": { + "fill": "rgba(241, 241, 241, 1)" + } + } + } + }, + "legend": { + "common": { + "title": null, + "marker": { + "symbol": "circle", + "spacing": 8, + "style": { + "r": 4, + "fill": "#5B8FF9" + } + }, + "itemName": { + "spacing": 5, + "style": { + "fill": "rgba(241, 241, 241, 1)", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "fontSize": 12, + "lineHeight": 12, + "fontWeight": "normal", + "textAlign": "start", + "textBaseline": "middle" + } + }, + "itemStates": { + "active": { + "nameStyle": { + "opacity": 0.8 + } + }, + "unchecked": { + "nameStyle": { + "fill": "#D8D8D8" + }, + "markerStyle": { + "fill": "#D8D8D8", + "stroke": "#D8D8D8" + } + }, + "inactive": { + "nameStyle": { + "fill": "#D8D8D8" + }, + "markerStyle": { + "opacity": 0.2 + } + } + }, + "flipPage": true, + "pageNavigator": { + "marker": { + "style": { + "size": 12, + "inactiveFill": "rgba(225, 225, 225, 1)", + "inactiveOpacity": 0.45, + "fill": "rgba(225, 225, 225, 1)", + "opacity": 1 + } + }, + "text": { + "style": { + "fill": "rgba(209, 209, 209, 1)", + "fontSize": 12 + } + } + }, + "animate": false, + "maxItemWidth": 200, + "itemSpacing": 24, + "itemMarginBottom": 12, + "padding": [ + 8, + 8, + 8, + 8 + ] + }, + "right": { + "layout": "vertical", + "padding": [ + 0, + 8, + 0, + 8 + ] + }, + "left": { + "layout": "vertical", + "padding": [ + 0, + 8, + 0, + 8 + ] + }, + "top": { + "layout": "horizontal", + "padding": [ + 8, + 0, + 8, + 0 + ] + }, + "bottom": { + "layout": "horizontal", + "padding": [ + 8, + 0, + 8, + 0 + ] + }, + "continuous": { + "title": null, + "background": null, + "track": {}, + "rail": { + "type": "color", + "size": 12, + "defaultLength": 100, + "style": { + "fill": "rgba(33, 33, 33, 1)", + "stroke": null, + "lineWidth": 0 + } + }, + "label": { + "align": "rail", + "spacing": 4, + "formatter": null, + "style": { + "fill": "rgba(209, 209, 209, 1)", + "fontSize": 12, + "lineHeight": 12, + "textBaseline": "middle", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "handler": { + "size": 10, + "style": { + "fill": "#F0F0F0", + "stroke": "#BFBFBF" + } + }, + "slidable": true, + "padding": [ + 8, + 8, + 8, + 8 + ] + } + }, + "tooltip": { + "showContent": true, + "follow": true, + "showCrosshairs": false, + "showMarkers": true, + "shared": false, + "enterable": false, + "position": "auto", + "marker": { + "symbol": "circle", + "stroke": "#fff", + "shadowBlur": 10, + "shadowOffsetX": 0, + "shadowOffsetY": 0, + "shadowColor": "rgba(0,0,0,0.09)", + "lineWidth": 2, + "r": 4 + }, + "crosshairs": { + "line": { + "style": { + "stroke": "#404040", + "lineWidth": 1 + } + }, + "text": null, + "textBackground": { + "padding": 2, + "style": { + "fill": "rgba(0, 0, 0, 0.25)", + "lineWidth": 0, + "stroke": null + } + }, + "follow": false + }, + "domStyles": { + "g2-tooltip": { + "position": "absolute", + "visibility": "hidden", + "zIndex": 8, + "transition": "left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s", + "backgroundColor": "#1f1f1f", + "opacity": 0.95, + "boxShadow": "0px 2px 4px rgba(0,0,0,.5)", + "borderRadius": 10, + "color": "rgba(241, 241, 241, 1)", + "fontSize": "12px", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "lineHeight": "12px", + "padding": "0 12px 0 12px" + }, + "g2-tooltip-title": { + "marginBottom": "12px", + "marginTop": "12px" + }, + "g2-tooltip-list": { + "margin": 0, + "listStyleType": "none", + "padding": 0 + }, + "g2-tooltip-list-item": { + "listStyleType": "none", + "padding": 0, + "marginBottom": "12px", + "marginTop": "12px", + "marginLeft": 0, + "marginRight": 0 + }, + "g2-tooltip-marker": { + "width": "8px", + "height": "8px", + "borderRadius": "50%", + "display": "inline-block", + "marginRight": "8px" + }, + "g2-tooltip-value": { + "display": "inline-block", + "float": "right", + "marginLeft": "30px" + } + } + }, + "annotation": { + "arc": { + "style": { + "stroke": "#262626", + "lineWidth": 1 + }, + "animate": true + }, + "line": { + "style": { + "stroke": "#404040", + "lineDash": null, + "lineWidth": 1 + }, + "text": { + "position": "start", + "autoRotate": true, + "style": { + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "textAlign": "start", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "textBaseline": "bottom" + } + }, + "animate": true + }, + "text": { + "style": { + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "textBaseline": "middle", + "textAlign": "start", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + }, + "animate": true + }, + "region": { + "top": false, + "style": { + "lineWidth": 0, + "stroke": null, + "fill": "#FFFFFF", + "fillOpacity": 0.06 + }, + "animate": true + }, + "image": { + "top": false, + "animate": true + }, + "dataMarker": { + "top": true, + "point": { + "style": { + "r": 3, + "stroke": "#5B8FF9", + "lineWidth": 2 + } + }, + "line": { + "style": { + "stroke": "#404040", + "lineWidth": 1 + }, + "length": 16 + }, + "text": { + "style": { + "textAlign": "start", + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "direction": "upward", + "autoAdjust": true, + "animate": true + }, + "dataRegion": { + "style": { + "region": { + "fill": "#FFFFFF", + "fillOpacity": 0.06 + }, + "text": { + "textAlign": "center", + "textBaseline": "bottom", + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "animate": true + } + }, + "slider": { + "common": { + "padding": [ + 8, + 8, + 8, + 8 + ], + "backgroundStyle": { + "fill": "#416180", + "opacity": 0.05 + }, + "foregroundStyle": { + "fill": "#5B8FF9", + "opacity": 0.1 + }, + "handlerStyle": { + "width": 10, + "height": 24, + "fill": "#F7F7F7", + "opacity": 1, + "stroke": "#BFBFBF", + "lineWidth": 1, + "radius": 2, + "highLightFill": "#FFF" + }, + "textStyle": { + "fill": "#fff", + "opacity": 0.45, + "fontSize": 12, + "lineHeight": 12, + "fontWeight": "normal", + "stroke": null, + "lineWidth": 0 + } + } + }, + "scrollbar": { + "common": { + "padding": [ + 8, + 8, + 8, + 8 + ] + }, + "default": { + "style": { + "trackColor": "rgba(25, 29, 41, 1)", + "thumbColor": "rgba(70, 71, 85, 1)" + } + }, + "hover": { + "style": { + "thumbColor": "rgba(73, 82, 99, 1)" + } + } + } + }, + "labels": { + "offset": 12, + "style": { + "fill": "#fff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": null, + "lineWidth": 0 + }, + "fillColorDark": "#ffffff", + "fillColorLight": "#ffffff", + "autoRotate": true + }, + "innerLabels": { + "style": { + "fill": "#fff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": null, + "lineWidth": 0 + }, + "autoRotate": true + }, + "overflowLabels": { + "style": { + "fill": "#ffffff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": "#000", + "lineWidth": 1 + } + }, + "pieLabels": { + "labelHeight": 12, + "offset": 10, + "labelLine": { + "style": { + "lineWidth": 1 + } + }, + "autoRotate": true + }, + "bottom-axis-subTick-line": false, + "styleSheet": { + "brandColor": "#025DF4", + "paletteQualitative10": [ + "#025DF4", + "#DB6BCF", + "#2498D1", + "#BBBDE6", + "#4045B2", + "#21A97A", + "#FF745A", + "#007E99", + "#FFA8A8", + "#2391FF" + ], + "paletteQualitative20": [ + "#025DF4", + "#DB6BCF", + "#2498D1", + "#BBBDE6", + "#4045B2", + "#21A97A", + "#FF745A", + "#007E99", + "#FFA8A8", + "#2391FF", + "#FFC328", + "#A0DC2C", + "#946DFF", + "#626681", + "#EB4185", + "#CD8150", + "#36BCCB", + "#327039", + "#803488", + "#83BC99" + ] + } } \ No newline at end of file diff --git a/src/views/pages/report/statement/widgetthemes/theme-dark4.json b/src/views/pages/report/statement/widgetthemes/theme-dark4.json index 2d2dad4dbb666bc7c19c1411d2fbf4c14da0f334..8c59f0ba49e2c0c9c371947e5d926c387170336d 100644 --- a/src/views/pages/report/statement/widgetthemes/theme-dark4.json +++ b/src/views/pages/report/statement/widgetthemes/theme-dark4.json @@ -1,691 +1,687 @@ -{ - "background": "transparent", - "subColor": "rgba(255, 255, 255, 0.05)", - "semanticRed": "rgba(244, 102, 74, 1)", - "semanticGreen": "rgba(37, 184, 100, 1)", - "padding": "auto", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "columnWidthRatio": 0.5, - "maxColumnWidth": null, - "minColumnWidth": null, - "roseWidthRatio": 0.9999999, - "multiplePieWidthRatio": 0.7692307692307692, - "sequenceColors": [ - "#d8daff", - "#aeb6ff", - "#7d94ff", - "#5d80fd", - "#4973fa", - "#2d66f6", - "#0359ef", - "#034ddf", - "#0241cf", - "#0035c0" - ], - "shapes": { - "point": [ - "hollow-circle", - "hollow-square", - "hollow-bowtie", - "hollow-diamond", - "hollow-hexagon", - "hollow-triangle", - "hollow-triangle-down", - "circle", - "square", - "bowtie", - "diamond", - "hexagon", - "triangle", - "triangle-down", - "cross", - "tick", - "plus", - "hyphen", - "line" - ], - "line": [ - "line", - "dash", - "dot", - "smooth" - ], - "area": [ - "area", - "smooth", - "line", - "smooth-line" - ], - "interval": [ - "rect", - "hollow-rect", - "line", - "tick" - ] - }, - "sizes": [ - 1, - 10 - ], - "components": { - "axis": { - "common": { - "title": { - "autoRotate": true, - "position": "center", - "spacing": 12, - "style": { - "fill": "#f1f1f1", - "fontSize": 12, - "lineHeight": 12, - "textBaseline": "middle", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "label": { - "autoRotate": false, - "autoEllipsis": false, - "autoHide": { - "type": "equidistance", - "cfg": { - "minGap": 6 - } - }, - "offset": 8, - "style": { - "fill": "rgba(241, 241, 241, 1)", - "fontSize": 12, - "lineHeight": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "line": { - "style": { - "lineWidth": 1, - "stroke": "rgba(209, 209, 209, 1)" - } - }, - "grid": { - "line": { - "type": "line", - "style": { - "stroke": "rgba(70, 71, 85, 1)", - "lineWidth": 0.5, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "tickLine": { - "style": { - "lineWidth": 1, - "stroke": "rgba(209, 209, 209, 1)" - }, - "alignTick": true, - "length": 4 - }, - "subTickLine": null, - "animate": true - }, - "top": { - "position": "top", - "grid": null, - "title": null, - "verticalLimitLength": 0.5 - }, - "bottom": { - "position": "bottom", - "grid": null, - "title": null, - "verticalLimitLength": 0.5 - }, - "left": { - "position": "left", - "title": null, - "line": null, - "tickLine": null, - "verticalLimitLength": 0.3333333333333333 - }, - "right": { - "position": "right", - "title": null, - "line": null, - "tickLine": null, - "verticalLimitLength": 0.3333333333333333 - }, - "circle": { - "title": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - }, - "grid": { - "line": { - "type": "line", - "style": { - "stroke": "rgba(70, 71, 85, 1)", - "lineWidth": 1, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "label": { - "style": { - "fill": "rgba(241, 241, 255, 1)" - } - }, - "tickLine": { - "style": { - "stroke": "rgba(209, 209, 209, 1)" - } - } - }, - "radius": { - "title": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - }, - "grid": { - "line": { - "type": "circle", - "style": { - "stroke": "#262626", - "lineWidth": 1, - "lineDash": null - } - }, - "alignTick": true, - "animate": true - }, - "label": { - "style": { - "fill": "rgba(241, 241, 241, 1)" - } - } - } - }, - "legend": { - "common": { - "title": null, - "marker": { - "symbol": "circle", - "spacing": 8, - "style": { - "r": 4, - "fill": "#5B8FF9" - } - }, - "itemName": { - "spacing": 5, - "style": { - "fill": "rgba(241, 241, 241, 1)", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "fontSize": 12, - "lineHeight": 12, - "fontWeight": "normal", - "textAlign": "start", - "textBaseline": "middle" - } - }, - "itemStates": { - "active": { - "nameStyle": { - "opacity": 0.8 - } - }, - "unchecked": { - "nameStyle": { - "fill": "#D8D8D8" - }, - "markerStyle": { - "fill": "#D8D8D8", - "stroke": "#D8D8D8" - } - }, - "inactive": { - "nameStyle": { - "fill": "#D8D8D8" - }, - "markerStyle": { - "opacity": 0.2 - } - } - }, - "flipPage": true, - "pageNavigator": { - "marker": { - "style": { - "size": 12, - "inactiveFill": "rgba(225, 225, 225, 1)", - "inactiveOpacity": 0.45, - "fill": "rgba(225, 225, 225, 1)", - "opacity": 1 - } - }, - "text": { - "style": { - "fill": "rgba(209, 209, 209, 1)", - "fontSize": 12 - } - } - }, - "animate": false, - "maxItemWidth": 200, - "itemSpacing": 24, - "itemMarginBottom": 12, - "padding": [ - 8, - 8, - 8, - 8 - ] - }, - "right": { - "layout": "vertical", - "padding": [ - 0, - 8, - 0, - 8 - ] - }, - "left": { - "layout": "vertical", - "padding": [ - 0, - 8, - 0, - 8 - ] - }, - "top": { - "layout": "horizontal", - "padding": [ - 8, - 0, - 8, - 0 - ] - }, - "bottom": { - "layout": "horizontal", - "padding": [ - 8, - 0, - 8, - 0 - ] - }, - "continuous": { - "title": null, - "background": null, - "track": {}, - "rail": { - "type": "color", - "size": 12, - "defaultLength": 100, - "style": { - "fill": "rgba(33, 33, 33, 1)", - "stroke": null, - "lineWidth": 0 - } - }, - "label": { - "align": "rail", - "spacing": 4, - "formatter": null, - "style": { - "fill": "rgba(209, 209, 209, 1)", - "fontSize": 12, - "lineHeight": 12, - "textBaseline": "middle", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "handler": { - "size": 10, - "style": { - "fill": "#F0F0F0", - "stroke": "#BFBFBF" - } - }, - "slidable": true, - "padding": [ - 8, - 8, - 8, - 8 - ] - } - }, - "tooltip": { - "showContent": true, - "follow": true, - "showCrosshairs": false, - "showMarkers": true, - "shared": false, - "enterable": false, - "position": "auto", - "marker": { - "symbol": "circle", - "stroke": "#fff", - "shadowBlur": 10, - "shadowOffsetX": 0, - "shadowOffsetY": 0, - "shadowColor": "rgba(0,0,0,0.09)", - "lineWidth": 2, - "r": 4 - }, - "crosshairs": { - "line": { - "style": { - "stroke": "#404040", - "lineWidth": 1 - } - }, - "text": null, - "textBackground": { - "padding": 2, - "style": { - "fill": "rgba(0, 0, 0, 0.25)", - "lineWidth": 0, - "stroke": null - } - }, - "follow": false - }, - "domStyles": { - "g2-tooltip": { - "position": "absolute", - "visibility": "hidden", - "zIndex": 8, - "transition": "left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s", - "backgroundColor": "#1f1f1f", - "opacity": 0.95, - "boxShadow": "0px 2px 4px rgba(0,0,0,.5)", - "borderRadius": 10, - "color": "rgba(241, 241, 241, 1)", - "fontSize": "12px", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "lineHeight": "12px", - "padding": "0 12px 0 12px" - }, - "g2-tooltip-title": { - "marginBottom": "12px", - "marginTop": "12px" - }, - "g2-tooltip-list": { - "margin": 0, - "listStyleType": "none", - "padding": 0 - }, - "g2-tooltip-list-item": { - "listStyleType": "none", - "padding": 0, - "marginBottom": "12px", - "marginTop": "12px", - "marginLeft": 0, - "marginRight": 0 - }, - "g2-tooltip-marker": { - "width": "8px", - "height": "8px", - "borderRadius": "50%", - "display": "inline-block", - "marginRight": "8px" - }, - "g2-tooltip-value": { - "display": "inline-block", - "float": "right", - "marginLeft": "30px" - } - } - }, - "annotation": { - "arc": { - "style": { - "stroke": "#262626", - "lineWidth": 1 - }, - "animate": true - }, - "line": { - "style": { - "stroke": "#404040", - "lineDash": null, - "lineWidth": 1 - }, - "text": { - "position": "start", - "autoRotate": true, - "style": { - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "textAlign": "start", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "textBaseline": "bottom" - } - }, - "animate": true - }, - "text": { - "style": { - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "textBaseline": "middle", - "textAlign": "start", - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - }, - "animate": true - }, - "region": { - "top": false, - "style": { - "lineWidth": 0, - "stroke": null, - "fill": "#FFFFFF", - "fillOpacity": 0.06 - }, - "animate": true - }, - "image": { - "top": false, - "animate": true - }, - "dataMarker": { - "top": true, - "point": { - "style": { - "r": 3, - "stroke": "#5B8FF9", - "lineWidth": 2 - } - }, - "line": { - "style": { - "stroke": "#404040", - "lineWidth": 1 - }, - "length": 16 - }, - "text": { - "style": { - "textAlign": "start", - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "direction": "upward", - "autoAdjust": true, - "animate": true - }, - "dataRegion": { - "style": { - "region": { - "fill": "#FFFFFF", - "fillOpacity": 0.06 - }, - "text": { - "textAlign": "center", - "textBaseline": "bottom", - "fill": "#A6A6A6", - "stroke": null, - "lineWidth": 0, - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" - } - }, - "animate": true - } - }, - "slider": { - "common": { - "padding": [ - 8, - 8, - 8, - 8 - ], - "backgroundStyle": { - "fill": "#416180", - "opacity": 0.05 - }, - "foregroundStyle": { - "fill": "#5B8FF9", - "opacity": 0.1 - }, - "handlerStyle": { - "width": 10, - "height": 24, - "fill": "#F7F7F7", - "opacity": 1, - "stroke": "#BFBFBF", - "lineWidth": 1, - "radius": 2, - "highLightFill": "#FFF" - }, - "textStyle": { - "fill": "#fff", - "opacity": 0.45, - "fontSize": 12, - "lineHeight": 12, - "fontWeight": "normal", - "stroke": null, - "lineWidth": 0 - } - } - }, - "scrollbar": { - "common": { - "padding": [ - 8, - 8, - 8, - 8 - ] - }, - "default": { - "style": { - "trackColor": "rgba(25, 29, 41, 1)", - "thumbColor": "rgba(70, 71, 85, 1)" - } - }, - "hover": { - "style": { - "thumbColor": "rgba(73, 82, 99, 1)" - } - } - } - }, - "labels": { - "offset": 12, - "style": { - "fill": "#fff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": null, - "lineWidth": 0 - }, - "fillColorDark": "#ffffff", - "fillColorLight": "#ffffff", - "autoRotate": true - }, - "innerLabels": { - "style": { - "fill": "#fff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": null, - "lineWidth": 0 - }, - "autoRotate": true - }, - "overflowLabels": { - "style": { - "fill": "#ffffff", - "fontSize": 12, - "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", - "stroke": "#000", - "lineWidth": 1 - } - }, - "pieLabels": { - "labelHeight": 12, - "offset": 10, - "labelLine": { - "style": { - "lineWidth": 1 - } - }, - "autoRotate": true - }, - "bottom-axis-subTick-line": false, - "styleSheet": { - "brandColor": "#FF4500", - "paletteQualitative10": [ - "#FF4500", - "#1AAF8B", - "#406C85", - "#F6BD16", - "#B40F0F", - "#2FB8FC", - "#4435FF", - "#FF5CA2", - "#BBE800", - "#FE8A26" - ], - "paletteQualitative20": [ - "#FF4500", - "#1AAF8B", - "#406C85", - "#F6BD16", - "#B40F0F", - "#2FB8FC", - "#4435FF", - "#FF5CA2", - "#BBE800", - "#FE8A26", - "#946DFF", - "#6C3E00", - "#6193FF", - "#FF988E", - "#36BCCB", - "#004988", - "#FFCF9D", - "#CCDC8A", - "#8D00A1", - "#1CC25E" - ] - } +{ + "background": "transparent", + "subColor": "rgba(255, 255, 255, 0.05)", + "semanticRed": "rgba(244, 102, 74, 1)", + "semanticGreen": "rgba(37, 184, 100, 1)", + "padding": "auto", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "columnWidthRatio": 0.5, + "maxColumnWidth": null, + "minColumnWidth": null, + "roseWidthRatio": 0.9999999, + "multiplePieWidthRatio": 0.7692307692307692, + "sequenceColors": [ + "#d8daff", + "#aeb6ff", + "#7d94ff", + "#5d80fd", + "#4973fa", + "#2d66f6", + "#0359ef", + "#034ddf", + "#0241cf", + "#0035c0" + ], + "shapes": { + "point": [ + "hollow-circle", + "hollow-square", + "hollow-bowtie", + "hollow-diamond", + "hollow-hexagon", + "hollow-triangle", + "hollow-triangle-down", + "circle", + "square", + "bowtie", + "diamond", + "hexagon", + "triangle", + "triangle-down", + "cross", + "tick", + "plus", + "hyphen", + "line" + ], + "line": [ + "line", + "dash", + "dot", + "smooth" + ], + "area": [ + "area", + "smooth", + "line", + "smooth-line" + ], + "interval": [ + "rect", + "hollow-rect", + "line", + "tick" + ] + }, + "sizes": [ + 1, + 10 + ], + "components": { + "axis": { + "common": { + "title": { + "autoRotate": true, + "position": "center", + "spacing": 12, + "style": { + "fill": "#f1f1f1", + "fontSize": 12, + "lineHeight": 12, + "textBaseline": "middle", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "label": { + "autoRotate": false, + "autoEllipsis": false, + "autoHide": { + "type": "equidistance", + "cfg": { + "minGap": 6 + } + }, + "offset": 8, + "style": { + "fill": "rgba(241, 241, 241, 1)", + "fontSize": 12, + "lineHeight": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "line": { + "style": { + "lineWidth": 1, + "stroke": "rgba(209, 209, 209, 1)" + } + }, + "grid": { + "line": { + "type": "line", + "style": { + "stroke": "rgba(70, 71, 85, 1)", + "lineWidth": 0.5, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "tickLine": { + "style": { + "lineWidth": 1, + "stroke": "rgba(209, 209, 209, 1)" + }, + "alignTick": true, + "length": 4 + }, + "subTickLine": null, + "animate": true + }, + "top": { + "position": "top", + "grid": null, + "title": null, + "verticalLimitLength": 0.5 + }, + "bottom": { + "position": "bottom", + "grid": null, + "title": null, + "verticalLimitLength": 0.5 + }, + "left": { + "position": "left", + "title": null, + "line": null, + "tickLine": null, + "verticalLimitLength": 0.3333333333333333 + }, + "right": { + "position": "right", + "title": null, + "line": null, + "tickLine": null, + "verticalLimitLength": 0.3333333333333333 + }, + "circle": { + "title": null, + "grid": { + "line": { + "type": "line", + "style": { + "stroke": "rgba(70, 71, 85, 1)", + "lineWidth": 1, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "label": { + "style": { + "fill": "rgba(241, 241, 255, 1)" + } + }, + "tickLine": { + "style": { + "stroke": "rgba(209, 209, 209, 1)" + } + } + }, + "radius": { + "title": { + "style": { + "fill": "rgba(241, 241, 241, 1)" + } + }, + "grid": { + "line": { + "type": "circle", + "style": { + "stroke": "#262626", + "lineWidth": 1, + "lineDash": null + } + }, + "alignTick": true, + "animate": true + }, + "label": { + "style": { + "fill": "rgba(241, 241, 241, 1)" + } + } + } + }, + "legend": { + "common": { + "title": null, + "marker": { + "symbol": "circle", + "spacing": 8, + "style": { + "r": 4, + "fill": "#5B8FF9" + } + }, + "itemName": { + "spacing": 5, + "style": { + "fill": "rgba(241, 241, 241, 1)", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "fontSize": 12, + "lineHeight": 12, + "fontWeight": "normal", + "textAlign": "start", + "textBaseline": "middle" + } + }, + "itemStates": { + "active": { + "nameStyle": { + "opacity": 0.8 + } + }, + "unchecked": { + "nameStyle": { + "fill": "#D8D8D8" + }, + "markerStyle": { + "fill": "#D8D8D8", + "stroke": "#D8D8D8" + } + }, + "inactive": { + "nameStyle": { + "fill": "#D8D8D8" + }, + "markerStyle": { + "opacity": 0.2 + } + } + }, + "flipPage": true, + "pageNavigator": { + "marker": { + "style": { + "size": 12, + "inactiveFill": "rgba(225, 225, 225, 1)", + "inactiveOpacity": 0.45, + "fill": "rgba(225, 225, 225, 1)", + "opacity": 1 + } + }, + "text": { + "style": { + "fill": "rgba(209, 209, 209, 1)", + "fontSize": 12 + } + } + }, + "animate": false, + "maxItemWidth": 200, + "itemSpacing": 24, + "itemMarginBottom": 12, + "padding": [ + 8, + 8, + 8, + 8 + ] + }, + "right": { + "layout": "vertical", + "padding": [ + 0, + 8, + 0, + 8 + ] + }, + "left": { + "layout": "vertical", + "padding": [ + 0, + 8, + 0, + 8 + ] + }, + "top": { + "layout": "horizontal", + "padding": [ + 8, + 0, + 8, + 0 + ] + }, + "bottom": { + "layout": "horizontal", + "padding": [ + 8, + 0, + 8, + 0 + ] + }, + "continuous": { + "title": null, + "background": null, + "track": {}, + "rail": { + "type": "color", + "size": 12, + "defaultLength": 100, + "style": { + "fill": "rgba(33, 33, 33, 1)", + "stroke": null, + "lineWidth": 0 + } + }, + "label": { + "align": "rail", + "spacing": 4, + "formatter": null, + "style": { + "fill": "rgba(209, 209, 209, 1)", + "fontSize": 12, + "lineHeight": 12, + "textBaseline": "middle", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "handler": { + "size": 10, + "style": { + "fill": "#F0F0F0", + "stroke": "#BFBFBF" + } + }, + "slidable": true, + "padding": [ + 8, + 8, + 8, + 8 + ] + } + }, + "tooltip": { + "showContent": true, + "follow": true, + "showCrosshairs": false, + "showMarkers": true, + "shared": false, + "enterable": false, + "position": "auto", + "marker": { + "symbol": "circle", + "stroke": "#fff", + "shadowBlur": 10, + "shadowOffsetX": 0, + "shadowOffsetY": 0, + "shadowColor": "rgba(0,0,0,0.09)", + "lineWidth": 2, + "r": 4 + }, + "crosshairs": { + "line": { + "style": { + "stroke": "#404040", + "lineWidth": 1 + } + }, + "text": null, + "textBackground": { + "padding": 2, + "style": { + "fill": "rgba(0, 0, 0, 0.25)", + "lineWidth": 0, + "stroke": null + } + }, + "follow": false + }, + "domStyles": { + "g2-tooltip": { + "position": "absolute", + "visibility": "hidden", + "zIndex": 8, + "transition": "left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s", + "backgroundColor": "#1f1f1f", + "opacity": 0.95, + "boxShadow": "0px 2px 4px rgba(0,0,0,.5)", + "borderRadius": 10, + "color": "rgba(241, 241, 241, 1)", + "fontSize": "12px", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "lineHeight": "12px", + "padding": "0 12px 0 12px" + }, + "g2-tooltip-title": { + "marginBottom": "12px", + "marginTop": "12px" + }, + "g2-tooltip-list": { + "margin": 0, + "listStyleType": "none", + "padding": 0 + }, + "g2-tooltip-list-item": { + "listStyleType": "none", + "padding": 0, + "marginBottom": "12px", + "marginTop": "12px", + "marginLeft": 0, + "marginRight": 0 + }, + "g2-tooltip-marker": { + "width": "8px", + "height": "8px", + "borderRadius": "50%", + "display": "inline-block", + "marginRight": "8px" + }, + "g2-tooltip-value": { + "display": "inline-block", + "float": "right", + "marginLeft": "30px" + } + } + }, + "annotation": { + "arc": { + "style": { + "stroke": "#262626", + "lineWidth": 1 + }, + "animate": true + }, + "line": { + "style": { + "stroke": "#404040", + "lineDash": null, + "lineWidth": 1 + }, + "text": { + "position": "start", + "autoRotate": true, + "style": { + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "textAlign": "start", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "textBaseline": "bottom" + } + }, + "animate": true + }, + "text": { + "style": { + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "textBaseline": "middle", + "textAlign": "start", + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + }, + "animate": true + }, + "region": { + "top": false, + "style": { + "lineWidth": 0, + "stroke": null, + "fill": "#FFFFFF", + "fillOpacity": 0.06 + }, + "animate": true + }, + "image": { + "top": false, + "animate": true + }, + "dataMarker": { + "top": true, + "point": { + "style": { + "r": 3, + "stroke": "#5B8FF9", + "lineWidth": 2 + } + }, + "line": { + "style": { + "stroke": "#404040", + "lineWidth": 1 + }, + "length": 16 + }, + "text": { + "style": { + "textAlign": "start", + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "direction": "upward", + "autoAdjust": true, + "animate": true + }, + "dataRegion": { + "style": { + "region": { + "fill": "#FFFFFF", + "fillOpacity": 0.06 + }, + "text": { + "textAlign": "center", + "textBaseline": "bottom", + "fill": "#A6A6A6", + "stroke": null, + "lineWidth": 0, + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"" + } + }, + "animate": true + } + }, + "slider": { + "common": { + "padding": [ + 8, + 8, + 8, + 8 + ], + "backgroundStyle": { + "fill": "#416180", + "opacity": 0.05 + }, + "foregroundStyle": { + "fill": "#5B8FF9", + "opacity": 0.1 + }, + "handlerStyle": { + "width": 10, + "height": 24, + "fill": "#F7F7F7", + "opacity": 1, + "stroke": "#BFBFBF", + "lineWidth": 1, + "radius": 2, + "highLightFill": "#FFF" + }, + "textStyle": { + "fill": "#fff", + "opacity": 0.45, + "fontSize": 12, + "lineHeight": 12, + "fontWeight": "normal", + "stroke": null, + "lineWidth": 0 + } + } + }, + "scrollbar": { + "common": { + "padding": [ + 8, + 8, + 8, + 8 + ] + }, + "default": { + "style": { + "trackColor": "rgba(25, 29, 41, 1)", + "thumbColor": "rgba(70, 71, 85, 1)" + } + }, + "hover": { + "style": { + "thumbColor": "rgba(73, 82, 99, 1)" + } + } + } + }, + "labels": { + "offset": 12, + "style": { + "fill": "#fff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": null, + "lineWidth": 0 + }, + "fillColorDark": "#ffffff", + "fillColorLight": "#ffffff", + "autoRotate": true + }, + "innerLabels": { + "style": { + "fill": "#fff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": null, + "lineWidth": 0 + }, + "autoRotate": true + }, + "overflowLabels": { + "style": { + "fill": "#ffffff", + "fontSize": 12, + "fontFamily": "\"Segoe UI\", Roboto, \"Helvetica Neue\", Arial,\n \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\",\n \"Noto Color Emoji\"", + "stroke": "#000", + "lineWidth": 1 + } + }, + "pieLabels": { + "labelHeight": 12, + "offset": 10, + "labelLine": { + "style": { + "lineWidth": 1 + } + }, + "autoRotate": true + }, + "bottom-axis-subTick-line": false, + "styleSheet": { + "brandColor": "#FF4500", + "paletteQualitative10": [ + "#FF4500", + "#1AAF8B", + "#406C85", + "#F6BD16", + "#B40F0F", + "#2FB8FC", + "#4435FF", + "#FF5CA2", + "#BBE800", + "#FE8A26" + ], + "paletteQualitative20": [ + "#FF4500", + "#1AAF8B", + "#406C85", + "#F6BD16", + "#B40F0F", + "#2FB8FC", + "#4435FF", + "#FF5CA2", + "#BBE800", + "#FE8A26", + "#946DFF", + "#6C3E00", + "#6193FF", + "#FF988E", + "#36BCCB", + "#004988", + "#FFCF9D", + "#CCDC8A", + "#8D00A1", + "#1CC25E" + ] + } } \ No newline at end of file