FormidableLabs / FormidableLabs/victory

VictoryZoomContainer - There is a minimumZoom, is there a way to foresee a maximumZoom?

Open
#2,586 0 comments 3 reactions 0 assignees View on GitHub
Issue: Accepted Type: Enhancement :pencil2:
Dominant language
TypeScript
Stars
11.2k
Forks
536
PR merge metrics
No merged PRs in 30d

Description

VictoryZoomContainer
The mininumZoom is a very handy function but i want to limit the items that are shown on the graph.

For example:
I want to be able to zoom in and show at least 3 items (minimumZoom:3) but when i zoom out, I want to see at max 12 items (maximumZoom would be 12).

Is there already a (good) way to do this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.