2014-04-24 4 views
1

AndroidPlot 라이브러리의 Realtime Orientation Sensor Plot 데모를 사용하고 있습니다. 그래프를 스크롤 할 때 도메인 X 축 값을 업데이트하려면 어떻게합니까?실시간 XY 플롯 X 축 업데이트

답변

0

Androidplot DemoApp에서 스크롤 및 확대/축소 예제는 here's a link to the source입니다. 특히 Line #153을 살펴보십시오. 여기서 스크롤이 처리되는 곳입니다.

+0

실시간 오리 엔테이션 센서 플롯을위한이 샘플 코드를 어디서 구할 수 있습니까? 웹 사이트에서 더 이상 사용할 수 없습니다. 내 앱에 실시간 동적 플로팅이 필요하다. 나는 그것을 보려고했지만 BitBucket에서도 사라졌습니다. @Anthony, 어쩌면 당신도 저를 도울 수 있습니까? – lottee

+1

[Bitbucket] (https://bitbucket.org/androidplot/androidplot)과 항상 같은 위치에서 사용할 수 있으며 [Github] (https://github.com/halfhp/androidplot)에서도 사용할 수 있습니다. 또한 [직접 링크가 있습니다] (https://bitbucket.org/androidplot/androidplot/src/d90fc9fe7705a3f82fe44406cd28a34d9169e056/Examples/DemoApp/src/com/androidplot/demos/OrientationSensorExampleActivity.java?at=master&fileviewer=file-view-default) 실시간 센서 데모 소스에 연결합니다. – Nick