Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Properties with CFOBJECT

Status
Not open for further replies.

ToonKayser

Programmer
Jun 20, 2000
23
DE
I downloaded the pie-chart server (<A HREF=" TARGET="_new"> and installed it on my NT. Now I want to set some properties<br>as told in <A HREF=" TARGET="_new"> <br>There are 3 properties I have to set:<br>see this asp-code:<br>&nbsp;'add 3 slices to the pie chart and specify values (sizes), slice labels and legend labels<br>objPieChart.AddData 25, &quot;Label1&quot;,&quot;Slice1”<br>objPieChart.AddData 25, &quot;Label2&quot;,&quot;Slice2”<br>objPieChart.AddData 25, &quot;Label3&quot;,&quot;Slice3”<br><br>How can I realize this in ColdFusion.<br>Can anybody help me with this?<br><br>Toon Kayser
 
&quot;as told in <A HREF=" TARGET="_new"> &quot; ... did you try this :<br>&nbsp;<br>&nbsp;objPieChart.AddData 25, &quot;Label1&quot;,&quot;Slice1”<br>-&gt; <br>&lt;cfset objPieChart.size=25&gt; <br>&lt;cfset objPieChart.label=&quot;label1&quot;&gt; <br>&lt;cfset objPieChart.legend=&quot;slice1&quot;&gt;<br><br>(not sure of the properties name here)<br><br>
 
Thank you for your answer, but I found out already.<br>it's done this way:<br>&lt;cfset pie.AddData(25,
 
Something went wrong.<br>I already found out how it's done:<br>&lt;cfset pie.AddData(25,&quot;Erste&quot;,&quot;1&quot;,-1,&quot;&quot;)&gt;<br>&lt;cfset pie.AddData(25,&quot;Zweite&quot;,&quot;2&quot;,-1,&quot;&quot;)&gt;<br>&lt;cfset pie.AddData(65,&quot;Dritte&quot;,&quot;3&quot;,-1,&quot;&quot;)&gt;<br>Best regards, Toon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top