Skip to content

Canvas layout improvements #1567

@ptbrowne

Description

@ptbrowne

Wrapping behavior

Right now, when moving charts around, the way they move themselves is a bit suboptimal and a "wrapping" behavior could enhance it. An initial PR had been made for this, but was not pursued further for the V1 of the grid.

Responsiveness

Right now the canvas layout is always initialized in large screen mode, and modifications of the
chart update the large screen mode. We should review what happens when updating the chart when the screen is narrower and see if everything is correct.

  • Should we provide controls to control narrow screen sizes ? Might make the application too difficult ?

  • React grid layout advices to update the layout in lg, so that in narrow screen sizes, the layout is inferred.

When using layouts, it is best to supply as many breakpoints as possible, especially the largest one. If the largest is provided, RGL will attempt to interpolate the rest.

https://github.com/react-grid-layout/react-grid-layout

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