alielie
2026-04-16 1afe548ac40cc7f975917ef9bf2e156595cf81f3
Plugin.DataBoard/Libs/Static/test.html
@@ -208,6 +208,13 @@
                {
                    data: [],
                    type: 'bar',
                    label: {
                        show: true,
                        formatter: '{c}',
                        distance: 5,
                        fontSize: 14,
                        position: 'inside'
                    },
                    barMaxWidth: 50
                }
            ]
@@ -258,6 +265,12 @@
            legend: {
                orient: 'vertical',
                left: 'left'
            },
            label: {
                alignTo: 'edge',
                formatter: '{b}\n计数:{c}\n占比:{d}%',
                fontSize: 16,
                lineHeight: 18
            },
            series: [
                {
@@ -350,13 +363,23 @@
                    itemStyle: {
                        color: 'red'
                    },
                    label: {
                        show: true,
                        position: 'bottom',
                        formatter: (param) => param.value.toFixed(2) + '%'
                    },
                },
                {
                    data: [],
                    itemStyle: {
                        color: '#22448b'
                    },
                    type: 'line'
                    type: 'line',
                    label: {
                        show: true,
                        position: 'top',
                        formatter: (param) => param.value.toFixed(2)+'%'
                    },
                }
            ]
        };
@@ -441,7 +464,7 @@
                    data: [],
                    label: {
                        show: true,
                        formatter: '{b}',
                        formatter: '{b} 计数:{c}',
                        distance: 10,
                        fontSize: 14,
                        position: 'insideLeft'