My mistake,I inverted the labels when I rewrote the plugin.I cannot
make the correction, as I still cannot connect to sourceforge.
I ask Michael or Ede if kindly can make this correction for me:
The file to correct is
org.openjump.core.ui.plugin.raster.ProfileGraphPlugIn.java
starting from line 152 at the method:
   private void getDialogValues(MultiInputDialog dialog)
{        drawnType = dialog.getBoolean(DRAWN);        selectedType =
dialog.getBoolean(SELECTED);        HEIGHT =
dialog.getText(HORIZONTAL_AXES_LABEL);        WIDTH =
dialog.getText(VERICAL_AXES_LABEL);        UNIT =
dialog.getText(LAYER_UNIT);        rLayer = (RasterImageLayer)
dialog.getLayerable(CLAYER);
    }
------------------------------------------------------------------
The correction is on lines 155 and 157 (I belive):
   private void getDialogValues(MultiInputDialog dialog)
{        drawnType = dialog.getBoolean(DRAWN);        selectedType =
dialog.getBoolean(SELECTED);        WIDTH =
dialog.getText(HORIZONTAL_AXES_LABEL);        HEIGHT =
dialog.getText(VERICAL_AXES_LABEL);        UNIT =
dialog.getText(LAYER_UNIT);        rLayer = (RasterImageLayer)
dialog.getLayerable(CLAYER);
    }

Thanks again
Peppe


Il giorno dom, 12/01/2020 alle 21.23 +0000, Rahkonen Jukka (MML) ha
scritto:
> Hi,
> 
> It seems to me that these keys are reversed and vertical label goes
> to horizontal axis in the plot and vice versa:
> 
> org.openjump.core.ui.plugin.raster.ProfileGraphTool.vertical-axes-
> label=
> org.openjump.core.ui.plugin.raster.ProfileGraphTool.horizontal-axes-
> label=
> 
> -Jukka-
> 
> 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to