Skip to content

Commit

Permalink
🐛 (slope) hide the No Data section for svg exports
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Dec 4, 2024
1 parent 068a503 commit c889061
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,9 @@ export class SlopeChart
// nothing to show if there are no series with missing data
if (this.noDataSeries.length === 0) return false

// the No Data section is HTML and won't show up in the SVG export
if (this.manager.isStatic) return false

// we usually don't show the no data section if columns are plotted
// (since columns don't appear in the entity selector there is no need
// to explain that a column is missing – it just adds noise). but if
Expand Down

0 comments on commit c889061

Please sign in to comment.