Ah yes - my chart was for a bar chart. What's your chart type? Isee it's a pie. Hold on.
Going to my coldfusion dir... Going to charting folder... Double clicking webcharts.bat On the welcome screen, I picked a Pie chart example. Hmm. So you want a pound sign on the mouse overs for the pie slices? On Thu, May 19, 2011 at 3:30 PM, Jenny Gavin-Wear <jenn...@fasttrackonline.co.uk> wrote: > > From posting on another forum: > "There are 2 ways to reference the web chart XML in the cfchart tag. > Firstly, > you can copy the XML file to the chart styles folder which will be somethinf > like C:\CFusionMX\charting\styles, when using this method you do not need > the > .xml extension:-" > But I find this is not very portable, and just gives you something else to > remember to move during deployment. So I use the second way which is to > reference it in exactly the same way as you include a file with cfinclude:- > <cfchart style="../myCharts/thisStyle.xml".....................> > > Says to reference the location of the style.xml in the same way a cfinclude > is used. > > From Livedocs: > http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_c_05. > html > Says to format cfchart either use the .xml OR in the tag, can't do both. > > Then I got an invalid element for: > <groupStyle> > <format pattern="#,##0.###"/> > </groupStyle> > > So I removed that, and got: > The chart type specified in the style is not the correct type for the > chartserie(s) specified > > contents of myStyle.xml: > ============================= > <?xml version="1.0" encoding="utf-8"?> > <frameChart is3D="true"> > <yAxis scaleMin="0"> > <labelFormat style="Currency" pattern="#,##0.00"> > <locale lang="en" country="GB" variant=""/> > </labelFormat> > <parseFormat pattern="#,##0.###"/> > </yAxis> > </frameChart> > > in page: > ============== > <cfchart style="myStyle.xml"> > <cfchartseries type="pie" itemcolumn="catmainDescr" > valuecolumn="grandTotalPrice" query="MainCats" > serieslabel="catmainDescr"></cfchartseries> > </cfchart> > > closer, i think, but not there yet ... > No virus found in this outgoing message. > Checked by AVG - www.avg.com > Version: 9.0.901 / Virus Database: 271.1.1/3646 - Release Date: 05/18/11 > 19:34:00 > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344720 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm