Skip to content

Provide a parameter to charts component to hide the legend #1267

@thomaskejser

Description

@thomaskejser

I'm building a lightweight social media analytics and GA4 wrapper that aggregates across multiple channels. think of it like Hubspot - that is free and does not suck.

I am running on top of DuckDB and SQL page is my reporting tool

I would like the Chart component to have the ability to turn off the legend. Something along the lines of:

SELECT false AS legend, 'chart' AS component, 'bar' AS type

I can hack it with the stylesheet, but I would prefer to declare my intent directly in SQL.

The hover over data points already shows the legend and I have charts with 25 series. It would be much preferable to just let the user hover for the details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions