CandleStick Charts not resizing properly
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
### What I expected:
To add 12 data points and have them size accordingly
### What happened:
The CandleStick boxes became the width of the wicks
## Explanation:
In my application I am displaying 12 data points with 3 data entries. A total of 36 possible candles could be on the screen at any given time. They are all spaced out evenly with each point based on a range. When displaying 12 points the boxes go from boxes to sticks.
When I trim the number of points down to 7, it displays properly. Is there anyway to keep the ratio the same while adding as many points as we want?
*Notice the orange points


Contributor guide
Research direction
The issue names no source files, tests, or entry points. Reproduce the CandleStick chart with 12 data points and compare it with the seven-point case, then trace the chart's candle-width and spacing calculation. Done means candle boxes retain the expected proportion as more points are displayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- data-visualization, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100