c3js / c3js/c3

x & y data timeseries wont stack

Open
#1,896 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

why do these not stack?

> `var chart = c3.generate({
> data: {
> xs: {
> tag0: 'xtag0',
> tag1: 'xtag1',
> tag2: 'xtag2'
> },
> columns: [
> ['xtag0',"2012-2-18","2012-3-18", "2012-10-18" ],
> ['tag0', 30, 100, 200],
> ['xtag1', "2012-4-18","2012-5-18", "2012-10-13"],
> ['tag1', 20, 75, 80],
> ['xtag2', "2012-6-18", "2012-09-13", "2012-10-13", "2012-11-13"],
> ['tag2', 50, 250, -5, 150]
> ],
> types: {
> tag0: 'area-spline',
> tag1: 'area-spline',
> tag2: 'area-spline'
> },
> groups: [['tag0', 'tag1', 'tag2']]
> },
> axis: {
> x: {
> type: 'timeseries'
> }
> }
> });`

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.