Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If a view does not produce any data rows then it does not make sense to display the chart. Instead, it is useful to provide some default text with the "no results behavior" option in Views.
Comment | File | Size | Author |
---|---|---|---|
#1 | visualization-empty-1947876-1.patch | 585 bytes | klausi |
Comments
Comment #1
klausiHere is a patch that switches the 'even empty' configuration of the style plugin to FALSE, so that the no results behavior is able to fire.
Comment #2
mradcliffeApplied patch, refreshed views data cache, and behavior works as expected.
Comment #3
Pierre.Vriens CreditAttribution: Pierre.Vriens commentedThank you for the patch, and the review of it. Note the status update I did. Sorry it took so long to get this moving.
Refer to #2042155: Looking for new co-maintainers for what happened.
Comment #5
Niremizov CreditAttribution: Niremizov commentedThx for the patch, but this it is default views behaviour, so just erasing this "'even empty' => FALSE," helps to solve issue.