ChartsOrg / ChartsOrg/Charts

Combined chart bar width inconsistency (Bar chart width 1.0 will have thin space between bars)

Open
#2,765 10 comments 0 reactions 1 assignee Claimed by @liuxuan30 View on GitHub
help wanted
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Using combined chart view I'm trying to display semi transparent bar data with no spacing between the bars, but I'm getting some unexpected behaviour: setting the `barWidth` of the set to 1.005 gets me chart with bars that start with spacing between them, towards the middle gets perfect and towards the end bars start to overlap and which results of a solid color - a combination of the 2 semi transparent.
![gh5i4cp](https://user-images.githubusercontent.com/11072703/30060807-8c09b38e-924d-11e7-852e-e9d7c24bac78.png)

Running the same code on smaller screens gets me spacing and on bigger screen - overlap.

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.