<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<p>
When the
<a
href="https://www.flexmonster.com/api/chart-options-object/#showonemeasureselection"
target="_blank"
>chart.showOneMeasureSelection</a> is set to <code>true</code>, the measures dropdown
is always visible, regardless of the number of measures in it.
</p>
<div class="switch-container compact">
<label class="switch">
<input type="checkbox" onclick="toggleControl()" checked />
<span class="slider round"></span>
</label>
<span class="text">Show dropdown with one measure</span>
</div>
<div id="pivot-container"></div>