c3js / c3js/c3

Divide data between lines by Criteria

Open
#1,827 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

I have data pulled from the server which has a value, a date but can differ by an attribute named Descr. My ideia is to specify the Descr and to create multiple lines automatically

`var chart = c3.generate({`
`bindto: element,`
`data: {`
`json: data,` ,
`keys: {`
`xFormat: '%Y%m%d',`
`x: "Data",`
`color: 'GrupoCor'`
`value: ["Valor"],`
`**name: "Descr"**`
`}`
`}};`

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.