Manipulate chart cosmetics using JavaScript
FusionCharts can be customized in unlimited ways by providing necessary configuration through the data XML (or JSON). The primary configuration options reside as attributes within the<chart>
tag. These attributes, such as caption, subcaption, numberPrefix, bgColor
, and many more, are referred to in our realm as chart attributes.
Once your chart has been rendered with your customized set of chart attributes, these can be easily modified by using the function setChartAttribute
of each chart.
For our audit report page, we are going to provide Harry with a subtle feature to hide the data values that are being displayed on every column. With this, he can have an unobstructed view to compare each day's sale.