public class ChartUtil extends Object
Constructor and Description |
---|
ChartUtil() |
Modifier and Type | Method and Description |
---|---|
static Class |
getTimePeriodClass(ChartFactory.PeriodName periodName)
Note: This could be made part of the PeriodName Enum, however I don't want to leak any JFreeChart classes
out of this package, which is why I'd like to keep it in this Util.
|
static void |
setDefaults(org.jfree.chart.JFreeChart chart,
I18nHelper i18nHelper) |
static void |
setupDomainAxis(org.jfree.chart.axis.CategoryAxis domainAxis) |
static void |
setupDomainAxis(org.jfree.chart.axis.ValueAxis domainAxis) |
static void |
setupLegendTitle(org.jfree.chart.title.LegendTitle legend) |
static void |
setupPlot(org.jfree.chart.plot.CategoryPlot plot) |
static void |
setupPlot(org.jfree.chart.plot.Plot plot) |
static void |
setupPlot(org.jfree.chart.plot.XYPlot plot) |
static void |
setupRangeAxis(org.jfree.chart.axis.ValueAxis rangeAxis) |
static void |
setupTextTitle(org.jfree.chart.title.TextTitle title) |
public static Class getTimePeriodClass(ChartFactory.PeriodName periodName)
periodName
- The Period enum to convert to JFreechartpublic static void setDefaults(org.jfree.chart.JFreeChart chart, I18nHelper i18nHelper)
public static void setupPlot(org.jfree.chart.plot.Plot plot)
public static void setupPlot(org.jfree.chart.plot.CategoryPlot plot)
public static void setupPlot(org.jfree.chart.plot.XYPlot plot)
public static void setupRangeAxis(org.jfree.chart.axis.ValueAxis rangeAxis)
public static void setupDomainAxis(org.jfree.chart.axis.CategoryAxis domainAxis)
public static void setupDomainAxis(org.jfree.chart.axis.ValueAxis domainAxis)
public static void setupTextTitle(org.jfree.chart.title.TextTitle title)
public static void setupLegendTitle(org.jfree.chart.title.LegendTitle legend)
Copyright © 2002-2019 Atlassian. All Rights Reserved.