0 Replies Latest reply on Dec 18, 2014 2:09 AM by pitchav

    cfchart and JSON string representation

    pitchav

      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 ?