vico icon indicating copy to clipboard operation
vico copied to clipboard

Line renders both `topFill` & `bottomFill` colors for negative data

Open mak1nt0sh opened this issue 6 months ago • 7 comments

How to reproduce

fill = LineCartesianLayer.LineFill.double(
                            topFill = fill(MaterialTheme.colorScheme.primary),
                            bottomFill = fill(MaterialTheme.customColors.negative)
                        )

Data for this view:

xSeries = [19936, 19937, 19938, 19939, 19940, 19941, 19942]
ySeries = [500.00, -5, -5, -5, -5, -25, -25]

Observed behavior

lineissue

Line colors are split and default marker mixes the colors of both fill colors

Expected behavior

The color of the line and marker should be distinct for positive/negative values.

Vico version(s)

2.0.0-alpha.27

Android version(s)

Any

mak1nt0sh avatar Aug 08 '24 05:08 mak1nt0sh