大屏项目初始化

This commit is contained in:
2026-02-26 22:27:38 +08:00
parent 5ee7b83db4
commit 3b228a82ba
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ const initRankChart = () => {
{ {
name: '支出', name: '支出',
type: 'bar', type: 'bar',
barWidth: '15%', barWidth: '12%',
data: valueData, data: valueData,
itemStyle: { itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [

View File

@@ -251,7 +251,7 @@ function initChart() {
type: 'bar', type: 'bar',
yAxisIndex: 0, yAxisIndex: 0,
data: [], data: [],
barWidth: '8%', barWidth: '12%',
itemStyle: { itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ offset: 0, color: '#FF9D28' }, { offset: 0, color: '#FF9D28' },