You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My x-axis is displayed normally, but the y-axis is not displayed. How can I solve this? Where is the root of the problem??
This is my email: [email protected] && [email protected] I am very grateful to you for solving this problem for me
Here is my code ↓:
`
List axisX = new ArrayList<>();
for(int index = 0; index < GPST.size(); index++)
axisX.add(new AxisValue(index).setLabel(GPST.get(index)));
List<AxisValue> axisY = new ArrayList<>();
for(int index = 0; index < Dist.size(); index++) {
axisY.add(new AxisValue(index).setLabel(Dist.get(index)));
}
// This is Y axis
Axis axis1 = new Axis();
axis1.setValues(axisX);
axis1.setTextColor(Color.BLUE);
// This is Y axis
Axis axis2 = new Axis();
axis2.setValues(axisY);
data.setAxisXBottom(axis2);
data.setAxisYLeft(axis1);
lineChartView.setLineChartData(data);
`
The text was updated successfully, but these errors were encountered:
My x-axis is displayed normally, but the y-axis is not displayed. How can I solve this? Where is the root of the problem??
This is my email: [email protected] && [email protected]
I am very grateful to you for solving this problem for me
Here is my code ↓:
`
List axisX = new ArrayList<>();
for(int index = 0; index < GPST.size(); index++)
axisX.add(new AxisValue(index).setLabel(GPST.get(index)));
`
The text was updated successfully, but these errors were encountered: