mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-29 02:59:57 +02:00
make line chart point a little bit transparent and smaller
This commit is contained in:
@@ -636,10 +636,10 @@ private fun createLineSpec(color: Color, statisticsMode : Boolean): LineCartesia
|
|||||||
// Points on the line are shown unless in statistics mode
|
// Points on the line are shown unless in statistics mode
|
||||||
pointProvider = if (!statisticsMode) {
|
pointProvider = if (!statisticsMode) {
|
||||||
LineCartesianLayer.PointProvider.single(
|
LineCartesianLayer.PointProvider.single(
|
||||||
LineCartesianLayer.point(ShapeComponent(fill(color), CorneredShape.Pill))
|
LineCartesianLayer.point(ShapeComponent(fill(color.copy(alpha = 0.7f)), CorneredShape.Pill), 6.dp)
|
||||||
) } else null
|
) } else null,
|
||||||
// dataLabel = null, // Keine Datenbeschriftungen an den Punkten
|
// dataLabel = null, // No data labels on points
|
||||||
//pointConnector = LineCartesianLayer.PointConnector.cubic() // Standard, kann explizit sein
|
pointConnector = LineCartesianLayer.PointConnector.cubic()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user