c3js / c3js/c3

Padding top?

Open
#1,778 0 comments 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

It seems the top padding cannot be fully configurable, because there is a "burned in" number that cannot be overridden (it can be with negative numbers, which is a working trick, but not too elegant...):

https://github.com/c3js/c3/blob/0.4.11/c3.js#L386

Contributor guide

Open the contributing guide

Research direction

Start at c3.js around line 386, where the issue identifies the fixed top-padding value. Trace how chart padding is read and applied, then determine how the top padding can be made fully configurable without relying on negative values. Done means the chart honors the configured top padding directly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
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.