FormidableLabs / FormidableLabs/victory-native-xl
Control BarChart 0 value bar height
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 109
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 3
Description
### Question
Hey guys, thanks for such perfect library, especially with 40.* update.
**Question**: I want to do those bars with 0 value (on image dashed border) as minimal as possible (like 5 px). Now the 0 value bar height is set up automatically, based on the max value (the more max value is - the smaller 0 bar will be, and vice versa).
Have not found any solution so far. Is it possible to do it?
### Background Info/Attempts
```
{({points, chartBounds}) => (
)}
```
Contributor guide
Research direction
Review the Bar usage shown in the issue, starting with how points.yValue and chartBounds determine the rendered height. Trace the zero-value bar sizing behavior and identify where a minimum height could be configured. Done means zero-value bars can use a small target height such as 5 px without changing nonzero bars.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- data-visualization, mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100