## FusionCharts PHP Class API > Advanced Usage > Setting Delimiter

Delimiter is the character used to separate two consecutive attributes within the chart attribute list. FusionCharts uses semicolon (;) as the default delimiter. To replace the default delimiter with a new character, simply call setParamDelimiter() function and pass the new delimiter character though it as shown in the code below:
$FC->setParamDelimiter("$");
Now you can use '$' as delimiter in the following statements of your program:
$strParam="bgColor=CC66CC$canvasBgColor=BC6699$showBorder=1$borderColor=00FF00";
Consider the code below:
<?php # Include FusionCharts PHP Class include('class/FusionCharts_Gen.php'); # Create FusionCharts PHP object $FC = new FusionCharts("MSColumn3DLineDY","350","300");
# set the relative path of the swf file
$FC->setSWFPath("FusionCharts/");

# Set chart attributes
$strParam="caption=Weekly Sales;subcaption=Comparison;xAxisName=Week; pYAxisName=Revenue;sYAxisName=Total Quantity;decimalPrecision=0;";
# Note that we have used semicolon (;) as the delimiter here

$FC->setChartParams($strParam);

...
...

# Set colon (:) as delimiter
$FC->setParamDelimiter(":");

# Add a new dataset with dataset parameters
$FC->addDataset("This Month","numberPrefix=$:showValues=0");
# Please note that in the above line colon (:) has been used to separate consecutive attributes
# Add chart data for the above dataset
$FC->addChartData("40800");
$FC->addChartData("31400");
$FC->addChartData("26700");
$FC->addChartData("54400");

# Set hash (#) as delimiter
$FC->setParamDelimiter("#");

# Add aother dataset with dataset parameters
$FC->addDataset("Previous Month","numberPrefix=$#showValues=0");
# Please note that in the above line hash (#) has been used as delimiter)
# Add chart data for the second dataset
$FC->addChartData("38300");
$FC->addChartData("28400");
$FC->addChartData("15700");
$FC->addChartData("48100");

...
...

<?
# Render Chart
$FC->renderChart();

?>
</body>
</html>

The code shows that we can use different delimiters in our programs provided the delimiter is declared before using.