Good evening. I have a problem with GraphView I want to bring the graduated axes to the center of the coordinate system :
double x,y;
x=-100;
y=0;
GraphView graph =findViewById(R.id.graph_view);
series=new LineGraphSeries<>();
int numDataPoints=500;
for (int i = 0; i <numDataPoints;i++){
x=x+0.3;
y=x*x;
series.appendData(new DataPoint(x,y),true,500);
}
double x,y;
x=-100;
y=0;
GraphView graph =findViewById(R.id.graph_view);
series=new LineGraphSeries<>();
int numDataPoints=500;
for (int i = 0; i <numDataPoints;i++){
x=x+0.3;
y=x*x;
series.appendData(new DataPoint(x,y),true,500);
}