|
|
@ -55,19 +55,19 @@ class Screen{ |
|
|
|
|
|
|
|
void createVGraph(String title, double xpos, double ypos, double width, double height, |
|
|
|
double yminimum, double ymaximum, double yStepSize, int digit){ //this method calls the configure() of graph for a vertical graph |
|
|
|
this->graph[counterG].configure(title, 'a', xpos, ypos, width, height, yminimum, ymaximum, 0, 0, yStepSize, 0, digit); |
|
|
|
this->graph[counterG].configure(title, 'a', xpos, ypos, width, height, yminimum, ymaximum, 0, 0, yStepSize, 0, digit, 0); |
|
|
|
this->counterG++; |
|
|
|
} |
|
|
|
|
|
|
|
void createHGraph(String title, double xpos, double ypos, double width, double height, |
|
|
|
double xminimum, double xmaximum, double xStepSize, int digit){ //this method calls the configure() of graph for a horizontal graph |
|
|
|
this->graph[counterG].configure(title, 'b', xpos, ypos, width, height, 0, 0, xminimum, xmaximum, 0, xStepSize, digit); |
|
|
|
this->graph[counterG].configure(title, 'b', xpos, ypos, width, height, 0, 0, xminimum, xmaximum, 0, xStepSize, digit, 0); |
|
|
|
counterG++; |
|
|
|
} |
|
|
|
|
|
|
|
void createCGraph(String title, double xpos, double ypos, double width, double height, |
|
|
|
double yminimum, double ymaximum, double xminimum, double xmaximum, double yStepSize, double xStepSize, int digit){ //this method calls the configure() of graph for a cartesian chart |
|
|
|
this->graph[counterG].configure(title, 'c', xpos, ypos, width, height, yminimum, ymaximum, xminimum, xmaximum, yStepSize, xStepSize, digit); |
|
|
|
double yminimum, double ymaximum, double xminimum, double yStepSize, double xStepSize, int digit, void * maximum){ //this method calls the configure() of graph for a cartesian chart |
|
|
|
this->graph[counterG].configure(title, 'c', xpos, ypos, width, height, yminimum, ymaximum, xminimum, 0, yStepSize, xStepSize, digit, maximum); |
|
|
|
counterG++; |
|
|
|
} |
|
|
|
|
|
|
|