## FusionCharts PHP Class API > Advanced Usage > Chart Attributes
FusionCharts PHP Class API lets you configure a chart by providing various chart attributes.
All chart attributes are provided using either of the 2 functions - setChartParam or setChartParams. setChartParam adds a single attribute, while setChartParams provides a list of chart attributes separated by delimiter (default delimiter is ;).
Using setChartParam
We can use setChartParam to set a single chart attribute. We will pass the attribute name and its value as two string parameters. For example, to add caption and subCaption attributes, we will do this:
$FC->setChartParam("caption","Monthly Sales"); $FC->setChartParam("subCaption","July");
Using setChartParams
We can use setChartParams to set any number of chart attributes. The attributes and corresponding values are to be put in a string list, each attribute separated by the delimiter (default is ;). For example, to add caption and subCaption attributes we will do this:
$FC->setChartParams("caption=Monthly Sales;subCaption=July");
Using any of the above two functions you can provide various chart attributes as listed under <chart> element in each Chart's page in Chart XML Reference Secion.