These are the steps needed to reuse an existing Spotfire JSViz example and apply them to your data. This assumes that you have already installed the JSViz framework. https://community.spotfire.com/articles/spotfire/javascript-visualization-framework-jsviz-and-spotfire/
- Open a Spotfire session with your data.
- Open the JSViz example in a different Spotfire session and display it side-by-side.
-
In your data session, click on 'JS' icon from to the top menu or Insert (menu) >Visualization >JavaScript Visualization'. (displays a clean JS Viz)
- Click the 'Properties' icon (from top right corner if visual to open JSVizPropertiesDialog)
-
Click 'Data' (left panel), and then click the '+' icon and configure
-
General Data Settings:
- Data table (reference)
- Filtering Scheme (reference)
- Marking (reference)
- Limit data by: (option)
-
Column Definitions:
- Select Group-by Columns (see JS Viz example > JSVizPropertyDialog > Data > 'Edit' )
-
Selected Column Expressions (see JS Viz example) to determine how to compute items in visual
- The number of elements will depend on the JS Viz example (the Funel Plot example uses 2 items: the first is the label; the second is the calculation).
- 'Save Expression' > 'Close'
-
General Data Settings:
-
Click 'Library' (left panel)
- From JS Viz Example, open JSVizPropertyDialog > Library > 'Export to Clipboard'
- Return to your data session and click on JSVizPropertyDialog > Library > 'Import From Clipboard'
-
Click 'Contents' (left panel)
- Select the items in 'Available Content' and move them into the 'Used Content' in the same sequence as in the JS Viz example.
- Click Close.
Recommended Comments
There are no comments to display.