Copy link to clipboard
Copied
I am trying to pass a JSON string representation for the attribute "plotarea" in this way :
| <cfchart | chartWidth="800" | ||
| chartHeight="600" | |||
| showLegend="yes" | |||
| format="png" | |||
| title="Commandes" | |||
| plotarea='#{"margin-top":"dynamic"}#' > |
But I got following error :
Error casting an object of type to an incompatible type. This usually indicates a programming error in Java, although it could also mean you have tried to use a foreign object in a different way than it was designed.
Is there any documentation explaining how to use "JSON string representation" in cfchart attributes ?
Have something to add?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more