-
-
${addCommasToNumber(params.value)}
-
- `;
- return html;
- },
- },
- };
- });
-
- const itemMax = Math.max(...item.count);
-
- maxAxis = Math.max(itemMax, maxAxis);
-
- return {
- name: item.name,
- type: 'bar',
- barWidth: 12,
- legendHoverLink: true,
- large: true,
- itemStyle: {
- borderRadius: [2, 2, 0, 0], // 上边圆角
- },
- z: 10,
- data: countData,
- barMinHeight: ((optionData: Record