frappe/charts

change margins

Open

#92 opened on Dec 8, 2017

View on GitHub
 (3 comments) (7 reactions) (0 assignees)JavaScript (769 forks)batch import
Feature Requesthacktoberfest

Repository metrics

Stars
 (14,858 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

is there a way to change the margins from the default (60, 10) ?

In my usecase I have to much white space around the chart.

https://github.com/frappe/charts/blob/839741964a872e5ea3585481f54830e8f05d16c1/src/js/charts/BaseChart.js#L109

Contributor guide