CommonCharts

Properties

Link copied to clipboard
val dynamicTimeFormatter: ERROR CLASS: Unresolved name: CartesianValueFormatter

A dynamic CartesianValueFormatter that adjusts the time format based on the visible X range.

Link copied to clipboard
const val MAX_PERCENT_VALUE: Float = 100.0f
Link copied to clipboard
const val MS_PER_SEC: Long = 1000
Link copied to clipboard
const val SCROLL_BIAS: Float = 0.5f

Functions

Link copied to clipboard
fun formatDateTime(timestampMillis: Long): String
Link copied to clipboard
fun getMaterial3ErrorColor(alpha: Float = 1.0f): ERROR CLASS: Symbol not found for Color

Gets the Material 3 error color with optional opacity adjustment.

Link copied to clipboard
fun getMaterial3PrimaryColor(alpha: Float = 1.0f): ERROR CLASS: Symbol not found for Color

Gets the Material 3 primary color with optional opacity adjustment.

Link copied to clipboard
fun getMaterial3SecondaryColor(alpha: Float = 1.0f): ERROR CLASS: Symbol not found for Color

Gets the Material 3 secondary color with optional opacity adjustment.

Link copied to clipboard
fun getMaterial3TertiaryColor(alpha: Float = 1.0f): ERROR CLASS: Symbol not found for Color

Gets the Material 3 tertiary color with optional opacity adjustment.