Skip to main content
pitchav
Participant
December 18, 2014
Question

cfchart and JSON string representation

  • December 18, 2014
  • 0 replies
  • 306 views

I am trying to pass a JSON string representation for the attribute "plotarea" in this way :

<cfchartchartWidth="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 ?

    This topic has been closed for replies.