private Grid makeAxesPanel() {
    final Grid grid = new Grid(5, 3);
    grid.setText(0, 1, "Y");
    grid.setText(0, 2, "Y2");
    setTextAlignCenter(grid.getRowFormatter().getElement(0));
    grid.setText(1, 0, "Label");
    grid.setWidget(1, 1, ylabel);
    grid.setWidget(1, 2, y2label);
    grid.setText(2, 0, "Format");
    grid.setWidget(2, 1, yformat);
    grid.setWidget(2, 2, y2format);
    grid.setText(3, 0, "Range");
    grid.setWidget(3, 1, yrange);
    grid.setWidget(3, 2, y2range);
    grid.setText(4, 0, "Log scale");
    grid.setWidget(4, 1, ylog);
    grid.setWidget(4, 2, y2log);
    setTextAlignCenter(grid.getCellFormatter().getElement(4, 1));
    setTextAlignCenter(grid.getCellFormatter().getElement(4, 2));
    return grid;
  }
private Grid makeAxesPanel ( ) { final Grid grid = new Grid ( 5 , 3 ) ; grid . setText ( 0 , 1 , "Y" ) ; grid . setText ( 0 , 2 , "Y2" ) ; setTextAlignCenter ( grid . getRowFormatter ( ) . getElement ( 0 ) ) ; grid . setText ( 1 , 0 , "Label" ) ; grid . setWidget ( 1 , 1 , ylabel ) ; grid . setWidget ( 1 , 2 , y2label ) ; grid . setText ( 2 , 0 , "Format" ) ; grid . setWidget ( 2 , 1 , yformat ) ; grid . setWidget ( 2 , 2 , y2format ) ; grid . setText ( 3 , 0 , "Range" ) ; grid . setWidget ( 3 , 1 , yrange ) ; grid . setWidget ( 3 , 2 , y2range ) ; grid . setText ( 4 , 0 , "Log scale" ) ; grid . setWidget ( 4 , 1 , ylog ) ; grid . setWidget ( 4 , 2 , y2log ) ; setTextAlignCenter ( grid . getCellFormatter ( ) . getElement ( 4 , 1 ) ) ; setTextAlignCenter ( grid . getCellFormatter ( ) . getElement ( 4 , 2 ) ) ; return grid ; }
Builds the panel containing customizations for the axes of the graph.