Skip to content

[Bug]: Missing chart data for tabs when printShowAll=true #3293

Description

@jenna-jordan

Describe the bug

I have sets of line charts in 3 different tabs. I'd like for each tab to show up when I print to pdf, which seems to be the purpose of the printShowAll configuration. Unfortunately, when I go to print to PDF, the line charts show up as empty - the x and y axes and the categories are there, but no lines on the charts. So instead, I set printShowAll to false, to at least get the charts in the first tab in the PDF.

Steps to Reproduce

<Tabs fullWidth=true printShowAll=true >
<Tab label="orders by category">

<LineChart 
    data={orders_by_category}
    x=month
    y=sales_usd0k 
    yAxisTitle="Sales per Month"
    series=category
/>

</Tab>
<Tab label="orders by month">

<LineChart 
    data={orders_by_month}
    x=month
    y=sales_usd0k 
    yAxisTitle="Sales per Month"
    title="Monthly Sales"
    subtitle="Includes all categories"
/>

</Tab>
</Tabs>

Logs

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (22) x64 Intel(R) Core(TM) Ultra 7 165H
    Memory: 11.05 GB / 31.46 GB
  Binaries:
    Node: 24.13.1 - C:\Program Files\nodejs\node.EXE
    npm: 11.8.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 146.0.7680.165
    Edge: Chromium (143.0.3650.96)
    Firefox: 148.0.2 - C:\Program Files\Mozilla Firefox\firefox.exe
    Internet Explorer: 11.0.26100.7309
  npmPackages:
    @evidence-dev/core-components: ^5.4.2 => 5.4.2
    @evidence-dev/csv: ^1.0.16 => 1.0.16
    @evidence-dev/duckdb: ^2.0.1 => 2.0.1
    @evidence-dev/evidence: ^40.1.8 => 40.1.8
    @evidence-dev/postgres: ^1.0.10 => 1.0.10
    @evidence-dev/sdk: ^4.0.2 => 4.0.2
    @evidence-dev/source-javascript: ^0.0.3 => 0.0.3

Severity

annoyance

Additional Information, or Workarounds

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingto-reviewEvidence team to review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions