Package org.bootchart.renderer
Class SVGRenderer
java.lang.Object
org.bootchart.renderer.Renderer
org.bootchart.renderer.SVGRenderer
PNGRenderer renders the boot chart as a PNG image.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the file suffix to use for the rendered image.voidrender(Properties headers, BootStats bootStats, OutputStream os) Render the chart.
-
Constructor Details
-
SVGRenderer
public SVGRenderer()
-
-
Method Details
-
render
Render the chart.- Specified by:
renderin classRenderer- Parameters:
headers- header properties to include in the title bannerbootStats- boot statisticsos- the output stream to write t- Throws:
IOException- if an I/O error occurs
-
getFileSuffix
Description copied from class:RendererReturns the file suffix to use for the rendered image.- Specified by:
getFileSuffixin classRenderer- Returns:
- file suffix
-