JSViz (JavaScript Visualization) Framework for TIBCO Spotfire®

The JavaScript Visualization Framework, or JSViz, is a Custom Extension for TIBCO Spotfire that allows users to create their own visualizations using JavaScript libraries, such as d3, but still allow them to seamlessly integrate with the Spotfire platform.

Compatible Products

TIBCO Spotfire®

Provider

TIBCO Software

Supported Versions

JSViz 2019

  • Release 3.5 is for Spotfire 7.5 onwards

All Releases can be downloaded from the Releases tab 

License

TIBCO Component Exchange License

Overview

Although d3 was an initial driver for implementing the custom extension, it can actually work with any JavaScript based code.

There are now a number of JavaScript libraries available for creating rich interactive graphics within a standard web browser.  One such is D3 which has a large library of example visualizations available on the D3 Website.  There are many others, including Highcharts and Google Charts.

See the Reference Info tab for more details

License Details

Release(s)

Release 3.5

Published: February 2019

Release 3.5 is compatible with Spotfire 7.5 onwards.

Change Notes

February 15th 2019, Release 3.5.0.0

* New: Added support for ordering data
* New: Added mode for only supplying JSON data on request

* New Sample: Virtual Table - demonstrates new data on request mode

* Fixed: Added new Icon that displays correctly in Spotfire X visualization list
* Fixed: JSViz logging now works during printing, and export operations
* Fixed: Modifying Column in Spotfire caused Limit By Expression to return incorrect data

* Deprecated: Use of wait() function for exporting and printing.  Use SetBusy() instead.

*******************************************************************************************

July 6th 2018, Release: 3.4.0.13

* Fixed: Creating an invalid data configuration no longer causes Spotfire to crash
* Fixed: Deleting multiple tables at once no longer causes Spotfire to crash
* Fixed: Setting an invalid Config section no longer causes Spotfire to crash

*******************************************************************************************

March 6th 2018, Release: 3.4.0.12

* Fixed: This release specifically addresses the removal of log4net v1.x in Spotfire 7.12.
* Fixed: Visualizations using "Limit By Expression" randomly appear blank when first opened
* Fixed: Doughnut Chart sample would randomly appear blank when first opened.  This was due
         to a coding error in the resize() method.

*******************************************************************************************

August 29th 2017, Release: 3.4.0.10

* New: Allow use of Document Property to supply complete HTML for visualization
       This is specifically to support the use of Shiny R visualizations

*******************************************************************************************

August 14th 2017, Release: 3.4.0.9

* New: JSVisualizationAdminLicense now controls whether user can edit properties of an
       existing visualization

* Fixed: Error "Attempt to remove a non existing backwards pointer.." when opening
         certain JSViz that used Document Properties

*******************************************************************************************

August 3rd 2017, Release: 3.4.0.8

* Fixed: Spotfire would hang when generating an image of a visualization that used 
         Document Properties in a linked item url
 

* Fixed: This release specifically addresses the removal of log4net v1.x in Spotfire 7.12.
* Fixed: Visualizations using "Limit By Expression" randomly appear blank when first opened
* Fixed: Doughnut Chart sample would randomly appear blank when first opened.  This was due
         to a coding error in the resize() method.

There are currently no reviews for this content.

Why not be the first to review it - click here to login

JavaScript Visualization Framework - JSViz and TIBCO Spotfire®

 


====================================================================================

Important Announcement

Users upgrading to or installing Spotfire 7.12 or later will need to download and install the latest version of JSViz.  See the "Known Issues" section for more details.

====================================================================================


Introduction

Within the TIBCO Spotfire® community, one area of discussion that crops up continually is that of new visualization types.  Customers often ask for a visualization type during a POC that Spotfire does not currently support.  Others ask for simple customizations of existing visualizations, such as moving labels around, that sound straightforward but are almost impossible to implement without extensive coding.

There are now a number of JavaScript libraries available for creating rich interactive graphics within a standard web browser.  One such is D3 which has a large library of example visualizations available on the D3 Website.  There are many others, including Highcharts, ZoomCharts and Google Charts.

Sample JSViz Visualizations

The JavaScript Visualization Framework, or JSViz, is a Custom Extension for TIBCO Spotfire that allows users to create their own visualizations using JavaScript libraries such as d3 but still allow them to seamlessly integrate with the Spotfire platform.  Note that although d3 was an initial driver for implementing the custom extension, it can actually work with any JavaScript based code.

Samples

Included with the framework are a number of sample charts including:


Download JSViz - Versions

JSViz can be downloaded from the TIBCO Exchange

JSViz is compatible with Spotfire 7.5 and later.

For an overview of the different extension and customization options that the Spotfire platform provides, see Extending TIBCO Spotfire.


API

The documentation for the .NET API is now available online here.  This API can be used within Spotfire via IronPython or within a .NET Spotfire Custom Extension to configure JSViz visualizations.

The examples provided with JSViz also include a comprehensive scripting example showing how to use IronPython to create and configure JSViz charts.

 


    Automating Plot Setup

    It is possible to automate the creation of JSViz instances from the tool bar or the tools menu, by creating a custom extension that leverages the JSViz API:

    Custom windows forms property pages are now available from 3.5. Developers who have made use of the one-click visualisation extension of pre 3.5 may need to update their add-in project to actively include any of the original property pages of JSViz property dialog as they no longer are displayed by default.


    Articles on TIBCO Community

    There are a number of articles on TIBCO Community that describe using JSViz to create different types of custom visualizations and other solutions:

    https://community.tibco.com/wiki/displaying-terr-graphics-tibco-spotfire-using-jsviz

    https://community.tibco.com/wiki/tibco-spotfire-funnel-chart-using-jsviz

    https://community.tibco.com/wiki/how-create-network-chart-visualization-tibco-spotfire-using-jsviz-and-zoomcharts


    Help and Support

    Please note that JSViz is not supported through support.tibco.com.  In the event of issues or to get help, please post questions in the TIBCO Community Forum here:

    https://community.tibco.com/answers

    Make sure that you add the tag "JSViz" so that it will be visible.
     


    Licensing

    JSViz is shared with the TIBCO Community for free use by customers and partners under the  TIBCO Component Exchange License.
     


    Known Issues

    • There is a known issue with JSViz 3.4.0.13 occasionally showing incorrect results when using a Limit By Expression statement. This will be addressed in the next release.

    • JSViz 3.4.0.12 will cause Spotfire to crash if an invalid data configuration is created.  Examples of invalid configurations include:

      -  Removing all Column Expressions in a group-by configuration

      -  Adding a non-aggregated Column Expression in a group-by configuration

      These issues are fixed in JSViz 3.4.0.13.

    • JSViz 3.4.0.13 or above is required when upgrading to or installing Spotfire 7.12 or later.  This is due to a clash in versions of log4net.dll between JSViz and Spotfire.  Versions of JSViz above 3.4.0.12 remove any dependancy on log4net.dll.  

    • Some users may encounter a problem when using JSViz with Spotfire 7.6.  This is only an issue with older releases of JSViz, 3.4.0.2 and older.  For detailed instructions see the following page: https://community.tibco.com/wiki/jsviz-problems-spotfire-76.  Spotfire 7.6 Hotfix 3 is also required.

    • JSViz visuals will work in Web Player and Automation Services as well as Spotfire Analyst (Professional).  Make sure to follow the installation instructions in the documentation.  Many people forget to update the Web Player after installing the plugin files.

    • There is an issue with the 3.4.0.8 build recently posted.  Please download and use a later version.

    • There is an issue with the resize logic in the doughnutchart.dxp sample which may cause the chart to occasionally appear empty when first opening the dxp file.  An updated version of the JSViz.js javascript file that resolves this issue can be downloaded from here.

    • JSViz is not supported on Spotfire Desktop (not to be confused with Spotfire Analyst).

     


    Simpler JS, Brunel

    Brunel is an open source Domain Specific Language designed specifically for interactive data visualisation. It allows coding complex Javascript D3 visualisations with as little as one line of code. Brunel can be integrated into Spotfire Javascript visualisations.

     


    View the Wiki Page