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

add custom options for charts #2

Open
2 tasks
saylorsd opened this issue Nov 24, 2020 · 0 comments
Open
2 tasks

add custom options for charts #2

saylorsd opened this issue Nov 24, 2020 · 0 comments

Comments

@saylorsd
Copy link
Member

We can provide a limited set of options to customize the charts.

The serializers for our charts should map our custom options to the appropriate recharts props.

  • Pie

    • donut width: a few choices (small, large, pie) that map to specific percent for use as innerRadius prop
    • padding: (thin, thick, thicker, none) -> x%
  • Bar

    • padding: (thin, thick, thicker, none) -> x%
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

1 participant