mirror of
https://gitee.com/anji-plus/report.git
synced 2026-04-01 10:08:36 +08:00
默认值调整
This commit is contained in:
@@ -321,7 +321,7 @@ export const widgetLineCompare = {
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '坐标名',
|
||||
name: 'xName',
|
||||
name: 'nameX',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: ''
|
||||
@@ -414,14 +414,15 @@ export const widgetLineCompare = {
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '坐标名',
|
||||
name: 'textNameYTop',
|
||||
name: 'textNameY',
|
||||
require: false,
|
||||
placeholder: '',
|
||||
value: ''
|
||||
}, {
|
||||
},
|
||||
{
|
||||
type: 'vue-color',
|
||||
label: '坐标名颜色',
|
||||
name: 'nameColorYTop',
|
||||
name: 'nameColorY',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: '#fff',
|
||||
@@ -429,7 +430,7 @@ export const widgetLineCompare = {
|
||||
{
|
||||
type: 'el-input-number',
|
||||
label: '坐标名字号',
|
||||
name: 'nameFontSizeYTop',
|
||||
name: 'nameFontSizeY',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: 14,
|
||||
@@ -530,14 +531,15 @@ export const widgetLineCompare = {
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '坐标名',
|
||||
name: 'textNameYBottom',
|
||||
name: 'textNameY',
|
||||
require: false,
|
||||
placeholder: '',
|
||||
value: ''
|
||||
}, {
|
||||
},
|
||||
{
|
||||
type: 'vue-color',
|
||||
label: '坐标名颜色',
|
||||
name: 'nameColorYBottom',
|
||||
name: 'nameColorY',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: '#fff',
|
||||
@@ -545,7 +547,7 @@ export const widgetLineCompare = {
|
||||
{
|
||||
type: 'el-input-number',
|
||||
label: '坐标名字号',
|
||||
name: 'nameFontSizeYBottom',
|
||||
name: 'nameFontSizeY',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: 14,
|
||||
|
||||
@@ -277,7 +277,7 @@ export const widgetPieNightingale = {
|
||||
name: 'legendFontSize',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: 16,
|
||||
value: 12,
|
||||
},
|
||||
{
|
||||
type: 'el-input-number',
|
||||
|
||||
@@ -272,12 +272,12 @@ export const widgetPiechart = {
|
||||
value: '#fff',
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
type: 'el-input-number',
|
||||
label: '字体字号',
|
||||
name: 'legendFontSize',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: 16,
|
||||
value: 12,
|
||||
},
|
||||
{
|
||||
type: 'el-input-number',
|
||||
|
||||
@@ -308,7 +308,7 @@ export default {
|
||||
const xAxis0 = {
|
||||
gridIndex: 0,
|
||||
show: optionsSetup.isShowX,
|
||||
name: optionsSetup.xName, // 坐标轴名称
|
||||
name: optionsSetup.nameX, // 坐标轴名称
|
||||
nameTextStyle: {
|
||||
color: optionsSetup.nameColorX,
|
||||
fontSize: optionsSetup.nameFontSizeX
|
||||
@@ -364,10 +364,10 @@ export default {
|
||||
splitNumber: optionsSetup.splitNumberYTop,
|
||||
show: optionsSetup.isShowYTop,
|
||||
scale: optionsSetup.scaleYTop, // 缩放
|
||||
name: optionsSetup.textNameYTop, // 坐标轴名称
|
||||
name: optionsSetup.textNameY, // 坐标轴名称
|
||||
nameTextStyle: {
|
||||
color: optionsSetup.nameColorYTop,
|
||||
fontSize: optionsSetup.nameFontSizeYTop
|
||||
color: optionsSetup.nameColorY,
|
||||
fontSize: optionsSetup.nameFontSizeY
|
||||
},
|
||||
axisLabel: {
|
||||
show: true,
|
||||
@@ -406,10 +406,10 @@ export default {
|
||||
splitNumber: optionsSetup.splitNumberYBottom,
|
||||
show: optionsSetup.isShowYBottom,
|
||||
scale: optionsSetup.scaleYBottom, // 缩放
|
||||
name: optionsSetup.textNameYBottom, // 坐标轴名称
|
||||
name: optionsSetup.textNameY, // 坐标轴名称
|
||||
nameTextStyle: {
|
||||
color: optionsSetup.nameColorYBottom,
|
||||
fontSize: optionsSetup.nameFontSizeYBottom
|
||||
color: optionsSetup.nameColorY,
|
||||
fontSize: optionsSetup.nameFontSizeY
|
||||
},
|
||||
inverse: true, // 翻转
|
||||
axisLabel: {
|
||||
|
||||
Reference in New Issue
Block a user