0
작은 GraphView를 사용하고 있지만 X 축과 Y 축 번호의 레이블이 힙입니다. 첫 번째와 마지막 번호 만 표시하는 방법이 있습니까? Hoy가 GraphView에서 축의 첫 번째와 마지막 번호를 표시합니다.
작은 GraphView를 사용하고 있지만 X 축과 Y 축 번호의 레이블이 힙입니다. 첫 번째와 마지막 번호 만 표시하는 방법이 있습니까? Hoy가 GraphView에서 축의 첫 번째와 마지막 번호를 표시합니다.
이 시도 : 나는 개인적으로 사용
graph.getViewport().setYAxisBoundsManual(true);
graph.getViewport().setMinY(minValueY);
graph.getViewport().setMaxY(maxValueY);
graph.getViewport().setXAxisBoundsManual(true);
graph.getViewport().setMinX(minValueX);
graph.getViewport().setMaxX(maxValueX);
graph.getGridLabelRenderer().setNumVerticalLabels(2);
graph.getGridLabelRenderer().setNumHorizontalLabels(2);
'graphView.getGridLabelRenderer() setHorizontalLabelsAngle (15)'. –