Skip to content

StackedAreaSeries (Almost) always appearing above LineSeries #1923

@cole-w-kelley-PG

Description

@cole-w-kelley-PG

This may be in the documentation somewhere, forgive me if so. It wasn't on the ZIndex documentation.

I wanted a chart with a stacked area and then a line graph being overlayed over it, and so, naturally I used the Zindex to give the series my proper ordering. However, even when I put the LineSeries above the Stacked area, the stacked area series was always showing up on top. I set the Z index of the Line series to a ridiculously High value and then it finally appeared on top.

It turns out that the ACTUAL Z index of the series, even when being set in the code, starts at 1000 and decrements as series are added onto the chart. This wouldn't be a big deal, except that when I paused my code to look at the Zindex values of the stack series, it was reported as being the Zindex which I had set it to instead of it's actual value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions