c3js / c3js/c3

Axis tick count not updating when calling `chart.load(...)` with new column data

Open
#2,274 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

I have a chart generated with a set of data, but users will be able to ask for different bits of data and when that happens I am using `load` to load the new data. When this happens, there are certain cases where I need to update the number of ticks on the x-axis. Looking at the docs, I should be able to do this, but it doesn't seem to be working. I created a JSFiddle here (http://jsfiddle.net/lepolt/yhe7sg79/3/) that loads the initial data, then reloads new data and changes the tick count, but tick count is not reflected.

* **C3 version**: 0.4.18
* **D3 version**: 3.5.17
* **Browser**: Chrome 63
* **OS**: macOS 10.13

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.