c3js / c3js/c3

category coming from the URL data is not displayed

Open
#1,806 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 am creating a graph with data from a URL , the code below.
mas as categorias não são exibidas em X.

I do not know how to solve

**Code**
######

```
c3.generate({
bindto: '#lineChart',
data:{
url: '../resumo.csv',
type: 'bar',
types: {
'Saldo': 'line',
},
},
color: {
pattern: ['#1f77b4', '#d62728', '#2ca02c']
},
grid: {
y: {
lines: [{value: 0}]
}
}
});
```
######

**resumo.csv**
######

x,Rec,Pag,Saldo
Jan/2015,21938.03,26003.56,35600.30
Fev/2015,27708.06,25885.27,37423.09
######

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.