FormidableLabs / FormidableLabs/victory

The chart is inverted the Y axis when setting a small height prop value less than 100

Open
#2,243 1 comment 0 reactions 0 assignees View on GitHub
Issue: Accepted Type: Bug :bug:
Dominant language
TypeScript
Stars
11.2k
Forks
536
PR merge metrics
No merged PRs in 30d

Description

# Bug Reports

### Checklist

- [x] I have read through the [FAQ](https://formidable.com/open-source/victory/docs/faq) and [Guides](https://formidable.com/open-source/victory/guides/)

- [x] I am using the latest version of Victory

- [x] I've searched open issues to make sure I'm not opening a duplicate issue

### The Problem

#### Issue
The chart belong to any type, it's inverted the Y axis when setting **a small height prop value less than `100`**. The lower values on the top.

#### Expectation
The chart should display default behavior with lower values on the bottom, and higher values on the top regardless of orientation.

### Reproduction

Please see demo code at https://codesandbox.io/s/crazy-bird-nemdlv
Simple changing the `height` props on `` to value less than `100`

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.