Skip to content

Allow Array of Markersize in AddScatter #784

@AlgoExecutor

Description

@AlgoExecutor

Currently it looks like in AddScatter the marker size can only be set for the whole series, but not individually. Would it be possible to accept an array of marker sizes so that each marker gets its own size?

`
//current State
formsPlot.Plot.AddScatter(xDate.ToArray(), ci.Data.ToArray(),
Color.GreenYellow, lineWidth: 0, 5, MarkerShape.filledSquare);

//possible?
formsPlot.Plot.AddScatter(xDate.ToArray(), ci.Data.ToArray(),
Color.GreenYellow, lineWidth: 0, markerSize.ToArray(), MarkerShape.filledSquare);
`

You can currently create the behavior only with the AddPoint methode. However, you do not get a legend entry here.
Maybe it is also a problem for performance if you add a lot of points with AddPoint?

Would be cool if you could do that with AddScatter:
image

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