harkirat singh
harkirat singh

Reputation: 181

Coldfusion 10 cfchart/ZingChart not accepting pie chart detach property

I am trying to create a pie chart that expands a pie slice when it is clicked as shown in this example. Below is my ColdFusion code which, according to the ZingChart docs, allows a detach property to be set to true that should allow this behavior. It does not seem to be working however. The line-style property that I set works but not the detach property. Any help would be appreciated. Thanks!

<cfset plot = {"line-style":"dotted","detach": "true"}>
<cfchart format="html" title="Sales Report"  plot="#plot#">
    <cfchartseries type="pie">
        <cfchartdata item="2012" value="25">
        <cfchartdata item="2013" value="25">
        <cfchartdata item="2014" value="25">
        <cfchartdata item="2015" value="25">
    </cfchartseries>
</cfchart> 

Upvotes: 3

Views: 217

Answers (1)

nardecky
nardecky

Reputation: 2631

Full disclosure, I'm a member of the ZingChart team.

The detached property does not work because the build cfcharts currently uses is not up to date with the build that the detached property was added.

Upvotes: 3

Related Questions