public class EnhancedChartComponent extends ChartComponent implements ModelChangeListener(Code)
Started as an exact copy of com.tonbeller.jpivot.chart.ChartComponent. Needed
to enhance the render functionality to handle different series colors and palettes.
There was no way to overload, override that functionality without copying a significant amount
of the class, so here is a complete copy. Will likely evolve into something quite different.
Inner Class :public class jpivotPieURLGenerator extends StandardPieURLGenerator
Inner Class :public class jpivotCategoryURLGenerator extends StandardCategoryURLGenerator
Inner Class :class DrillThroughHandler implements RequestListener
writeImageMap(String name, ChartRenderingInfo info, boolean useOverLibForToolTips) Writes an image map as a String
This function has been requested to be added to jfreechart
Also requires slight change to ChartEntity.getImageMapAreaTag()
to produce valid xml tag and use & entity in urls.
Entry point for producing charts, called by wcf render tag.
Produces a jfreechart dataset from olap model, then creates a chart and
writes it to the servlet container temp directory.
Returns a DOM document for Renderer to transform into html.
Requires that jfreechart servlet is installed in this application context.
setAxisFontName
public void setAxisFontName(String axisFontName)(Code)
Parameters: axisFontName -
setAxisFontSize
public void setAxisFontSize(int axisFontSize)(Code)
Parameters: axisFontSize -
setAxisFontStyle
public void setAxisFontStyle(int axisFontStyle)(Code)
Parameters: axisFontStyle -
setAxisTickFontName
public void setAxisTickFontName(String axisTickFontName)(Code)
Parameters: axisTickFontName -
setAxisTickFontSize
public void setAxisTickFontSize(int axisTickFontSize)(Code)
Parameters: axisTickFontSize -
setAxisTickFontStyle
public void setAxisTickFontStyle(int axisTickFontStyle)(Code)
Writes an image map as a String
This function has been requested to be added to jfreechart
Also requires slight change to ChartEntity.getImageMapAreaTag()
to produce valid xml tag and use & entity in urls.
Diffs sent to jfreechart project - so hopefully this will be in there soon
Parameters: name - the map name. Parameters: info - the chart rendering info. Parameters: useOverLibForToolTips - whether to use OverLIB for tooltips(http://www.bosrup.com/web/overlib/).