I'd like to make it possible to make stacked bar chart legend visible even when there is no data yet.
Problem/motivation
For one of my use cases, I'd like to render stacked bar chart for two specific scenarios – when there is no data yet, and when there is data but with 0 values (see examples below). In both cases chart tooltip is correctly rendered on hover with either No data or 0 as a value, but chart legend is only rendered for chart with 0 values.
Feature description
I'd like to make it possible to make stacked bar chart legend visible even when there is no data yet.
Problem/motivation
For one of my use cases, I'd like to render stacked bar chart for two specific scenarios – when there is no data yet, and when there is data but with 0 values (see examples below). In both cases chart tooltip is correctly rendered on hover with either
No data
or0
as a value, but chart legend is only rendered for chart with 0 values.Used library version is 1.6.5.
Chart with no data
Chart with 0 values
Describe alternatives you've considered
No response
Additional context
No response
Validations