<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<script src="https://cdn.flexmonster.com/lib/flexmonster.amcharts.js"></script>
<script src="https://cdn.amcharts.com/lib/5/index.js"></script>
<script src="https://cdn.amcharts.com/lib/5/xy.js"></script>
<script src="https://cdn.amcharts.com/lib/5/themes/Animated.js"></script>
<script src="https://cdn.amcharts.com/lib/5/themes/Kelly.js"></script>
<div>
<h2>How to create a bar chart</h2>
<p>
This example shows how to create a bar chart using
<a
href="https://www.flexmonster.com/api/all-methods-amcharts/"
target="_blank"
>Flexmonster Connector for amCharts</a>.
</p>
<p>In the JavaScript box, you can see how to:</p>
<ul>
<li>Create a chart (lines 44-58).</li>
<li>Apply Flexmonster's number formatting to amCharts (line 66).</li>
<li>Bind a Category axis to the chart's data (line 145).</li>
<li>Bind series to the chart's data (lines 146-147).</li>
</ul>
<p>
<a
href="https://www.flexmonster.com/doc/integration-with-amcharts/"
target="_blank"
>Visit our docs to learn more about the integration with amCharts</a>.
</p>
</div>
<div id="pivotContainer">The component will appear here</div>
<div id="amcharts-container"></div>