-
Notifications
You must be signed in to change notification settings - Fork 176
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
如果数据很少无法布满整个屏幕,能否从左边显示?如何去设置? #9
Comments
可以从左边显示,在BaseKLineChartView这个类里面找到方法getMinTranslateX(),该方法是获取平移的最小值,先在里面调用方法isFullScreen()判断数据是否可以充满整个屏幕,如果无法充满,将偏移值设置为0即可,代码如下 |
你好,像火币那样单击也可以弹出选择框,怎么做呢 |
火币弹出选择框是两种情况 1.单击 2.长按. 因为弹出选择框是通过onLongPress判断的. 我将单击和长按up事件中都设置onLongPress = true. 这样会弹出选择框. 这样会有一些其他问题,需要自己去在事件中处理 onLongPress true 情况下两种case. 1.单击 2.长按 |
@wufannet 你好我想问下数据填充好初始绘图的时候不想让他填满整个页面怎么搞,就是最右边的数据想让他离尾部一个格子距离 |
No description provided.
The text was updated successfully, but these errors were encountered: