ChartsOrg / ChartsOrg/Charts

Y-Axis value doesn't update correctly when change the datasource multiple times.

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

Description

## What did you do?

We are updating the data source of a chart multiple times.

## What did you expect to happen?

The Y-Axis values update according to the new data source

## What happened instead?

The Y-Axis doesn't update, the granularity of the Y-Axis is no the correct one.

## Charts Environment

**Charts version/Branch/Commit Number:** 3.0.2
**Xcode version:** 9
**Swift version:** 4
**Platform(s) running Charts:** iOS 11
**macOS version running Xcode:** 10.13.3

## Demo Project

![upload_3_29_2018_at_11_49_28_am](https://user-images.githubusercontent.com/5713880/38215656-26cb0546-368e-11e8-83cd-12ef0de30e7a.png)

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.