Skip to content

SP5: Add IsVisible property to IGrid #2947

@swharden

Description

@swharden

This is how to remove the grid currently. It works, but it's not intuitive:

ScottPlot.Plot plt = new();
plt.Grids.Clear();

Maybe there should be a Plot.Grid that returns the equivalent of GetDefaultGrid()

IGrid should also have an IsVisible property

public interface IGrid
{
bool IsBeneathPlottables { get; set; }
void Render(RenderPack rp);
void Replace(IXAxis xAxis);
void Replace(IYAxis yAxis);
}

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