<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<script src="https://cdn.flexmonster.com/lib/flexmonster.googlecharts.js"></script>
<script src="https://www.gstatic.com/charts/loader.js"></script>
<div>
<p>
By default,
<a
href="https://www.flexmonster.com/api/all-methods-google-charts/"
target="_blank"
>the Connector for Google Charts</a>
prepares the data based on the current slice in Flexmonster Pivot. In this
example, the data for the slice is specified using the
<a
href="https://www.flexmonster.com/api/googlecharts-getdata/#options-slice"
target="_blank"
>options.slice</a
> parameter (lines 59-75 in the JavaScript box).
</p>
<p>
If <code>options.slice</code> is defined, the chart will not respond to
further slice changes on the grid, which means data shown on the chart will
be static.
</p>
</div>
<div id="pivot-container"></div>
<div id="googlechart-container" style="height:250px;"></div>