Chart extensions are written in JavaScript. The visual part of a visualization can be drawn with HTML, Canvas, or SVG. Extensions can include external CSS and JS libraries (such as d3), which can be used to build almost any visualization. The WebFOCUS Extension API is limited to new, complete chart types only. It is not possible to add features to existing chart types, and it is not possible to modify or extend parts of WebFOCUS outside of the chart area allocated to your extension.
This chapter summarizes the process of writing, configuring, and installing a chart extension. Detailed instructions can be found on the Information Builders GitHub site:
https://github.com/ibi/wf-extensions-chart
WebFOCUS extensions must be placed in the extensions folder under the web_resource folder of your WebFOCUS installation. By default, this is the following location:
c:\ibi\install_dir\config\web_resource\extensions
where:
Is your WebFOCUS installation directory. For example, the default installation directory is WEBFOCUS82 for WebFOCUS 8.2.
Several sample chart extensions have already been installed in the extensions folder so that you can see their code, their structure, and how they are accessed in the WebFOCUS tools.
Note: The user installing the extension must know how to write JavaScript code for what the chart extension needs to generate. The GitHub site documents how to make the extension conform to the WebFOCUS API and how to install the extension in the WebFOCUS chart library. It does not describe how to write JavaScript code.
WebFOCUS | |
Feedback |