comparison artifacts/src/main/java/org/dive4elements/river/exports/AbstractChartGenerator.java @ 9186:eec4df8165a1

Implemented 'ShowLineLabel' for area themes.
author gernotbelger
date Thu, 28 Jun 2018 10:47:04 +0200
parents 1cc7653ca84f
children 4082b8429353
comparison
equal deleted inserted replaced
9185:4778333ea2cd 9186:eec4df8165a1
789 * @param isArea 789 * @param isArea
790 * true if the series describes an area and shall be rendered 790 * true if the series describes an area and shall be rendered
791 * as such. 791 * as such.
792 */ 792 */
793 private void applyThemes(final XYPlot plot, final XYDataset series, final int idx, final boolean isArea) { 793 private void applyThemes(final XYPlot plot, final XYDataset series, final int idx, final boolean isArea) {
794 if (isArea) { 794 if (isArea)
795 applyAreaTheme(plot, (StyledAreaSeriesCollection) series, idx); 795 applyAreaTheme(plot, (StyledAreaSeriesCollection) series, idx);
796 } else { 796 else
797 applyLineTheme(plot, series, idx); 797 applyLineTheme(plot, series, idx);
798 }
799 } 798 }
800 799
801 /** 800 /**
802 * Expands a given range if it collapses into one point. 801 * Expands a given range if it collapses into one point.
803 * 802 *

http://dive4elements.wald.intevation.org