We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c4756 commit b29350bCopy full SHA for b29350b
compose-charts/src/commonMain/kotlin/ir/ehsannarmani/compose_charts/extensions/GridLines.kt
@@ -40,10 +40,10 @@ fun DrawScope.drawGridLines(
40
for (i in 0 until yAxisProperties.lineCount) {
41
val x = _size.width.spaceBetween(itemCount = yAxisProperties.lineCount, index = i)
42
drawLine(
43
- brush = xAxisProperties.color,
+ brush = yAxisProperties.color,
44
start = Offset(x + xPadding, 0f + yPadding),
45
end = Offset(x + xPadding, _size.height + yPadding),
46
- strokeWidth = xAxisProperties.thickness.toPx(),
+ strokeWidth = yAxisProperties.thickness.toPx(),
47
pathEffect = yAxisPathEffect
48
)
49
}
0 commit comments