Forum Discussion
Data Label colors based on their Position (Inside/Outside/Base/Center/End)
Hi Anonymous,
You cannot define a secondary colour, one option would be to set the background of the data label to withe (or the background colour of the chart) and when you have it inside the bar it will evidence the number when outside it will be just the number, because the background will blend.
Regards,
MFelix
First things first... Happy new year!
Thanks MFelix for your reponse. You're right about that it seems that you cannot define a scondary color but your suggested workaround is not what I'm looking for actually. As demostrated in the screenshot before Power BI is somehow "magically" able to handle two colors out of the box. In this case I havent (pre-)configured anything but the grey color of the bars.
I reckon that there is no way of defining two colors via GUI at the moment. Thus, maybe there is a way to do it via JSON theme? That would be a question adressed to the Power BI team of Microsoft.
- gdecome6 years agoHelper III
Hello ... could you solve this problem? I mean, understand why sometimes the lable is white inside the bar sometimes not?