Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.java @ 331:1c427acb6c76
Added subtitles to charts.
gnv-artifacts/trunk@397 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 04 Dec 2009 15:30:20 +0000 |
parents | 7fb9441dd8af |
children | 79e80c289018 |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.java Fri Dec 04 09:04:10 2009 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.java Fri Dec 04 15:30:20 2009 +0000 @@ -21,6 +21,12 @@ * */ private String title; + + /** + * + */ + private String subtitle; + /** * */ @@ -32,8 +38,9 @@ * @param title * @param domainAxisLabel */ - public ChartLabels(String title, String domainAxisLabel) { - this.title = title; + public ChartLabels(String title, String subtitle, String domainAxisLabel) { + this.title = title; + this.subtitle = subtitle; this.domainAxisLabel = domainAxisLabel; } @@ -44,10 +51,18 @@ return this.title; } + + /** + * @return the subtitle + */ + public String getSubtitle() { + return subtitle; + } + /** * @return the timeAxisLabel */ public String getDomainAxisLabel() { return this.domainAxisLabel; } -} \ No newline at end of file +}