c3js / c3js/c3

subchart does not display data for scatter plot

Open
#583 2 comments 0 reactions 0 assignees View on GitHub
C-feature-request
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

If you add a subchart to a scatter plot, the data points will not be visible in the subchart but it will otherwise work just fine.

I tested it by simply changing the type of http://c3js.org/samples/options_subchart.html

```
var chart = c3.generate({
data: {
columns: [
['sample', 30, 200, 100, 400, 150, 250]
],
type: 'scatter'
},
subchart: {
show: true
}
});
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by changing the options_subchart.html example to use scatter data with subchart.show enabled. Trace the subchart rendering path and compare it with the main scatter plot rendering. Done means the scatter data points appear in the subchart without breaking the existing example behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3, javascript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.