Skip to content

Line chart lines are clipped #2963

@bdorfman

Description

@bdorfman

If you, for example, on a LineChartView set leftAxis.axisMinimum to 0, then the line itself will be clipped at 0 instead of being full width. Setting clipValuesToContentEnabled to true doesn't fix this, nor does altering the minOffset of the view. And there is no easy way that I can think of to offset axisMinimum to compensate for lineWidth (since the width is in screen points which will not translate neatly to an axis value).

Example screenshot of this behavior:
simulator006

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