Class SVGRenderer

java.lang.Object
org.bootchart.renderer.Renderer
org.bootchart.renderer.SVGRenderer

public class SVGRenderer extends Renderer
PNGRenderer renders the boot chart as a PNG image.
  • Constructor Details

    • SVGRenderer

      public SVGRenderer()
  • Method Details

    • render

      public void render(Properties headers, BootStats bootStats, OutputStream os) throws IOException
      Render the chart.
      Specified by:
      render in class Renderer
      Parameters:
      headers - header properties to include in the title banner
      bootStats - boot statistics
      os - the output stream to write t
      Throws:
      IOException - if an I/O error occurs
    • getFileSuffix

      public String getFileSuffix()
      Description copied from class: Renderer
      Returns the file suffix to use for the rendered image.
      Specified by:
      getFileSuffix in class Renderer
      Returns:
      file suffix