Skip to content

Stacked Bar chart or multiple traces? #26

@rometki

Description

@rometki

Hi,

Thanks for sharing this, it's great!

Is there a way to display mols in a stacked bar plot? The stacked bars use separate columns for the y-axis, not a shared facet column.

Or are there any examples where it's used on more than one trace per plot (like add_trace with plotly go)?

Attached some plotly code and a test set if that helps!

Thanks,

fig=px.bar(
    data_frame = df,
    x = "Identifier",
    y = ['Conc1',''Conc2','Conc3'],
    barmode = 'stack'

Test Data.csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions