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
Post a Comment