ChartsOrg / ChartsOrg/Charts

Stacked Bar formatting

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

Description

I'm struggling to format a stacked bar chart. Here's what I need to do:

screen shot 2017-12-08 at 3 31 32 pm

Specific, I need to not have any `stackLabels` in my `BarChartDataSet`, but if I pass in an empty array, I get a crash. If I don't set them, default values are displayed.

Secondly, I can't figure out how to set the labels for the bars. Notice in the screenshot, I need to display labels under the bars, but the values are defaulting to 1 and 2 (resp). Again, can't figure out how to update.

Anyone have insight on with variables I need to be using? Thanks!

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.