Realizing the background color of column chart with echarts

clipboard.png

you can use barGap:"- 100%"to implement
, but how to use
if there are multiple entries in a category that cannot be implemented with barGap?

Mar.03,2021

I happen to encounter this problem. I achieve a similar effect by stacking bar charts:
series: [

            {
                name:'',
                type:'bar',
                stack: '',
                data:yData,
                barWidth: 12,
                itemStyle: {
                    normal: {
                        color: "gray",
                    }
                },
            },
            {
                name:'',
                type:'bar',
                stack: '',
                data:jianData,//max
                barWidth: 12,
                itemStyle: {
                    normal: {
                        color: "-sharp003451",
                    }
                },
            }
        ]
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8ce28-46ed8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8ce28-46ed8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?