Skip to content
ExplainOct 7, 2026· 0:19· 0 views

ApexCharts 7.8.0: showForNullSeries:false now correctly hides null series from legend

0:19 total

Comments · 0

Be the first to comment.

Explanation— by SceneRecap AI

The recording demonstrates the resolution of ApexCharts issue #4131 regarding the legend.showForNullSeries: false configuration option. The demo showcases a line chart containing two series: an active series named "Revenue" with numeric values and an all-null series named "Forecast". At [1.0s], the chart renders only the "Revenue" legend item at the bottom, confirming that the null data series is suppressed from the legend as intended.

Throughout the demonstration, the user interacts with the chart by hovering over the March data point at [3.0s] and [7.0s], which displays the tooltip showing "Revenue: 35". Around [11.0s], an automated DOM check confirmation banner appears below the legend stating that only "Revenue" is visible among the two DOM series nodes, validating that the "Forecast" series is correctly hidden. The user continues to hover over data points to demonstrate chart interactivity while the legend remains correctly filtered through [17.0s].

Key moments

Chart displays with only 'Revenue' visible in the legend
Hovering over March data point displays tooltip with Revenue value
DOM verification banner confirms Forecast series is hidden from legend
Interacting with chart points while verifying legend consistency

What to know

  • •Setting `legend: { showForNullSeries: false }` in ApexCharts 7.8.0 properly excludes series with entirely null data points from the legend.
  • •The DOM retains the series structure while suppressing the visual display of null series legends.
  • •Chart tooltips and active series interactions remain fully functional.

Glossary

showForNullSeries
An ApexCharts legend configuration option that controls whether series containing only null values are displayed in the chart legend.
Null Series
A data series where all values across every category or timestamp are set to null.

Your recordings could explain themselves too.

Free plan · silent recordings welcome · bug reports included.

Try SceneRecap free →
ApexCharts 7.8.0: showForNullSeries:false now correctly hides null series from legend · SceneRecap