This commit is contained in:
yangjun 2025-10-31 17:06:49 +08:00
parent cfb9f0ab6c
commit 44f1e65d22
1 changed files with 10 additions and 10 deletions

View File

@ -674,7 +674,7 @@ function updateChartCounty() {
//
{
type: 'bar',
barWidth: 10,
barWidth: 5,
data: names.map(() => maxVal),
barGap: '-100%',
itemStyle: {
@ -691,8 +691,8 @@ function updateChartCounty() {
// -
{
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) => {