ChartsOrg / ChartsOrg/Charts

Custom Marker not rendered correctly if aspect ratio is set on chart view

Open
#3,901 1 comment 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?

I've got a custom marker that is attached to a bar chart. So far its working fine. But if I set aspect ratio to my chart view, if the value of the bar is the max value of the chart, the position of the marker view doesn't seem to render properly and can't be seen on screen. if value of bar is lower than max value, its fine.

## What did you expect to happen?

Marker view is rendered correctly.

## What happened instead?

Marker view is not shown when highlight bar with value = max value. As screenshot below.

## Charts Environment

**Charts version/Branch/Commit Number:** 3.2.1
**Xcode version:** Xcode 10
**Swift version:** 4.2
**Platform(s) running Charts:** iOS

Screen Shot 2019-03-15 at 5 14 20 PM

Screen Shot 2019-03-15 at 5 13 34 PM

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.