Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padding is not implemented #53

Closed
cjones26 opened this issue Jan 27, 2015 · 2 comments
Closed

Padding is not implemented #53

cjones26 opened this issue Jan 27, 2015 · 2 comments

Comments

@cjones26
Copy link

Hello Max--first of all, thanks for the awesome project! Secondly, I noticed padding didn't seem to be implemented and the only way I could figure a way around it was to implement it like so:

// Padding
//
if (scope.options.padding) {
  scope.configuration.padding = scope.options.padding;
} else {
  scope.configuration.padding = {};
}

Which seemed to work simply enough when I specified padding in my options like so:

$scope.options = {
  padding: {
    bottom: 20
  }
};
@maxklenk
Copy link
Member

This option is not implemented yet, but it will be added with the other configuration parameters in the 0.3 version of angular-chart

@sebastianhenneberg
Copy link
Contributor

As part of the recent 0.3.0 release, angular-chart now supports the full C3 API. Have a look at this graFiddle on how to set margin.bottom. Please check the upgrade guide for upgrading from 0.2.x to 0.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants