You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by qwerty ytrewq <qw...@gmail.com> on 2022/06/02 08:22:08 UTC
How to change X Axis to multiple color?
I read the document all the day, but can't find a solution,
just like this.
[image: image.png]
Re: How to change X Axis to multiple color?
Posted by Ovilia <ov...@gmail.com>.
Hi,
To set axis labels to be different colors, you can use "axisLabel.color" as
a callback function.
To make the small bars with different colors, you can either use another
series and set different colors to its "data.color"
(you need set "barGap" to be "-100%"), or use a custom series to do so.
Thanks
*Ovilia*
On Fri, Jun 3, 2022 at 4:29 AM qwerty ytrewq <qw...@gmail.com>
wrote:
> I read the document all the day, but can't find a solution,
> just like this.
> [image: image.png]
>