Compare commits

...

2 Commits

Author SHA1 Message Date
yangjun df2a52fe27 Merge branch 'master' of http://47.115.223.229:8888/yangjun/grgw_vue_2025
# Conflicts:
#	src/views/screen/Dashboard.vue
2025-10-31 17:07:41 +08:00
yangjun 44f1e65d22 1 2025-10-31 17:06:49 +08:00
1 changed files with 23 additions and 23 deletions

View File

@ -672,27 +672,27 @@ function updateChartCounty() {
},
series: [
//
{
type: 'bar',
barWidth: 10,
data: names.map(() => maxVal),
barGap: '-100%',
itemStyle: {
color: {
type: 'linear',
x: 0, y: 0, x2: 1, y2: 0,
colorStops: [{ offset: 0, color: 'rgba(106,211,255,0.06)' }, { offset: 1, color: 'rgba(106,211,255,0.01)' }]
}
},
z: 1,
silent: true
{
type: 'bar',
barWidth: 5,
data: names.map(() => maxVal),
barGap: '-100%',
itemStyle: {
color: {
type: 'linear',
x: 0, y: 0, x2: 1, y2: 0,
colorStops: [{ offset: 0, color: 'rgba(106,211,255,0.06)' }, { offset: 1, color: 'rgba(106,211,255,0.01)' }]
}
},
z: 1,
silent: true
},
// -
{
type: 'bar',
barWidth: 8, //
barGap: '30%', //
barWidth: 5, //
barGap: '60%', //
data: values1.map((val, index) => ({
value: val,
itemStyle: {
@ -712,8 +712,8 @@ function updateChartCounty() {
// -
{
type: 'bar',
barWidth: 8, //
barGap: '30%', //
barWidth: 5, //
barGap: '60%', //
data: values2.map((val, index) => ({
value: val,
itemStyle: {
@ -734,7 +734,7 @@ function updateChartCounty() {
{
type: 'pictorialBar',
symbol: `image://${lqImg}`,
symbolSize: [25, 25], //
symbolSize: [20, 20], //
symbolOffset: [11, -4], //
symbolPosition: 'end',
data: values1,
@ -746,8 +746,8 @@ function updateChartCounty() {
{
type: 'pictorialBar',
symbol: `image://${lqImg}`,
symbolSize: [25, 25], //
symbolOffset: [13, 6], //
symbolSize: [20, 20], //
symbolOffset: [13, 4], //
symbolPosition: 'end',
data: values2,
z: 5,
@ -757,7 +757,7 @@ function updateChartCounty() {
// -
{
type: 'bar',
barWidth: 8,
barWidth: 5,
data: values1.map(() => maxVal.toFixed(1)),
itemStyle: { color: 'transparent' },
label: {
@ -765,7 +765,7 @@ function updateChartCounty() {
position: 'right',
distance: 40,
fontSize: 16, //
offset: [-20, -20], //
offset: [-20, -10], //
align: 'left',
color: '#ffffff',
formatter: (params) => {