-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chartView does't overlay with dark color highlighted value in bar chart #449
Comments
What do you see drawn instead? |
Nothing. ChartView call highlight delegate method. But does not draw overlay for bar section. Color stay same Wednesday 7 October 2015 09:55 +0300 from Daniel Cohen Gindi notifications@github.com:
|
There may be a missing setNeedsDisplay call. I'll look into it. In the mean On Wed, Oct 7, 2015 at 10:53 AM, Dmitry Coolerov notifications@github.com
|
Well I couldn't reproduce this problem. I'm guessing your Highlight object is not configured well |
If it's not a stacked bar chart, set stackIndex to -1 (Or use a different constructor) |
@danielgindi i can't highlight segment on stacked bar chart without ChartRange param. But all methods which return correct ChartRange are Internal func.
the code above doesn't allow to change yVal. Always return last(top) segment from ChartDataEntry |
The problem in range.
if range exist (in internal func called by gesture recogniser) chart is highlighted, but if I pass nil range nothing happens. |
fixed:
|
@PhilJay It seems like the |
@danielgindi I just answered question #504 yesterday, to use stackIndex -1 to highlight the whole stacked bar, instead of the segments. Is this valid? |
I want to show yValue in AnotherBarChart.This is my Code:
} |
when bar was selected by tap all works well, but when select from code, overlay do not drown as expected
The text was updated successfully, but these errors were encountered: