c3js / c3js/c3

x axis custom values being ignored and using the value index instead.

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

Hello.

I have a situation where I specify two custom x axis values array, and when building the second array, it starts to use the x value index instead of the value.

I've debugged the problem and found it to be located on the data.convert.js file (c3/src/data.convert.js#L179), as it doesn't check if the X value already exists before getting its id.

Thanks in advance.

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.