<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<script src="https://cdn.flexmonster.com/lib/flexmonster.highcharts.js"></script>
<script src="https://code.highcharts.com/12.5.0/highcharts.js"></script>
<script src="https://code.highcharts.com/12.5.0/modules/drilldown.js"></script>
<script src="https://code.highcharts.com/12.5.0/modules/accessibility.js"></script>
<div>
<h2>How to create a drillable bar chart</h2>
<p>
In integrations with charting libraries, Flexmonster serves as a data
provider. If the chosen charting library supports drilling, you can create a
drillable chart filled with data from Flexmonster.
</p>
<p>
The Highcharts library
<a
href="https://www.highcharts.com/docs/chart-concepts/drilldown"
target="_blank"
>has drilling functionality</a>. To create a drillable Highcharts chart, use the
<a
href="https://www.flexmonster.com/doc/integration-with-highcharts/#withDrillDown"
target="_blank"
>withDrilldown</a> option, which is provided by Flexmonster Connector
for Highcharts. Specify <code>withDrilldown: true</code> (line 38 in the
JavaScript box), and the Connector will prepare your data for a drillable chart.
</p>
<p>
In the below chart, you can drill down the <code>Country</code> level to see
more details.
</p>
<p>
<a
href="https://www.flexmonster.com/doc/integration-with-highcharts/"
target="_blank"
>Visit our docs to learn more about the integration with Highcharts</a>.
</p>
</div>
<div id="pivot-container"></div>
<div id="chartContainer"></div>