Using Special Characters |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FusionCharts Querystring allows us to use special characters in our charts. To use characters other than alphabets and numerical digits and , . - + we must remain a bit cautious. Some characters like ;(or user-defined delimiter), =, [, ], & ,#,must never be included as value of parameters or data or anywhere other than their syntactical use.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In FileMaker for Mac | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?v=3 &chart=[chartType=Column2D;chartWidth=350;chartHeight=240] &chartParams=[numberSuffix=%25] &labels=Jeff;Mary;Shirley &data=120;198;211 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In FileMaker for Windows or in Querystring/URL Validator | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?v=3 &chart=[chartType=Column2D;chartWidth=350;chartHeight=240] &chartParams=[numberSuffix=%2525] &labels=Jeff;Mary;Shirley &data=120;198;211 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Please note that the special characters are twice encoded in FileMaker for Windows. Hence, we would separately list the encoded form that is to be used in FileMaker for mac and FusinCharts for Windows or FusionCharts Querystring/URL Validator. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
we can add '%' as Number Suffix by specifying numberSuffix=%25. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Similary, to use € as our currency we must set the number prefix thus: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In FileMaker for Mac | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?v=3 &chart=[chartType=Column2D;chartWidth=350;chartHeight=240] &chartParams=[numberPrefix=%E2%82%AC] &labels=Jeff;Mary;Shirley &data=120;198;211 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In FileMaker for Windows or in Querystring/URL Validator | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?v=3 &chart=[chartType=Column2D;chartWidth=350;chartHeight=240] &chartParams=[numberPrefix=%25E2%2582%25AC] &labels=Jeff;Mary;Shirley &data=120;198;211 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Take a look at the output: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Note that FusionCharts Library (FusionCharts Library.fp7) provides you with scripts that can encode special characters in FusionCharts Querystring format. Please refer to FusionCharts Library section for more details on scripts - EscapeAllSpecialCharacters & EscapePercentAndForwardSlashCharacters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Here is a list of Special Characters and their corresponding encoded forms for reference. We need to replace our desired special character with the corresponding encoded form in FCQS. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|