# HG changeset patch # User Sascha L. Teichmann # Date 1412269030 -7200 # Node ID 2cabecf27cccbe6ca9985be91f8a5726c38169ed # Parent 55b5d6d98d1548346af1ae8cc9d82aba6b9cce7c Added km sub title to fix derivate curve, too. diff -r 55b5d6d98d15 -r 2cabecf27ccc artifacts/src/main/java/org/dive4elements/river/exports/process/FixDerivedProcessor.java --- a/artifacts/src/main/java/org/dive4elements/river/exports/process/FixDerivedProcessor.java Thu Oct 02 16:33:16 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/FixDerivedProcessor.java Thu Oct 02 18:57:10 2014 +0200 @@ -29,6 +29,8 @@ private String I18N_AXIS_LABEL = "chart.discharge.curve.yaxis.label"; + private static final String I18N_SUBTITLE_KM = "chart.subtitle.km"; + public FixDerivedProcessor() { } @@ -68,6 +70,11 @@ generator.addAxisSeries(series, axisName, visible); series.putMetaData(metaData, bundle.getArtifact(), context); } + + generator.addSubtitle(Resources.getMsg( + generator.getCallContext().getMeta(), + I18N_SUBTITLE_KM, + new Object[] { "$KM" })); } @Override