ChartsOrg / ChartsOrg/Charts

Marker is not proper with negative values

Open
#1,929 5 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

I have stacked bar with positive and negative values. I am using stackIndex of highlight to display the individual stack value. But For negative value, I am getting 0 stackIndex. So unexpectedly the marker goes wrong.

This is how its work with positive value.
![screen shot 2016-12-07 at 12 56 57 pm](https://cloud.githubusercontent.com/assets/1359855/20958664/b11c032c-bc7c-11e6-80c6-d172fcec5800.png)

This is how its work with negative value (which is wrong)
![screen shot 2016-12-07 at 12 53 24 pm](https://cloud.githubusercontent.com/assets/1359855/20958685/ceed6774-bc7c-11e6-85cd-a4b57b3e5c3b.png)

I am using XYMarker.
I am using Chart 3.0

Can anyone help me ?

Thanks.

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.