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