<link rel="stylesheet" href="https://s3.amazonaws.com/flexmonster/2.3/demo.css">
<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/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/series-label.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<script src="https://code.highcharts.com/modules/accessibility.js"></script>
<div>
<h2>How to create a stacked column 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">Flexmonster will appear here</div>
<div id="highcharts-container"></div>