Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The edge points are clipped #5216

Open
Jolin-Zhang opened this issue Dec 26, 2024 · 0 comments
Open

The edge points are clipped #5216

Jolin-Zhang opened this issue Dec 26, 2024 · 0 comments

Comments

@Jolin-Zhang
Copy link

image

What did you do?

ℹ Please replace this with what you did.

   lineChart.leftAxis.axisMaximum = 42;
   lineChart.leftAxis.axisMinimum = -15;
   [lineChart setExtraOffsetsWithLeft:0 top:58 right:0 bottom:30];

And I set the data as follows:
image

ℹ Please replace this with what you expected to happen.

When x is 3.0,y is 42.0 ,the circle was out of content rect.

image

y is 57.999999999999986 , and contentRect.origin.y is 58.0 ,so the circle point is skipped.

How can I do to avoid this happened

What happened instead?

ℹ Please replace this with of what happened instead.

DGCharts Environment

DGCharts version/Branch/Commit Number:
**Xcode version:16.2
Swift version:
Platform(s) running DGCharts: iPhoneXs Max
macOS version running Xcode:

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant