de.laures.cewolf.cpp
Class RotatedAxisLabels

java.lang.Object
  extended by de.laures.cewolf.cpp.RotatedAxisLabels
All Implemented Interfaces:
ChartPostProcessor

public class RotatedAxisLabels
extends java.lang.Object
implements ChartPostProcessor

A cewolf post-processor for rotating and/or removing the labels on the X-Axis parameters: rotate_at: make the labels vertical skip_at: print only some of the labels (so they don't overlap) remove_at: don't print any labels Usage:

Author:
Rich Unger

Constructor Summary
RotatedAxisLabels()
           
 
Method Summary
 void processChart(java.lang.Object chart, java.util.Map params)
          Processes a generated chart.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RotatedAxisLabels

public RotatedAxisLabels()
Method Detail

processChart

public void processChart(java.lang.Object chart,
                         java.util.Map params)
Description copied from interface: ChartPostProcessor
Processes a generated chart. This method is called by the ChartProducer after a chart instance is generated and before it is rendered (if so). The ChartProducer is responsible for post processing a chart dependant on and only on the provided parameters. This means that the same parameters should result in the same post processings.

Specified by:
processChart in interface ChartPostProcessor
Parameters:
chart - the chart instnce. Concrete class depends on the rendering implementation. Currently a org.jfree.chart.JFreeChart is passed.
params - paramters passed to the postprocessor. These are defined in the JSP
See Also:
ChartPostProcessorTag


Copyright © 2009. All Rights Reserved.