Skip to content

XYLegendWidget Suboptimal Sizing #64

Description

@halfhp

Hello,

XYLegendWidget

Issue: If you have, say, 5 SeriesBundle with 2 legendenabled==false it
shows 3 legends and 2 empty cells, which is wasted space.

Row 191
int nWithoutLegend = plot.getRegistry().getSeriesList().size() -
plot.getRegistry().getLegendEnabledItems().size();
seriesCount -= nWithoutLegend;

as quick fix works for me.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions