Skip to content

Lines are invisible (out of canvas) when smoothing is on #354

Description

@ultmaster

Hi all. Thanks for building this great toolkit.

Recently I found that turning on smoothing is a good choice. It makes the chart look nicer and sometimes more friendly. But I notice that some of the lines are invisible (overflow out of canvas) when smoothing is on.

The following snapshot is taken directly from the demo github.io page:

image

It looks a more serious problem in my case:

image

I googled. Stackoverflow says that there is no such thing as overflow: visible for canvas. Canvas needs to be enlarged to make sure everything is drawn inside.

Any workarounds on this? Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions