swiftcharts

How to add marker to center position in ios charts while scrolling horizontally with increasing scaleX and enabling drag

℡╲_俬逩灬. 提交于 2019-12-18 13:47:10
问题 I am using the Charts framework from Daniel Cohen Gindi. I am scrolling chart horizontally by increasing scaleX value and enabled drag as described in answer of this question Set an horizontal scroll to my Barchart in swift I want to add marker at center position when user scrolls horizontally. I know "chartTranslated" delegate is called whenever user drags the chart but it doesn't contain the value of "ChartDataEntry" and "Highlighted" like in "chartValueSelected" delegate method. 回答1:

How to add marker to center position in ios charts while scrolling horizontally with increasing scaleX and enabling drag

时光怂恿深爱的人放手 提交于 2019-11-30 10:33:53
I am using the Charts framework from Daniel Cohen Gindi. I am scrolling chart horizontally by increasing scaleX value and enabled drag as described in answer of this question Set an horizontal scroll to my Barchart in swift I want to add marker at center position when user scrolls horizontally. I know "chartTranslated" delegate is called whenever user drags the chart but it doesn't contain the value of "ChartDataEntry" and "Highlighted" like in "chartValueSelected" delegate method. Unfortunately ChartViewBase.swift is full of private function and internal vars and you can't extend some method