In this walk-through tutorial, you will export the bar chart with the Community Graphics Generator (CGG) using the demoDashboard CDE dashboard
created in the Create a dashboard using RequireJS
tutorial. To use CGG, open an existing CDE dashboard for editing, and select which charts in the dashboard you want to render as CGG charts.
By default, CGG exports images in the Portable Network Graphics
format (PNG). If you want CGG to export the image in the Scalable Vector Graphics format
(SVG), then change the outputType in the URL query string to
svg as shown
below.
http://localhost:8080/pentaho/plugin/cgg/api/services/draw?script=/public/demoDashboard/demoDashboard_chartComponent.js&outputType=svg