@@ -122,13 +122,13 @@ fun TimeColumnChart(
|
|||||||
),
|
),
|
||||||
marker = DefaultCartesianMarker(
|
marker = DefaultCartesianMarker(
|
||||||
TextComponent(
|
TextComponent(
|
||||||
color = colorScheme.surface.toArgb(),
|
color = colorScheme.inverseOnSurface.toArgb(),
|
||||||
background = ShapeComponent(
|
background = ShapeComponent(
|
||||||
fill = fill(colorScheme.onSurface),
|
fill = fill(colorScheme.inverseSurface),
|
||||||
shape = CorneredShape.Pill
|
shape = CorneredShape.rounded(8f)
|
||||||
),
|
),
|
||||||
textSizeSp = typography.labelSmall.fontSize.value,
|
textSizeSp = typography.bodySmall.fontSize.value,
|
||||||
lineHeightSp = typography.labelSmall.fontSize.value,
|
lineHeightSp = typography.bodySmall.lineHeight.value,
|
||||||
padding = Insets(verticalDp = 4f, horizontalDp = 8f),
|
padding = Insets(verticalDp = 4f, horizontalDp = 8f),
|
||||||
margins = Insets(bottomDp = 2f)
|
margins = Insets(bottomDp = 2f)
|
||||||
),
|
),
|
||||||
@@ -143,7 +143,7 @@ fun TimeColumnChart(
|
|||||||
minZoom = Zoom.min(Zoom.Content, Zoom.fixed())
|
minZoom = Zoom.min(Zoom.Content, Zoom.fixed())
|
||||||
),
|
),
|
||||||
animationSpec = animationSpec,
|
animationSpec = animationSpec,
|
||||||
modifier = modifier.height(224.dp),
|
modifier = modifier.height(226.dp),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -136,13 +136,13 @@ fun TimeLineChart(
|
|||||||
),
|
),
|
||||||
marker = DefaultCartesianMarker(
|
marker = DefaultCartesianMarker(
|
||||||
TextComponent(
|
TextComponent(
|
||||||
color = colorScheme.surface.toArgb(),
|
color = colorScheme.inverseOnSurface.toArgb(),
|
||||||
background = ShapeComponent(
|
background = ShapeComponent(
|
||||||
fill = fill(colorScheme.onSurface),
|
fill = fill(colorScheme.inverseSurface),
|
||||||
shape = CorneredShape.Pill
|
shape = CorneredShape.rounded(8f)
|
||||||
),
|
),
|
||||||
textSizeSp = typography.labelSmall.fontSize.value,
|
textSizeSp = typography.bodySmall.fontSize.value,
|
||||||
lineHeightSp = typography.labelSmall.fontSize.value,
|
lineHeightSp = typography.bodySmall.lineHeight.value,
|
||||||
padding = Insets(verticalDp = 4f, horizontalDp = 8f),
|
padding = Insets(verticalDp = 4f, horizontalDp = 8f),
|
||||||
margins = Insets(bottomDp = 2f)
|
margins = Insets(bottomDp = 2f)
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user