ChartsOrg / ChartsOrg/Charts

yAxis top label value, is not bigger or the same as the yMax of the dataset

Open
#4,490 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

## What did you do?

Using a line chart view, with dynamic content and

```swift
chart.autoScaleMinMaxEnabled = true
```

## What did you expect to happen?

For example, if I have a yMax as 1300, the top yAxis label should be 1300

## What happened instead?

For this use case, the top yAxis label is showing the value 1000

Have a few others with the same behaviour !

## Charts Environment

**3.4.0**
**Xcode version: 12**
**Swift version: 5.3**
**Platform(s) running Charts:**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.