Skip to content

[Bug] The Min/Max values of an Axis chart should be allowed to be less than the Min/Max of the dataset #295

@brett-estabrook

Description

@brett-estabrook

Currently, you cannot set the Min/Max values of the chart to be more constrained than the Min/Max values of the dataset. If I modify the code to force this, it will draw the chart outside the bounds of the chart area (Covering up the legend, axes, and labels).

The correct behavior would be to set the ClipRect to the Chart Area on the Skia Sharp Canvas when drawing the AxisBasedCharts. This will caused points drawn out of bounds to simply be Culled by the graphics library.

Some Scratch work

Video of Progress:
#296 (comment)

Todo Items:

  • Bar Chart Value Label Clipping on top
  • Point Chart dot clipping, and value label clipping
  • Line Chart Edge Clipping
  • Y Axis Labels Clipping

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