1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-28 18:49:56 +02:00

make line chart point a little bit transparent and smaller

This commit is contained in:
oliexdev
2025-08-03 14:51:11 +02:00
parent e3698828ad
commit 3a0840fdf2

View File

@@ -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()
) )
} }