-
-
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
StackedBar Chart highlighting complete single bar #504
Comments
|
Thanks 👍 'ChartMarker' class helped. |
don't forget it can have image as well :) |
For marker things, ChartMarker is perfect as per @liuxuan30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using StackedBar Chart in iOS-Charts, I need to provide two functionality:
How this can be achieved?
For highlighting I tried doing following but it's not working
let highlighter1: ChartHighlight = ChartHighlight(xIndex: dataSetIndex, dataSetIndex: 0, stackIndex: 0)
let highlighter2: ChartHighlight = ChartHighlight(xIndex: dataSetIndex, dataSetIndex: 0, stackIndex: 1)
let highlighter3: ChartHighlight = ChartHighlight(xIndex: dataSetIndex, dataSetIndex: 0, stackIndex: 2)
chartView.highlightValues([highlighter1, highlighter2, highlighter3])
this doesn't even highlight single bar.
if I give single value it works.
The text was updated successfully, but these errors were encountered: