jettro / jettro/c3-angular-directive

Struggling to implement chart-data for bar charts

Open
#135 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
201
Forks
96
PR merge metrics
No merged PRs in 30d

Description

Hi @jettro , could you please show me how to implement bar charts with categories, using dynamic chart data attribute?

I've managed to come up with this result: https://drive.google.com/file/d/0B-hbE9qIaT7kd0Q5dFVZUzkxamc/view?usp=drivesdk but failed to apply the custom axis-x custom labels. I want to show "Period 1, Period 2", Instead of 0, 1, ...

My JSON file looks like so:
`{
"cashFlow" : [{
"Period 1" : {
"Cash In" : 30,
"Cash Out" : 50
},
"Period 2" : {
"Cash In" : 60,
"Cash Out" : 50
}
}]
}`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.