|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.statcvs.charts.ChartConfigUtil
Method Summary | |
static void |
configureChartBackgroungImage(java.lang.String chartName,
org.jfree.chart.JFreeChart chart)
Add a copyright notice on the bottom right part of the chart. |
static void |
configureCopyrightNotice(java.lang.String chartName,
org.jfree.chart.JFreeChart chart)
Add a copyright notice on the bottom right part of the chart. |
static void |
configurePlotImage(java.lang.String chartName,
org.jfree.chart.JFreeChart chart)
Add a copyright notice on the bottom right part of the chart. |
static void |
configureShapes(java.lang.String chartName,
org.jfree.chart.renderer.xy.XYItemRenderer renderer)
configure the shapes for the chart (if renderer is of type XYLineAndShapeRenderer) , tries properties: |
static void |
configureStroke(java.lang.String chartName,
org.jfree.chart.renderer.xy.XYItemRenderer renderer,
org.jfree.data.xy.XYDataset data)
configure the lines for the chart, tries properties: |
static java.awt.Color |
getBackgroundColor(java.lang.String chartName)
returns the background color from the config file, tries properties: |
static java.awt.Dimension |
getDimension(java.lang.String chartName,
java.awt.Dimension defaultDimension)
returns the PLOT color from the config file, tries properties: |
static java.awt.Color |
getPlotColor(java.lang.String chartName)
returns the PLOT color from the config file, tries properties: |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.awt.Color getBackgroundColor(java.lang.String chartName)
chart.<chartName>.backgroundColor chart.backgroundColor
chartName
- public static java.awt.Color getPlotColor(java.lang.String chartName)
chart.<chartName>.plotColor chart.plotColor
chartName
- public static java.awt.Dimension getDimension(java.lang.String chartName, java.awt.Dimension defaultDimension)
chart.<chartName>.width chart.width chart.<chartName>.height chart.height
chartName
- public static void configureStroke(java.lang.String chartName, org.jfree.chart.renderer.xy.XYItemRenderer renderer, org.jfree.data.xy.XYDataset data)
chart.<chartName>.lineStroke chart.lineStroke
chartName
- public static void configureShapes(java.lang.String chartName, org.jfree.chart.renderer.xy.XYItemRenderer renderer)
chart.<chartName>.showShapes chart.filledShapes
chartName
- public static void configureChartBackgroungImage(java.lang.String chartName, org.jfree.chart.JFreeChart chart)
chart.<chartName>.chartBackgroundImage.url chart.chartBackgroundImage.url chart.<chartName>.chartBackgroundImage.transparency chart.chartBackgroundImage.transparency (0-1, defaulted to 0.35)
chartName
- chart
- public static void configurePlotImage(java.lang.String chartName, org.jfree.chart.JFreeChart chart)
chart.<chartName>.plotImage.url eg file:///C:/project/statcvs/site/images/statcvslogo.gif chart.plotImage.url chart.<chartName>.plotImage.transparency chart.plotImage.transparency (0-1, default to 0.35)
chartName
- chart
- public static void configureCopyrightNotice(java.lang.String chartName, org.jfree.chart.JFreeChart chart)
chart.<chartName>.copyright chart.copyright
chartName
- chart
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |