swift - Tap callback on bar in BarChart in iOS-Charts -


i have implemented bar chart , move more specific view when tapping specific bar - if tapped uibutton. possible? need know bar tapped in order fill other view correct data, can't seem find way bind action specific bar in barchart. i'm using swift.

for else looking answer quite straight forward. implement chartviewdelegate have barchartview , implement method func chartvalueselected(chartview: chartviewbase, entry: chartdataentry, datasetindex: int, highlight: charthighlight) , you're set.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -