Charts Panel

The Charts Panel can display various data-driven charts such as bar and pie charts. The data can either originate from the SPARQL Results Table Panel or from instances of dash:Chart that are associated with the class(es) of the current selected asset via dash:chart.

To create your own pre-defined charts you need to create instances of either dash:ScriptChart or dash:SPARQLChart. See the descriptions of these classes on how to use them. Then link these charts to the classes of the instances for which they apply using the property dash:chart. In SPARQL-based charts, the current asset can be queried using the variable $this. In ADS Script-based charts, the current asset can be queried using the variable focusNode.

Toolbar Features

  • Chart selection box is displayed in the upper left corner if there are pre-defined charts available for the currently selected asset.

  • Chart type selection box can be used to switch between the available chart types such as bar charts vs pie charts. In most cases, it is possible to switch between chart types using the same data. But not all data sources may be suitable for the given chart types.

See Also

Further Reading on TopBraid