Class JFreeChartBarDiagramObjectDrawer
- java.lang.Object
-
- com.openhtmltopdf.objects.jfreechart.JFreeChartBarDiagramObjectDrawer
-
- All Implemented Interfaces:
FSObjectDrawer
public class JFreeChartBarDiagramObjectDrawer extends java.lang.Object implements FSObjectDrawer
-
-
Constructor Summary
Constructors Constructor Description JFreeChartBarDiagramObjectDrawer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static java.util.Map<java.awt.Shape,java.lang.String>
buildShapeLinkMap(org.jfree.chart.ChartRenderingInfo renderingInfo, int dotsPerPixel)
java.util.Map<java.awt.Shape,java.lang.String>
drawObject(org.w3c.dom.Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel)
Perform your drawing.
-
-
-
Method Detail
-
buildShapeLinkMap
static java.util.Map<java.awt.Shape,java.lang.String> buildShapeLinkMap(org.jfree.chart.ChartRenderingInfo renderingInfo, int dotsPerPixel)
-
drawObject
public java.util.Map<java.awt.Shape,java.lang.String> drawObject(org.w3c.dom.Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel)
Description copied from interface:FSObjectDrawer
Perform your drawing.- Specified by:
drawObject
in interfaceFSObjectDrawer
- Returns:
- null or a map of Shape => URL-String to annotate the drawing with links. The shapes must be relative to (x,y), i.e. (0,0) is at the corner (x,y). Also they should not extend (width,height). The links are only exported into the PDF and also only respected by Acrobat Reader.
-
-