androidplot 라이브러리를 사용하여 Android 앱에서 LineAndPointFormatter
을 사용하여 정적 그래프를 표시하고 있습니다. 그러나 이제는 확대/축소와 관련된 몇 가지 문제에 직면하고 있습니다. 즉, 사용자가 그래프에서 두 번 탭하면 확대/축소 후의 요구 사항에 따라 동일한 시간 그래프가 원래 위치/초기 위치로 돌아 가야합니다. 즉AndroidPlot : 확대/축소 후 LineAndPointFormatter 그래프를 원본으로 재설정하는 방법
public void resetZoom() {
newMinX = 0f;
newMaxX = 0f;
fixBoundariesForZoom();
setDomainBoundaries(newMinX, newMaxX, BoundaryMode.FIXED);
redraw();
} // With this code whenever user double taps on the graph same time graph is displaying blank means domain and range value is resetting to the original but line graph is not displaying.
아무도 나를 도와 줄 날이 문제를 다루는 몇 가지 해결 방법을 알려 주시기 바랍니다 수있는 현재 노력하고있는 코드 아래에 확인하십시오.