c3js / c3js/c3

The dashed line is wrong when using data.groups and data.regions togather

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



var chart = c3.generate({
data: {
type: "area",
groups: [['data1', 'data2']],
columns: [
['data1', 30, 200, 60, 400, 150, 250],
['data2', 50, 20, 50, 40, 15, 25]
],
regions: {
'data1': [{'start':1, 'end':2, 'style':'dashed'},{'start':3}], // currently 'dashed' style only
'data2': [{'end':3}]
}
}
});

http://jsfiddle.net/7ydhyjm3/2/

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.