Exemplo n.º 1
0
 /**
  * Define a Vector legend in the graph window
  *
  * @param x data position of the legend.
  * @param y data position of the legend.
  * @param text text to display in the legend
  */
 public void legend(double x, double y, String text) {
   super.legend(x, y, text);
   drawlegend = true;
 }
Exemplo n.º 2
0
 /**
  * Define a Vector legend in the graph window. The legend will be placed above the data window in
  * the center
  *
  * @param text text to display in the legend
  */
 public void legend(String text) {
   super.legend(-1, -1, text);
   drawlegend = true;
 }
Exemplo n.º 3
0
 /**
  * Define a Vector legend in the graph window
  *
  * @param x pixel position of the legend.
  * @param y pixel position of the legend.
  * @param text text to display in the legend
  */
 public void legend(int x, int y, String text) {
   super.legend(x, y, text);
   drawlegend = true;
 }
Exemplo n.º 4
0
 /**
  * Draw a Vector legend in the graph window. The legend will be placed above the data window in
  * the center
  */
 public void legend() {
   super.legend(-1, -1, null);
   drawlegend = true;
 }