futuredapp / donut

Doughnut-like graph view capable of displaying multiple datasets with assignable colors
MIT License
546 stars 46 forks source link

Animations #14

Closed matejsemancik closed 4 years ago

matejsemancik commented 5 years ago

library module

Allow to configure:

Moved defaults to companion object.

sample module

Added animation controls:

futured-bot commented 5 years ago
12 Warnings
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressLine.kt#L13 - Constructor parameter names should match the pattern: [a-z][A-Za-z\d]*
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressLine.kt#L14 - Constructor parameter names should match the pattern: [a-z][A-Za-z\d]*
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressLine.kt#L15 - Constructor parameter names should match the pattern: [a-z][A-Za-z\d]*
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressLine.kt#L16 - Constructor parameter names should match the pattern: [a-z][A-Za-z\d]*
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressLine.kt#L17 - Constructor parameter names should match the pattern: [a-z][A-Za-z\d]*
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressLine.kt#L18 - Constructor parameter names should match the pattern: [a-z][A-Za-z\d]*
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressLine.kt#L19 - Constructor parameter names should match the pattern: [a-z][A-Za-z\d]*
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressLine.kt#L120 - Parentheses in (pathLen.toDouble() * length) are unnecessary and can be replaced with: pathLen.toDouble() * length
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressView.kt#L21 - Class DonutProgressView is too large. Consider splitting it into smaller pieces.
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressView.kt#L152 - The caught exception is swallowed. The original exception could be lost.
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressView.kt#L324 - Functions with exact one statement, the return statement, can be rewritten with ExpressionBodySyntax.
:warning: library/src/main/kotlin/com/thefuntasty/donut/DonutProgressView.kt#L407 - Private function dpToPx is unused.

Generated by :no_entry_sign: Danger

skywall commented 4 years ago

Stav?

matejsemancik commented 4 years ago

@skywall need to resolve #11 first