It is easy to create a new chart by using the IBM Spectrum LSF Explorer Database Schema.
The following example is to create a new chart showing the Number of Jobs by User or Queue.
The data sources are automatically created at installation by the installer and are defined in EXPLORER_SERVER_TOP/lsfsuite/ext/explorer/server/config/config.json, where EXPLORER_SERVER_TOP is the top-level installation directory on the IBM Spectrum LSF Explorer server. The default data source is "ds1".
In calculated field management page, click Create button to create new calculated field. Enter the calculated field Name and the Formula. Hover the cursor on the "question"icon to see the supported formula syntax. In this example, we create a field named avg_mem_in_mb indicating the average memory usage in MB based on original avg_mem field whose unit is KB. Select Numeric as data type and click Save. The created calculated field can be used same as original fields in dimension/measure/filter.
Examine the preview of your chart to make sure it meets your requirements and return to the previous screen to make any modifications.
Your new chart is now available under the chosen Category (in our example, Sample) in the Charts section of IBM Spectrum LSF Explorer.