ChartsOrg/Charts

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

開放

#2,765 建立於 2017年9月1日

 (10 則留言) (0 個反應) (1 位負責人)Swift (5,994 個分叉)batch import
help wanted

倉庫指標

星標
 (28,013 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

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

貢獻者指南