The Billboard.js npm Portlet sample provides a portlet that uses the Billboard.js framework to render its output.
This portlet showcases the power of graphing by displaying a set of default charts and a more advanced custom chart. These are all built using Billboard.js.
This sample leverages the npm development workflow support.
To accomplish the bundling, the project’s build process relies on a
script inside its
"build": "babel --source-maps -d build/resources/main/META-INF/resources src/main/resources/META-INF/resources && liferay-npm-bundler"
There are two different versions of this sample, each built with a different build tool: