<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/series-label.js"></script>
<script src="https://code.highcharts.com/12.5.0/modules/exporting.js"></script>
<script src="https://code.highcharts.com/12.5.0/modules/export-data.js"></script>
<script src="https://code.highcharts.com/12.5.0/modules/accessibility.js"></script>
<div>
<h2>How to create a stacked column + line chart with multiple series</h2>
<p>
Flexmonster Connector for Highcharts can prepare your data for the
<a
href="https://www.flexmonster.com/doc/integration-with-highcharts/#!supported-charts"
target="_blank"
>predefined set of charts</a>. To create a chart that's not in this list,
you need to preprocess your data manually. It can be done using the
<a
href="https://www.flexmonster.com/doc/integration-with-highcharts/#!prepareDataFunction"
target="_blank"
>prepareDataFunction</a> provided by the Connector for Highcharts.
</p>
<p>
In this example, we've created a stacked column + line chart with multiple
series. Check out lines 68-244 in the JavaScript box to see how the
<code>prepareDataFunction</code> is defined for this chart.
</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="highcharts-container"></div>