FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Charts: Responsive legend · Issue #3005 · patternfly/patternfly-react · GitHub

Charts: Responsive legend #3005

Description

As a user, I want to have a responsive chart legend, like so:

Users can implement this manually today, via ChartLegend's itemsPerRow property, as shown by the bullet chart example above. However, I believe we my be able to do some of the work automatically. That is, providing the legend is generated via Chart.

Some investigation is needed, but Chart may be able to determine the legend's width, since it already has the SVG's padding. Then, we could set ChartLegend's itemsPerRow property if the legend is wider than the SVG, minus padding.

Note that this should be an opt-in feature, so we don't break existing user layouts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL