-
-
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
BarChartView highlight issues #2014
Comments
I don't understand, tap will only highlight it for sure by default.. if you don't add marker. |
Yes, i add marker to show something when tap the bar,so it can't tap the bar area only to highlight it? |
If you don't enable the marker, it will just highlight the bar, is this what are you asking? Adding marker and highlight will render marker as well. |
Oh,sorry,i mean to show the marker.It's able to tap the bar area only to show it? |
try |
Thanks,and i have more question. the |
/// the order in which the provided data objects should be drawn.
/// The earlier you place them in the provided array, the further they will be in the background.
/// e.g. if you provide [DrawOrder.Bar, DrawOrder.Line], the bars will be drawn behind the lines.
open var drawOrder: [Int]
{
get
{
return (renderer as! CombinedChartRenderer!).drawOrder.map { $0.rawValue }
}
set
{
(renderer as! CombinedChartRenderer!).drawOrder = newValue.map { DrawOrder(rawValue: $0)! }
}
} please learn to dig info from the code. It's quite obvious if you look at the code. |
Thank you very much! |
It's able to tap the bar area only to highlight it?
The text was updated successfully, but these errors were encountered: