ChartsOrg / ChartsOrg/Charts

Own Charts Marker (MarkerImage) is differently drawn in Charts 2.x and Charts 3.0.1

Open
#2,139 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I migrated my code to Charts 3.0.1. The own chart marker is derived from MarkerImage.

In Charts 2.x the marker offset is corrected automatically in case the marker does not fit fully into the chart view. See image below.

![datei 04 02 17 22 34 23](https://cloud.githubusercontent.com/assets/13385716/22621743/01d62f7c-eb2b-11e6-83d6-434a8c4625c9.jpeg)

In Charts 3.0.1 the marker offset calculation seems to be different. The marker view is drawn outside the chart view and thus cropped. See image below.

![bildschirmfoto 2017-02-04 um 22 32 53](https://cloud.githubusercontent.com/assets/13385716/22621747/106efffa-eb2b-11e6-9866-457e962e73f8.png)

Any ideas what's the different between 2.x and 3.0.1?

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.