Open kmn988 opened 3 weeks ago
@kmn988 Can you provide more context about when this is necessary?
@kmn988 Can you provide more context about when this is necessary?
I have 2 usecases for this. The first one might not be very common but when I use the option
colorBy: "data"
I want to change the background color according to the bar's color like this
For the second usecase, when I have 2 horizontal bar charts next to each other, I want to show a fixed number of 5 bars each so the distance between each bar for both graph can be the same. If the chart doesn't have enough data, I have to create fake one. When I'm using dataset option, the result will be like this However, I've just found out that using series's and axis's data option will give me the result that I want, which is no background for item with no value I still want to have the latter result by using dataset, which is why I request this feature so I can set the background to transparent. Hope my explanation is clear for you.
Thanks for your demo. I think it makes sense. We should provide a callback form for it.
What problem does this feature solve?
Different color for each bar's background
What does the proposed API look like?