Skip to content

[charts] Remove/Reduce default margin values #17988

@oliviertassinari

Description

@oliviertassinari

Summary

The default margin values in:

export const DEFAULT_MARGINS = {
top: 20,
bottom: 20,
left: 20,
right: 20,
};

feel way too opinionated. I would expect almost 0. Or at the very least, to have them managed with CSS.

Examples

By order of margin present, sorted asc:

Motivation

Search keywords: -

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeIntroduces changes that are not backward compatible.designThis is about UI or UX design, please involve a designer.needs benchmarkingNeeds to look at different options.scope: chartsChanges related to the charts.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.v9.x

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions