Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 

Google Charts component for ManyWho

It is often useful in a Flow to show charts and graphs to the user. This component leverages the Google Charts library available here: https://developers.google.com/chart

Install

Place a copy of the custom component from the dist folder in a publicly accessible location.

At the bottom of your player code add the following script tag:

<script>
    var googleChartsLoaded = false;
</script>

In your player code add the following custom resources to the manywho object:

customResources: ['https://www.gstatic.com/charts/loader.js', '<web address of the custom component>'],

Usage

This component can be used as an alternative to the core chart component.

The Google chart type is controlled using a chart attribute with the value set to one of the following chart types:

  • pieHole
  • annotation
  • area
  • bar
  • bubble
  • calendar
  • candlestick
  • column
  • gauge
  • line
  • sankey
  • treemap

To render the chart with a 3D effect use the is3D attribute with the value set to true.

About

A component that allows you to create Google Charts

Resources

Releases

No releases published

Packages

No packages published