ComposeNavChart
A small Compose Multiplatform library for rendering animated NAV charts on Android and iOS.
The chart is extracted from a production portfolio graph and made reusable with neutral data models, configurable line styles, date labels, tooltips, and scrub interaction.
Preview

Variations
| Default | Dark |
|---|
 |  |
| Emerald | Single line |
|---|
 |  |
| Multi-series |
|---|
 |
Install
Add Maven Central to your repositories:
repositories {
google()
mavenCentral()
}
Then add the dependency:
commonMain.dependencies {
implementation("io.github.samarthraj11:compose-nav-chart:0.2.2")
}
Usage
@Composable
{
ComposeNavChart(
series = listOf(
NavSeries(
name = ,
points = listOf(
NavPoint(timestampMillis = , value = ),
NavPoint(timestampMillis = , value = ),
NavPoint(timestampMillis = , value = ),
),
),
NavSeries(
name = ,
points = listOf(
NavPoint(timestampMillis = , value = ),
NavPoint(timestampMillis = , value = ),
NavPoint(timestampMillis = , value = ),
),
),
),
onScrubChange = { points ->
},
)
}
License
Apache License 2.0