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

Implement default color sets for slices #39

Open
mahozad opened this issue Jul 14, 2021 · 0 comments
Open

Implement default color sets for slices #39

mahozad opened this issue Jul 14, 2021 · 0 comments
Assignees
Labels
feature New feature
Projects

Comments

@mahozad
Copy link
Owner

mahozad commented Jul 14, 2021

See #26.

Add some default color sets to use as slice colors.
Each color set must be available in two variants: single color for the slice or gradient for the slice.

Can we somehow use themes and styles for this?
We can have some default styles in our library that users can use.

<resource>
  <style name="ColorfulStyle">
    <item name="gap">4dp</item>
    ...
  </style>
</resource>
<ir.mahoza.android.piechart
  style="@style/ColorfulStyle"
... />

Possible options could be:

  • Monochrome: One shade of color with different lightness or saturation
  • Colorful 1: bright colors
  • Colorful 2: dim colors
  • Colorful 3: ...
  • Grayscale: varying shades of gray color
@mahozad mahozad added the feature New feature label Jul 14, 2021
@mahozad mahozad self-assigned this Jul 14, 2021
@mahozad mahozad added this to To do in Roadmap via automation Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
Roadmap
  
To do
Development

No branches or pull requests

1 participant