Skip to content

Add NaN support to Scatter and Fill Plots #396

@swharden

Description

@swharden

It seems like the scatter plot should support double.NaN. The reason it doesn't is because NaN makes its way into PointF and Graphics.DrawLine() freaks out if the first or last point is a NaN

Discarding NaN from the list of plotted points would require checking every value to see if it's NaN which is a slight performance hit... but Scatter already isn't highly performant, so maybe it's not much of a loss. This could even be toggled with a flag.

  • Support NaN in Scatter plots
  • Support NaN in Polygon plots (and Fill plots)

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