-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bar charts with different column widths #3204
Comments
Hi, I'm in the same situation.. |
it's not supported with different bar width. you can try create one and file a PR. We would be grateful to review and merge. |
@wltrup @vilapuigvila |
@jessicafrank204 @vilapuigvila Our workaround is to render several bars next to each other, all with the same height, to simulate a single bar of that height and a custom width. |
@wltrup |
Hi Daniel.
I'd like to create a bar chart where the columns have different widths.
From what I can tell,
BarChartDataEntry
only has initialisers with a single value ofx
, the centre value of the column for the corresponding data point, and the common width of all columns is set usingBarChartData
'sbarWidth
method.Is there a way to create such a chart? I was expecting an initialiser along the lines of
init(xmin: Double, xmax: Double, y: Double)
and was surprised not to find one.Thanks!
The text was updated successfully, but these errors were encountered: