Skip to content

Plottables: Make Render() virtual #3693

@sdhongjun

Description

@sdhongjun

Suggestion: (Set Render method to virtual)

Can you set IPlottable 's void Render(RenderPack rp); member method to virtual, so that we can quikly derived new class.

public class MyScatter : Scatter
{
public override void Render(RenderPack rp)
{
    // customer do something
}
}

ScottPlot.Plot myPlot = new();
/* a code sample may improve communication */
myPlot.SavePng("bug.png");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions