Skip to content

Interactive scrolling and zooming #1

@kunerd

Description

@kunerd

I have tried different approaches to tackle this, but iceds preferred way of having pure, stateless widgets makes it hard to get a good interface.

  1. .range_x(), .range_y()
    These seem to be the most versatile interfaces that would also allow to implement scrolling and zooming, but there is one major problem here: It doesn't work well with the chart widgets initial auto-scaling.
  2. A combination of .offset() and .zoom()
    These work better in the iced sense, because both have sane defaults. Unfortunately, they don't allow for one of my main use cases in raumklang, or at least I couldn't find a working solution for: zoom to mouse pointer.

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