c3js / c3js/c3

Using non-sequential groups throws a fatal TypeError

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

Description

This is probably another edge-case, but if you pass a non-sequential array to data.groups, a TypeError is thrown. See [jsFiddle](http://jsfiddle.net/aendrew/b3dh230j/1/).

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the TypeError with the linked jsFiddle and a non-sequential array passed to data.groups. Trace the data.groups handling to identify the failing path, then verify that the same input no longer throws and that existing group behavior remains intact.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.