bogdanm

Highlight some labels only (with background color)

Recommended Posts

Hello!

I would like to know if there is  way to be able to do this:

post-76433-0-46623300-1489158236_thumb.png

So adding styling to the labels conditionally, or by setting it up in data node is what I'm aiming.

 

Any help or example is welcomed, thanks!
Bogdan

Share this post


Link to post
Share on other sites
Hello,

 

Thanks for the query.

 

Your requirement is achievable using the data level attribute for the labels.

e.g. labelBgColor, labelFontColor etc.

 

Kindly refer the fiddle below for the implementation.


 

Please refer the doc to know more about the attribute supported by column chart.

 

Hope this will help.

Edited by Prerana

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now