Skip to content

SP5: Legend cannot be hidden #2805

@swharden

Description

@swharden

Legend has IsVisible

public bool IsVisible { get; set; } = true;

and if it's false it should return immediately inside the render method

public void Render(RenderPack rp)
{
LegendItem[] items = rp.Plot.Plottables.SelectMany(x => x.LegendItems).ToArray();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions