Skip to main content

Data Visualization

Create Custom Visualizations for BI Dashboards

Wyn Enterprise now supports the ability for developers to create their own custom visualizations to use in WynDashboards. Developers can take advantage of our new visualization SDK to define the specifications of any custom visualization your enterprise requires to bring your data to life.

The series of in-house custom visualizations are built by our own team for public availability.

Wave Chart

The first custom visualization available for download is our aptly named "Wave Chart."

This visualization allows you to show the percentage achievement of a target. However, this custom visualization is animated in such a way to show the visual's shape filled with a "liquid," which rises and falls based on the percentage achievement.

The below Overall Equipment Effectiveness (OEE) manufacturing dashboard is using the Wave Chart to visualize KPIs (overall equipment effectiveness, availability, performance, and quality).

Here, all of these KPIs are brought together into one interactive dashboard.

 
The Gantt Chart

The Gantt Chart is the newest data visualization in our custom collection.

A Gantt Chart is a bar chart that provides a visual view of tasks scheduled over a period of time. Gantt Charts are most commonly used in project management and are among the most popular and practical ways of showing activities (tasks or events) displayed against time. 

Waterfall Chart

Another custom visualization available for download is the Waterfall chart.

This visualization shows the cumulative result of sequential positive and negative values. Typically, these values are categorical or time-based. This visualization is often used in finance to show how NET values are calculated from a starting value.

Running Wyn Custom Data Visualizations

The steps to run any of the custom visualizations will always be the same for running our publicly available custom visualizations:  

  1. Install wyn-visual-tools globally. Run' npm install @grapecity/wyn-visual-tools -g' from the command prompt.  
  2. Change the directory to the sample's location and run 'npm install' to install all required modules.  
  3. Run' wyn-visual-tools develop' to start the development server.  
  4. Open the Wyn Enterprise portal in your browser. Go to the Admin Portal -> Dashboards Settings and enable developer mode.  
  5. Go back to the Documents Portal and create a new dashboard. Then, add a "Dev Tools" scenario from the Custom Visualization tab on to the dashboard design surface.  
  6. Develop your custom visualization using visual API. We recommend developing it using TypeScript.  
  7. Click the Refresh button on the action bar of the Dev Tool visualization to reload the visualization.  

To generate the .viz file:  

  1. Update the version in package.json and visual.json before release.  
  2. Pack the visual with build tools. Run' wyn-visual-tools package'. This command will generate a file with ".viz" extension. This is the custom visualization which will be uploaded to Wyn.  
  3. Upload the .viz file to Wyn Enterprise using the Resource Portal.  
  4. The visual will now appear under Custom Visualizations in the Dashboard Designer.  
Optional Steps:
  1. Edit visual.json to include some meta information about the visual.  
  2. Edit capabilities.json to add configuration options around data binding, inspector properties, and action bar.  
  3. Add i18n resource to i18nResources folder. 
  4. Add image to the assets folder.  
Understand the Story Behind Your Data

Wyn is a web-based BI and data analytics platform that provides greater insight into your data.

Wyn offers built-in tools for report and dashboard creation, data governance, security integration, embedded BI, automated document distribution, and a business-user-friendly interface for self-service business intelligence.

About the author

Ethan Conner

As a Technical Account Manager in GrapeCity’s Wyn Enterprise team, Ethan loves the collaborative, team-oriented culture. In his spare time, he enjoys playing guitar and drums, learning new technologies, and reading. You can find him on LinkedIn.
Back to top