Bug #1401

Updated by Sebastien Jacquot about 5 years ago

Following warning message:
<pre>
Warning: NLS unused message:
ChartsEngine_SPECIFICITIES_BANALITE_MARKER_LABEL in:
org.txm.tbx.chartsengine.base.messages.messages
</pre>

appears at /org.txm.toolbox/src/java/org/txm/tbx/chartsengine/base/messages/ChartsEngineMessages.java loading (typically while generating a first chart).

h3. Solution 1

Move ChartsEngine_SPECIFICITIES_BANALITE_MARKER_LABEL to /org.txm.toolbox/src/java/org/txm/tbx/chartsengine/jfreechart/messages/JFreeChartsEngineMessages.java

h3. Solution 2

Modify method prototypes of the base ChartEngine class and implementations as following:

public abstract Object createSpecificitiesChart(SpecificitesResult specificitiesResult, boolean transpose, boolean drawBars, boolean drawLines, float banality, String banalityMarkerLabel, boolean grayscale);

public abstract File createSpecificitiesChartFile(SpecificitesResult specificitiesResult, boolean transpose, boolean drawBars, boolean drawLines, float banality, String banalityMarkerLabel, boolean grayscale, File file);

Further implements the banality label drawing in RChartsEngine. At this moment, only the banality range values are drawn, e.g. : 2 and -2.

Back