FusionCharts ASP 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 a default delimiter. To replace the default delimiter with a new character, simply call setParamDelimiter() function and pass the new delimiter character through it as shown in the code below: |
Call 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: |
<%@LANGUAGE="VBSCRIPT"%> ' Set colon (:) as delimiter dim strParam ' Add chart values and category names
' Set semicolon (;) as delimiter <% </body> |
The code shows how we can use different delimiters in our programs provided the delimiter is declared before being used. |