<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<script src="https://cdn.flexmonster.com/lib/flexmonster.googlecharts.js"></script>
<script src="https://www.gstatic.com/charts/loader.js"></script>
<div>
<h2>How to apply Flexmonster's number formatting to Google Charts</h2>
<p>
When integrating with Google Charts, you can apply Flexmonster's number
formatting to the created chart. It's possible with our Connector for Google
Charts and the
<a
href="https://www.flexmonster.com/doc/integration-with-google-charts/#number-formatting"
target="_blank"
>methods it provides</a>. These methods convert the component's number format
to a Google Charts' format string.
</p>
<p>
Switch to the JavaScript box and see how number formatting is applied to
Google Charts:
</p>
<ul>
<li>
Lines 74-76 - setting the number format for <code>Price</code> and
<code>Discount</code> fields.
</li>
<li>Line 89 - setting the number format for hAxis number labels.</li>
</ul>
<p>
<a
href="https://www.flexmonster.com/doc/integration-with-google-charts/"
target="_blank"
>Visit our docs to learn more about the integration with Google Charts</a>.
</p>
</div>
<div id="pivot-container"></div>
<div id="chartContainer"></div>