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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -