<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<div>
<p>
In this example, a column member for pie chart is preset using the
<a
target="_blank"
href="https://www.flexmonster.com/api/chart-options-object/#piedataindex"
>chart.pieDataIndex</a> property (line 32 in the JavaScript box).
</p>
<p>
You can change the column member in the code or via UI using the dropdown
with members.
</p>
</div>
<div id="pivot-container"></div>