bugfix-装饰饼图,其他优化

qianming 1 year ago
parent c02137718d
commit 9f1c2fcf66

@ -598,6 +598,8 @@ export default {
return widgetJson;
},
setWidgetConfigValue(config, configValue) {
//
if (config) {
config.forEach((item) => {
if (this.isObjectFn(item)) {
configValue[item.name] = item.value;
@ -610,6 +612,7 @@ export default {
});
}
});
}
},
layerClick(index) {
this.widgetIndex = index;

@ -21,7 +21,7 @@ export const widgetBorder = {
name: 'layerName',
required: false,
placeholder: '',
value: '边框',
value: '边框',
},
{
type: 'el-select',

@ -8,8 +8,8 @@
*/
export const widgetDecoratePie = {
code: 'widgetDecoratePieChart',
type: 'decorate',
tabName: '装饰图',
type: 'border',
tabName: '样式组件',
label: '装饰饼图',
icon: 'iconicon_tubiao_bingtu',
options: {
@ -407,6 +407,7 @@ export const widgetDecoratePie = {
},
],
],
data: [],
// 坐标
position: [
{

@ -21,7 +21,7 @@ export const widgetDecoration = {
name: 'layerName',
required: false,
placeholder: '',
value: '装饰',
value: '装饰',
},
{
type: 'el-select',

@ -73,7 +73,7 @@ export const widgetTime = {
name: 'background',
required: false,
placeholder: '',
value: 'rgba(115,170,229,.5)'
value: ''
},
{
type: 'el-select',

@ -32,7 +32,7 @@ import { widgetBarStack } from "./configure/barCharts/widget-bar-stack"
import { widgetLineStack } from "./configure/lineCharts/widget-line-stack"
import { widgetBarCompare } from "./configure/barCharts/widget-bar-compare"
import { widgetLineCompare } from "./configure/lineCharts/widget-line-compare"
import { widgetDecoratePie } from "./configure/decorateCharts/widget-decorate-pie";
import { widgetDecoratePie } from "./configure/styleWidget/widget-decorate-pie";
import { widgetMoreBarLine } from "./configure/barlineCharts/widget-more-bar-line";
import { widgetWordCloud } from "./configure/wordcloudCharts/widget-word-cloud";
import { widgetHeatmap } from "./configure/heatmap/widget-heatmap";

@ -5,6 +5,8 @@
</template>
<script>
export default ({
name: "widgetBorder",
components: {},
data() {
return {
optionsStyle: {}, //

@ -1,6 +1,6 @@
<template>
<div :style="styleObj">
<v-chart :options="options" autoresize />
<v-chart ref="myVChart" :options="options" autoresize />
</div>
</template>

@ -5,6 +5,8 @@
</template>
<script>
export default ({
name: "widgetDecoration",
components: {},
data() {
return {
optionsStyle: {}, //

@ -34,7 +34,7 @@ import widgetBarStackChart from "./bar/widgetBarStackChart";
import widgetLineStackChart from "./line/widgetLineStackChart";
import widgetBarCompareChart from "./bar/widgetBarCompareChart";
import widgetLineCompareChart from "./line/widgetLineCompareChart";
import widgetDecoratePieChart from "./decorate/widgetDecoratePieChart";
import widgetDecoratePieChart from "./styleWidget/widgetDecoratePieChart.vue";
import widgetMoreBarLineChart from "./barline/widgetMoreBarLineChart";
import widgetWordCloud from "./wordcloud/widgetWordCloud";
import widgetHeatmap from "./heatmap/widgetHeatmap";
@ -46,12 +46,16 @@ import widgetFormTime from "./form/widgetFormTime.vue";
import widgetScaleVertical from "./scale/widgetScaleVertical.vue";
import widgetScaleHorizontal from "./scale/widgetScaleHorizontal.vue";
import widgetBarDoubleYaxisChart from "./bar/widgetBarDoubleYaxisChart.vue";
import widgetBorder from "./styleWidget/widgetBorder.vue";
import widgetDecoration from "./styleWidget/widgetDecoration.vue";
export default {
name: "WidgetTemp",
components: {
widgetHref,
widgetText,
widgetBorder,
widgetDecoration,
WidgetMarquee,
widgetTime,
widgetImage,

@ -41,7 +41,7 @@ import widgetBarStackChart from "./bar/widgetBarStackChart";
import widgetLineStackChart from "./line/widgetLineStackChart";
import widgetBarCompareChart from "./bar/widgetBarCompareChart";
import widgetLineCompareChart from "./line/widgetLineCompareChart";
import widgetDecoratePieChart from "./decorate/widgetDecoratePieChart";
import widgetDecoratePieChart from "./styleWidget/widgetDecoratePieChart.vue";
import widgetMoreBarLineChart from "./barline/widgetMoreBarLineChart";
import widgetWordCloud from "./wordcloud/widgetWordCloud";
import widgetHeatmap from "./heatmap/widgetHeatmap";

Loading…
Cancel
Save