-
-
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
how to drag the LineChartView #3211
Comments
I also need this feature, how to achieve it? |
Hi, I have found the solution. There is a function called "setVisibleXRangeMaximum". It means that you can set the 6 months data that will display in the chartView, and you can scroll the chart to see other 6 months data. |
@weifengsmile I have set the property, but it still doesn't work for me... I have set the maxVisibleCount and setVisibleXRangeMaximum. Plus, the dataArray's count is greater than the both. So I have no idea how to scroll the Chart without a ScrollView |
Oh, I just set the property after the chart's data has been set then it can be scrolled. |
use |
@liuxuan30 when i use HorizontalBarChartView, i also need display partial data, scroll to display other data. But i set |
我这边需求 一共可能30条数据,然后默认只显示五条,其余的通过左滑 |
请问你解决了吗 我也是 |
你好,你解决了吗。我也有这个问题 |
i have a question,i add the linechartView in uiview. the uiview add in a controller's view such
self.view addSubview:_firstIV self.chartView = [LineChartView new];
[_firstIV addSubview:_chartView]; i want to use the functions such as , i have total 12 months,but in the linchartview just display 6 month ,and another 6 months need i drag the linchartview to see it , to dispaly another 6 months . seems like move in scrollview. how can i achieve this behavior . wheather the chats libary support this functions.
The text was updated successfully, but these errors were encountered: