修改页面去掉全屏
This commit is contained in:
@@ -354,7 +354,7 @@ const initChart = () => {
|
|||||||
borderColor: 'rgba(255,255,255,0.2)',
|
borderColor: 'rgba(255,255,255,0.2)',
|
||||||
borderWidth: 0.5
|
borderWidth: 0.5
|
||||||
},
|
},
|
||||||
barWidth: 12,
|
barWidth: '12%',
|
||||||
barGap: '30%',
|
barGap: '30%',
|
||||||
barCategoryGap: '20%',
|
barCategoryGap: '20%',
|
||||||
label: barLabelConfig,
|
label: barLabelConfig,
|
||||||
@@ -383,7 +383,7 @@ const initChart = () => {
|
|||||||
borderColor: 'rgba(255,255,255,0.2)',
|
borderColor: 'rgba(255,255,255,0.2)',
|
||||||
borderWidth: 0.5
|
borderWidth: 0.5
|
||||||
},
|
},
|
||||||
barWidth: 12,
|
barWidth: '12%',
|
||||||
label: barLabelConfig,
|
label: barLabelConfig,
|
||||||
yAxisIndex: 0,
|
yAxisIndex: 0,
|
||||||
emphasis: {
|
emphasis: {
|
||||||
|
|||||||
@@ -361,7 +361,7 @@ const initChart = () => {
|
|||||||
borderColor: 'rgba(255,255,255,0.2)',
|
borderColor: 'rgba(255,255,255,0.2)',
|
||||||
borderWidth: 0.5
|
borderWidth: 0.5
|
||||||
},
|
},
|
||||||
barWidth: 12,
|
barWidth: '12%',
|
||||||
barGap: '30%',
|
barGap: '30%',
|
||||||
barCategoryGap: '20%',
|
barCategoryGap: '20%',
|
||||||
label: barLabelConfig,
|
label: barLabelConfig,
|
||||||
@@ -390,7 +390,7 @@ const initChart = () => {
|
|||||||
borderColor: 'rgba(255,255,255,0.2)',
|
borderColor: 'rgba(255,255,255,0.2)',
|
||||||
borderWidth: 0.5
|
borderWidth: 0.5
|
||||||
},
|
},
|
||||||
barWidth: 12,
|
barWidth: '12%',
|
||||||
label: barLabelConfig,
|
label: barLabelConfig,
|
||||||
yAxisIndex: 0,
|
yAxisIndex: 0,
|
||||||
emphasis: {
|
emphasis: {
|
||||||
|
|||||||
@@ -406,7 +406,7 @@ const initChart = () => {
|
|||||||
type: 'bar',
|
type: 'bar',
|
||||||
data: netProfitData,
|
data: netProfitData,
|
||||||
yAxisIndex: 0,
|
yAxisIndex: 0,
|
||||||
barWidth: 10,
|
barWidth: '12%',
|
||||||
barGap: '10%',
|
barGap: '10%',
|
||||||
barCategoryGap: '20%',
|
barCategoryGap: '20%',
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
|
|||||||
@@ -370,7 +370,7 @@ const initChart = () => {
|
|||||||
borderColor: 'rgba(255,255,255,0.2)',
|
borderColor: 'rgba(255,255,255,0.2)',
|
||||||
borderWidth: 0.5
|
borderWidth: 0.5
|
||||||
},
|
},
|
||||||
barWidth: 12,
|
barWidth: '12%',
|
||||||
barGap: '30%',
|
barGap: '30%',
|
||||||
barCategoryGap: '20%',
|
barCategoryGap: '20%',
|
||||||
label: barLabelConfig,
|
label: barLabelConfig,
|
||||||
@@ -399,7 +399,7 @@ const initChart = () => {
|
|||||||
borderColor: 'rgba(255,255,255,0.2)',
|
borderColor: 'rgba(255,255,255,0.2)',
|
||||||
borderWidth: 0.5
|
borderWidth: 0.5
|
||||||
},
|
},
|
||||||
barWidth: 12,
|
barWidth: '12%',
|
||||||
label: barLabelConfig,
|
label: barLabelConfig,
|
||||||
yAxisIndex: 0,
|
yAxisIndex: 0,
|
||||||
emphasis: {
|
emphasis: {
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ const initChart = () => {
|
|||||||
name: '支出金额',
|
name: '支出金额',
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
data: amountData,
|
data: amountData,
|
||||||
barWidth: 12,
|
barWidth: '12%',
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
borderRadius: [0, 4, 4, 0],
|
borderRadius: [0, 4, 4, 0],
|
||||||
color: (params: any) => getRankColorGradient(rankData[params.dataIndex]),
|
color: (params: any) => getRankColorGradient(rankData[params.dataIndex]),
|
||||||
|
|||||||
@@ -373,7 +373,7 @@ const initChart = () => {
|
|||||||
]),
|
]),
|
||||||
borderRadius: [6, 6, 0, 0]
|
borderRadius: [6, 6, 0, 0]
|
||||||
},
|
},
|
||||||
barWidth: 12,
|
barWidth: '12%',
|
||||||
barGap: '30%',
|
barGap: '30%',
|
||||||
barCategoryGap: '20%',
|
barCategoryGap: '20%',
|
||||||
label: barLabelConfig,
|
label: barLabelConfig,
|
||||||
@@ -398,7 +398,7 @@ const initChart = () => {
|
|||||||
]),
|
]),
|
||||||
borderRadius: [6, 6, 0, 0]
|
borderRadius: [6, 6, 0, 0]
|
||||||
},
|
},
|
||||||
barWidth: 12,
|
barWidth: '12%',
|
||||||
label: barLabelConfig,
|
label: barLabelConfig,
|
||||||
yAxisIndex: 0,
|
yAxisIndex: 0,
|
||||||
emphasis: {
|
emphasis: {
|
||||||
|
|||||||
Reference in New Issue
Block a user