ChartsOrg / ChartsOrg/Charts

CandleStickChart bars have not equal width

Open
#3,590 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

## What did you do?

Draw CandleStick chart with 30+ bars, using filled and not filled bars

## What did you expect to happen?

All bars should have same width and equal spacing

## What happened instead?

Not filled bars are 1 pixel wider then filled, spacing is not equal

## Charts Environment

**Charts version/Branch/Commit Number: Charts (3.0.4)**
**Xcode version: 9.4**
**Swift version: 4.0**
**Platform(s) running Charts: iOS8+**
**macOS version running Xcode: 10.13.5**

## Demo Project
Bug is easy to reproduce on any iPhone, just draw a graph with 30+ bars, using filled and not filled bars. See screenshot:
![screen shot 2018-07-31 at 19 45 56](https://user-images.githubusercontent.com/1306465/43474795-82fbff2e-94fc-11e8-88af-0c9d6be2ab5b.png)

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.