Skip to content

Commit

Permalink
Fix donut chart colors in demo app.
Browse files Browse the repository at this point in the history
  • Loading branch information
diogobernardino committed Dec 17, 2019
1 parent 1e97604 commit 2a963cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mobile/src/main/java/com/db/williamchartdemo/DemoFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ class DemoFragment : Fragment() {
barChart.animate(barSet)

donutChart.donutColors = intArrayOf(
Color.parseColor("#FFFFFF"),
Color.parseColor("#FF4081"),
Color.parseColor("#3F51B5")
Color.parseColor("#8DFFFFFF"),
Color.parseColor("#9EFFFFFF"),
Color.parseColor("#FFFFFF")
)
donutChart.animation.duration = animationDuration
donutChart.animate(donutSet)
Expand Down

0 comments on commit 2a963cb

Please sign in to comment.