<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<div>
<h2>How to change default chart colors</h2>
<p>This example demonstrates how you can set custom colors for charts.</p>
<p>
To change the chart sector's color, use the
<code>.fm-charts-color-n</code> selector, where <code>n</code> is a sector's
sequence number. In this example, we've specified colors for six sectors.
</p>
<p>
Notice the <code>fill: none</code> property in the
<code>.fm-charts-color-7</code> selector. This property was defined in order
to repeat our colors if there are more than six chart sectors.
</p>
<p>
<a
href="https://www.flexmonster.com/doc/customizing-pivot-charts/"
target="_blank"
>Visit our docs to learn more about customizing the charts</a>.
</p>
</div>
<div id="pivot-container"></div>