c3js / c3js/c3

Option to control blank border on each side of the category axis?

Open
#1,187 5 comments 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

Hi,

I can't figure out how to get rid of gap on each end of the X axis (before and after the first and last X values): http://i.imgur.com/TntkyC6.png

My code: http://jsfiddle.net/bz9mLome/

For example, Baidu's ECharts has a `boundaryGap` option which allows exactly that. I couldn't find anything similar in C3, so would appreciate any workarounds and also put in a feature request.

Thank you.

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.