CFCHART Changes ?

I just discovered how to use the CFCHART in ColdFusion MX,
and I thought it looked great,at least as compared to the old
charting method supported by ColdFusion.
Then, in testing the charts in CF7, I find that the entire
format for Pie Charts has been turned around, placing the legend on
the top of the page, Pie chart at the bottom, and putting count
numbers around the edges of the PIE. There were no longer any
percentages showing anywhere, AND the numbers (counts) around the
outside of the pie were overwriting each other to the point of
being unintelligible, when the pie slices were small. It even lost
the ability to show the pie chart in sliced mode, as opposed to
solid.
Hey, the image was finer, but the loss of percentages and
readable counts easily outweighs any benefit of finer dithering.
What's up with this?
Is there any alternative that will present a pie chart,
sliced, with a legend that includes labels, counts, AND percentages
again?
Please let me know what's out there!

I don't want to expose the network share as a virtual directory in IIS.  Using the cfchart cache location allows CF to read/write while keeping the path to the images protected.  Unfortunately CF is able to write but when the request is load balanced to another server it cannot reference the cached chart name.

Similar Messages

  • How do I change the font size of a data point label on a cfchart?

    I know I can control the x axis and y axis font with the font="" attribute of the cfchart tag.  But I want to change the font size of the data label in the chart series.  Is that possible?

    To specifically and fully answer your question, no, you absolutely cannot change the “font size” as a function of print.
    First of all, there isn't a single “font size” associated with a PDF file (and we assume you are referring to a PDF file since this is an Acrobat forum).
    Secondly, PDF is a final form file format meaning that the content is static in terms of location, size, etc. on the page. To change the point size of any particular text, you really need to go back to the source document and make the changes there.
              - Dov

  • CFChart images broken when creating a PDF document with SSL

    I have a report that I create with Coldfusion, that includes a number of CFChart objects.  I recently installed a new SSL certificate, and now all the charts show up as broken links.   It shows up fine if I try and display this as HTML. On the chance it was something weird about my (lengthly) report, I created the following sample code that I saved in a file called foo.cfm:
    <cfset sDir = "C:/">
    <cfset filename = "foo123.pdf">
    <cfdocument format="pdf" filename="#filename#" overwrite="yes" marginleft=".7" margintop=".3" backgroundvisible="yes">
    TEST 12345
    <br>
    <br>
    <div style="height:500px;float:right; margin-left:10px; margin-top:10px; margin-right:10px; margin-bottom:10px;">
        <cfchart
            format="png"
            chartwidth="400"
            chartheight="360"
            showborder="no"
            databackgroundcolor="##ffffff" 
            fontbold="yes"
            sortxaxis="no"
            yoffset=".1"
            scaleto="100"
            showmarkers="no"
            show3d="no"
            fontsize="11"
              >
        <cfchartseries type="bar" datalabelstyle="none" seriescolor="##00CC99" paintstyle="shade">
        <cfchartdata item="B" value="40">
        <cfchartdata item="A" value="50">
        <cfchartdata item="E" value="80">
        <cfchartdata item="S" value="30">
        </cfchartseries>
        </cfchart>
    </div>
    </cfdocument>
    <cfoutput>
    <a href="#filename#" target="_blank">Foo</a>
    </cfoutput>
    If I go to the URL https://www.mywebsite.com/foo.cfm, the foo.pdf file shows a broken link.  If instead I go to http://www.mywebsite.com/foo.cfm the image of the chart shows up just fine. 
    The weird thing is that I have an older server running CF9.0.0.  On this server it works just fine.  On another server with 9.0.1, it breaks.  Same with 9.0.2, and CF 10. 
    I read something about needing to install the cert in a keystore, and I did this but it changed nothing.  The image is still broken in the pdf. 
    Any help would be greatly appreciated.  We have been able to work around the issue by posting the image in a non-secure location, but this seems like a hack, not a proper solution.

    Hi Anit, thanks for the feedback.  I did try this on a different server, using the instructions here:
    http://helpx.adobe.com/coldfusion/kb/import-certificates-certificate-stores-coldfusion.htm l
    and then restarted ColdFusion, but it didn't seem to fix the issue.  How would I check that the certificate has been correctly imported?  Also, how can I define what URL Coldfusion uses to get the images it creates with CFChart?   Though it seems to me this should "just work" by default, if I've followed the steps correctly, and I should have to edit any config files.

  • Cfchart scaleto still doesn't work in CF8?

    I saw numerous posts on here and other forums about how the
    'scaleto' attribute in cfchart doesn't work right in CF7. But, I'm
    having the same problems with CF8. It still hasn't been fixed?
    I'm following along with Ben Forta's CF8 WACK in chapter 16
    listing 16.4. The data is from his ows database. There is actually
    an error in his code, where the 'scaleto' is set to 1500000, but
    the highest value from the database goes to '800000000', so I
    changed the 'scaleto' to '1000000000'. The crazy thing is, figure
    16.4 in the book shows the upper limit at 1 billion, just like it's
    supposed to work, but it doesn't work for me.
    I saw another post that said it worked fine when they removed
    the labelformat="currency" attribute, and sure enough, when removed
    it works just fine (albeit without the proper formatting). Does
    Adobe plan on ever actually fixing cfchart in any CF release?
    I'm using: CF801 developer edition on Vista (sp1) and the CF8
    internal web server. The code is below, but I'm assuming others
    have this book and have tried it? Anyone else still having issues
    with 'scaleto' in CF8?
    <!--- This defines the size and appearance of the chart
    --->
    <cfchart chartwidth="750"
    chartheight="450"
    yaxistitle="Budget"
    <!--- 3D appearance --->
    show3d="yes"
    xoffset=".04"
    yoffset=".04"
    <!--- Fonts and colors --->
    showborder="yes"
    foregroundcolor="003366"
    backgroundcolor="99dddd"
    databackgroundcolor="66bbbb"
    tipbgcolor="ffff99"
    fontsize="11"
    fontbold="yes"
    fontitalic="yes"
    <!--- gridlines and axis labels --->
    scalefrom="0"
    scaleto="1000000000"
    gridlines="6"
    showygridlines="yes"
    labelformat="currency">
    <!--- within the chart --->
    <cfchartseries type="bar"
    seriescolor="green"
    serieslabel="Budget Details:"
    query="chartquery"
    valuecolumn="amountbudgeted"
    itemcolumn="movietitle"
    paintstyle="light">
    </cfchart>

    I appear to have solved at least part of my problem. In addition to running the application firewall that's accessible from System Preferences, I run ipfw via the WaterRoof frontend. I have my firewall rules carefully crafted to my needs, including open ports for iTunes sharing, Bonjour, etc., all according to Apple's documentation.
    However, I don't see anywhere that they've documented this. On disabling the ipfw firewall, I found AirPlay worked again. Further testing and examination of the logs revealed that the Mac had been denying inbound packets coming from the AirPort Express and destined for UDP port 6002. So far I can find no official documentation saying iTunes or AirPlay uses that port, but allowing it through the firewall seems to have worked. This wasn't necessary in earlier versions of iTunes, and I'm not sure why it has changed now.
    I haven't tested streaming to the iPhone yet.

  • Can You Create Trend Line in CFCHART?

    Have pretty much got CF7 Charts and WebCharts3D down, at
    least to the point where they can do what I need the most. However,
    the one thing I'd like to be able to do, but not sure if it's
    possible, is create a TREND LINE.
    This would be a LINE charts with 2 series. The first series
    would be a line with the actual counts covering a period of time.
    I'd like to add a 2nd line, using the same data from the
    first series, but have it displayed as a TREND line. In Excel, you
    can easily create a TREND line, it's even offered as an option.
    I've seen somehwere (CFCHART or WebCharts3D) something to so
    with "logarithmic" options, which is one of the options for Excel
    charts.
    Two more quick questions:
    Q1. Is there any way to control the margin between the left
    and right borders of the charts, and the bars? Have tried
    experimenting, but can't seem to get this to work. Reason is, when
    I try to show a chart in 3D, the first bar on the left is "butted
    up" against the left chart border. Would like to add a little space
    there.
    Q2. Rather than display rectangular bars, I'd like to display
    rounded cylinders. I've tried setting the chart type in CFCHART to
    "cylinder" but it still displays a bar. When I try to change the
    type to "cylinder" in WebCharts3D, the chart STILL displays
    rectangular bars. Yet I've seen many examples of rounded, cylinder
    bars.
    Don't mean to push my luck with too many questions. Thanks
    for any advice, help.
    Gary

    Trend Lines:
    CFChart does not do trend lines of any type. However, it is
    not too difficult to compute the regression of your choice and to
    plot it as a second series.
    Logarithmic:
    Not sure what you are asking here.
    In theory, cfchart does do log-lin and log-log charts.
    However, it is so buggy, and the scaling problems are so
    great, that we have never been able to get it to work well.
    We use ChartDirector for anything that requires a log scale.
    Side margins:
    You cannot control these directly. Here are some workarounds:
    For "Category" axis:
    Make sure the "isBucketed" property is set to true (this is the
    default).
    If that is not enough, add extra bars to your data series,
    usually value zero. It's not ideal but it may be good enough.
    For "Scale" axis:
    Usually this works well enough. Otherwise, try toggling the
    "isAbsolute" property.
    The only other recourse is to manually scale the plot using the
    "scaleMin" and "scaleMax" properties. This can be a real pain for
    obvious reasons and also because cfchart scaling is fraught with
    bugs and "quirks".
    Cylinder Bars:
    These work. Perhaps there was a setting conflict within the
    XML or between the CFChartSeries setting and the XML?
    Also the cylinders will only look round when 3D is turned on.
    (Side view of a cylinder is just a shaded bar.)
    Anyway, I've said it before: cfchart is barely usable for a
    very limited range of charts.
    For real business or common engineering and scientific needs,
    you need to step up to something better.
    The package we use (has all the features and very reasonably
    priced) is ChartDirector (
    http://www.advsofteng.com/cdcoldfusion.html).
    (And, no, I'm not affiliated.)

  • Vertical text in CFChart for x-axis item

    I had a problem when I view a graph, for example
    <cfchartdata item="#Depart_Name#" value="#Salary#">. if
    depart_name to long the name did not be display. how can i DISPLAY
    Depart_Name in vertical?anyone?

    you can't really, with using just
    <cfchart>/<cfchartseries> tags...
    you could, of course, set the type="horizontalbar" (if your
    chart is of
    type bar) and/or use rotated="yes" to switch x and y axis
    positions, so
    your category items are on the right instead of on the
    bottom...
    to further customise the appearance of (some) elements of
    your charts,
    you could copy the default.xml file located in [cf install
    directory]\charting\styles folder into the folder where your
    chart-generating page is located and edit it. you will then
    use
    style="thenameofyourediteddefaultxmlfile.xml" in the
    <cfchart> tag to
    apply these edited styles to your chart.
    in that .xml file you can set some defaults for your charts
    appearance,
    including the
    <xAxis>
    <labelStyle isHideOverlapped="true"
    orientation="Horizontal"/>
    change "Horizontal" to "Vertical" to have your leabels
    display vertically...
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • How to adjust the scale on second Y-Axis in cfchart

    Hi,
    I am using cfchart to show the bar graph and line graph in the same chart . Bar graph uses Y-Axis1 and line chart uses Y-Axis2 . Y-Axis1 represents the numeric value and  Y-Axis2 represents the percentage scale. the scale of Y-Axis1 depends upon the values of the data plotted but the scale of Y-Axis2 i.e for percentage that shoul  be fixed from 0 t0 100% . But as the Y-Axis1 scale adjusts the Y-Axis2 scale is being changed. But i dont want that to happen . The Y-Axis2 scale should be fixed from 0 t0 100 and the Y-Axis1 scale should be adjusted depending on the values . Please suggest a solution to this .
    Thanks,
    Sriram

    In my opinion it is impossible to have two different scales on one axis in cfchart.

  • How do I get cfchart to display in CF 10 developer version?

    Just installed CF10 over CF8 on  XP Pro test machine, upgraded to Update 08 and cfchart no longer displays.  The image is generated in the charting cache (C:\ColdFusion10\cfusion\charting\cache) but doesn't display on the generated page.  All I get is the little red x.  The Charting cache location was set to the C:/ColdFusion10/cfusion/wwwroot/CFIDE/images and they're in there. Changing the charting path to the CFIDE in IIS (i.e., C:\Inetpub\wwwroot\CFIDE) does nothing. The CFIDE mapping is set to the same CFIDE path.  Being a really old (and slowing down) fart, I need help with this one.
    Apologies if I missed finding the answer somewhere else. 

    Going to the Window menus in Editor and checking Tools worked. Thus I never had to check on whether I was in Full Edit. That would have been my next step. Thanks VERY much!

  • CFChart Stacked

    I've read most of the CFChart posts but cannot get this to
    work exactly how I want it to.
    What I need is for the chart to display TQ along the X axis
    and Counts along the Y axis. Then I need two values displayed as
    stacked bars for each TQ along the X axis. The first value is the
    InsideTQ, the next value is OutsideTQ. Both InsideTQ and OutsideTQ
    equal the total count of points for a TQ value.
    e.g TQ value 5 has a count of 60 InsideTQ points and 55
    OutsideTQ points, so TQ value 5 has a total of 115 points.
    This part works pretty good. The problem is that I have
    muliple Originators for each TQ and for each InsideTQ and
    OutsideTQ. I want to display the TQ values along the X axis ( 1 to
    15 ) but only display them once. In each TQ value I want to have
    the Originators with their In and Out values displayed as stacked
    bars.
    e.g. Originator Y, TQ 5, Inside 60, Outside 55 next show
    Originator Z, TQ 5, Inside 40, Outside 35.
    If it isn't asking too much, I would also always like for the
    InsideTQ to display green and the OutsideTQ to display red. When I
    try to force the colors I end up with the entire stacked bar the
    same color.
    What I usually end up with is the TQ going from 1 to 15 for
    the first Originator and then starting over at 1 for the next
    Originator.
    Here's my query and my chart. Thanks in advance for your
    help...
    BTW -- I'm using a <CFLOOP> then a <CFOUTPUT>
    instead of a <CFOUTPUT> with a GROUP because this code sits
    within a report which is already enclosed in <CFOUTPUT> tags.

    Hi MikeRoo
    I figured out the problem noted in my previous post. The
    WHERE need single quoutes not double.
    But I am still getting all the Originators and the In and Out
    TQs stacked on top of each other instead of side-by-side.
    I modified the code as follows to change the stacked graph to
    default, this allows the Originators to display side-by-side but
    also the In or Out TQs also display side-by-side instead of stacked
    on top of each other. I removed the color specification I used
    because it made it difficult to see which Originator's In/Out TQs I
    was looking at.
    If you have any other ideas, I'm willing to try them...
    BTW -- I'm implementing a bunch of these graphs and keep
    coming up against the same type of problem when the data returned
    is more complex. Do you know of a good resource for learning
    CFCharts and how to manipulate complex data queries in them? I've
    gone through SEVERAL books and tutorials and I can recreate their
    examples, but they are too simple for most of the reporting I'm
    trying to graph.
    Again, thanks and thanks!

  • Cfchart seriersPlacement

    I try to make two series stacked on each other, but the chart
    displays the two lines side by side. HOw can I get them stack on
    each other? Thanks in advance.
    Here is my code:
    <cfquery name="getrec" datasource="testdata">
    Select * from charttest where date_time='December'
    order by salinity
    </cfquery>
    <cfquery name="getrec1" datasource="testdata">
    Select * from charttest where date_time='January'
    order by salinity
    </cfquery>
    <cfchart
    format = "jpg"
    xAxisTitle="Salinity"
    yAxisTitle="tem"
    font="Arial"
    gridlines=7
    showborder="yes"
    seriesPlacement = "stacked"
    chartHeight = "400"
    chartWidth = "500" >
    <cfchartseries
    type="line"
    query="getrec"
    valueColumn="tem"
    itemColumn="salinity"
    seriesColor="olive"
    paintStyle="plain"
    />
    <cfchartseries
    type="line"
    query="getrec1"
    valueColumn="tem"
    itemColumn="salinity"
    seriesColor="red"
    paintStyle="plain"
    />
    </cfchart>

    You can alter the default chart style (or create a new chart
    style) by editing the default.xml file in the
    CFROOT\charting\styles folder.
    I copied and changed the default.xml file and saved it as a
    new xml style file. I then invoke the new style using the
    <cfchart style="newstyle"... parameter where newstyle is
    the name of the new file.
    In the xml file itself, all you have to do is change the
    isInterpolated parameter in the <frameChart tag> from
    isInterpolated="true" to
    isInterpolated="false"

  • CFCHART Interpolating Bar Graphs

    CFCHART is interpolating when plotting bar charts. I can see
    where interpolation would make sense for line charts, but not for
    bar charts. I am plotting stacked bar chart series, and am getting
    non-existant data appearing in the bar charts because of this
    interpolation.
    Can this be turned off? The default for a bar graph should be
    to not interpolate.
    I have been manipulating my dataset to explicitly add 0
    values for the non-existant points, but that is a royal
    pain.

    You can alter the default chart style (or create a new chart
    style) by editing the default.xml file in the
    CFROOT\charting\styles folder.
    I copied and changed the default.xml file and saved it as a
    new xml style file. I then invoke the new style using the
    <cfchart style="newstyle"... parameter where newstyle is
    the name of the new file.
    In the xml file itself, all you have to do is change the
    isInterpolated parameter in the <frameChart tag> from
    isInterpolated="true" to
    isInterpolated="false"

  • CFChart issues with CF9

    I have been running different reports for some time now with MX7. I just upgraded to CF9 and now my charts are not displaying properly and I can not figure out why. Nothing else has changed.
    Here is the form submission:
    <form action="pcostjust2NEW.cfm" method="post" name="form6" onSubmit="return validate()" target="_blank">
        <input name="census" type="hidden" value=".99">
        <input name="prevalence" type="hidden" value="0.073">
        <input name="occurance" type="hidden" value=".28">
        <input name="cost" type="hidden" value="2000">
        <input name="boots" type="hidden" value="2">
        <input name="facility" type="hidden" value="North west hospital">
        <input name="bedCount" type="hidden" size="8" maxlength="4" value="123">
        <input name="overall" type="hidden" value="7.3" size="5" maxlength="5">
        <input name="heelOverall" type="hidden" value="2" size="5" maxlength="2">
        <input name="cost1" type="hidden" size="10" value="2000.00">
        <input name="percent1" type="hidden" size="5" maxlength="3" value="93">
        <input name="cost2" type="hidden" size="12" value="45000.00">
        <input name="percent2" type="hidden" size="5" maxlength="3" value="7">
        <input name="bootcost7355" type="hidden" value="54.00" size="8" maxlength="5">
        <input name="product" type="hidden" value="7355" checked="checked">
        <input name="whatRate" type="hidden" value="1" checked="checked">
        <!---<input value="Run Report" type="submit">--->
        <img src="images/costJustificationThumb.jpg" alt="Cost justification sample report" style="border:1px solid #cccccc;">
    <a href="#" onClick="document.form6.submit()" class="bdylnk">Sample Report</a>
    This is the resulta page:
    <cfif NOT IsDefined("form.whatrate")>
    <script>
         alert("Please select a pressure ulcer rate");
      history.go(-1);
        </script>
    </cfif>
    <cfif NOT IsDefined("form.product")>
    <script>
         alert("Please select a product");
      history.go(-1);
        </script>
    </cfif>
    <cfif form.whatRate EQ 1>
    <cfset overall = #form.overall# / 100>
    <cfset havePU = #form.bedcount# * #overall#>
    <cfset haveHeels = #havePU# * #form.occurance#>
    <cfelse>
    <cfset heeloverall = #form.heelOverall# / 100>
    <cfset haveHeels = #form.bedcount# * #heelOverall#>
    </cfif>
    <cfif form.product EQ 7300>
    <cfset bootcost = #form.bootcost7300# * 2>
    <cfelseif form.product EQ 7302>
    <cfset bootcost = #form.bootcost7302# * 2>
      <cfelseif form.product EQ 7355> 
        <cfset bootcost = #form.bootcost7355# * 2>
      <cfelseif form.product EQ 7310> 
        <cfset bootcost = #form.bootcost7310# * 2>
      <cfelse> 
        <cfset bootcost = #form.bootcost7312# * 2>
    </cfif>
    <cfset heelUlcerDays = #haveHeels# * 365>
    <cfset patientDays = #heelUlcerDays# / 4.6>
    <cfset percent1 = #form.percent1# / 100>
    <cfset stage1or2 = #patientDays# * #percent1#>
    <cfset percent2 = #form.percent2# / 100>
    <cfset stage3or4 = #patientDays# * #percent2#>
    <cfset stage1or2cost = stage1or2 * #form.cost1#>
    <cfset stage1or2cost = NumberFormat(stage1or2cost, "__.__")>
    <cfset stage3or4cost = stage3or4 * #form.cost2#>
    <cfset stage3or4cost = NumberFormat(stage3or4cost, "__.__")>
    <cfset prevalonCost = (#PatientDays# * #bootcost#) * 1.85>
    <cfset totalCost = stage1or2cost + stage3or4cost>
    <cfset totalsavings = totalcost - prevaloncost>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Heel Ulcer Cost Justification</title>
    <style>
    table { font-family:Arial, Helvetica, sans-serif;
       font-size:12px;
    </style>
    <link rel="stylesheet" type="text/css" href="../styles/styleNew.css">
    </head>
    <body>
    <center>
    <cfoutput>
    <!---Have PU's = #havePU#<br><br>
    Have Heels = #haveheels#<br><br>
    Heel Ulcer Days = #heelUlcerDays#<br><br>
    Prevalon Cost = #DollarFormat(prevalonCost)#<br><br>
    Stage 1 and 2 = #DollarFormat(stage1or2cost)#<br><br>
    Stage 3 and 4 = #DollarFormat(stage3or4cost)#<br><br>
    Total Cost = #DollarFormat(totalcost)#--->
    <br>
    <table width="750" border="1" cellpadding="5" cellspacing="0" bordercolor="##000000" bgcolor="##FFFFFF">
      <tr>
        <td colspan="2"><table width="750" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="150" align="center" valign="top">
    <cfif form.product EQ 7300>
    <img src="images/prevalon7300.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
    <cfelseif form.product EQ 7302>
    <img src="images/prevalon7302.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
      <cfelseif form.product EQ 7355> 
        <img src="images/prevalon7355.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
      <cfelseif form.product EQ 7310> 
        <img src="images/prevalon7310.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
      <cfelse> 
        <img src="images/prevalon7312.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
    </cfif></td>
        <td width="600" align="center" valign="middle"><strong><span style="font-size:20px">Prevalon&reg; Heel Protector Cost Justification Report<br>
          Treatment Costs vs. Prevention Costs<br><br>
          #form.facility#</span></strong></td>
      </tr>
    </table></td>
        </tr>
          <tr>
        <td><strong> </strong></td>
        <td><strong>  </strong></td>
      </tr>
      <tr>
        <td width="611">Average Facility Census</td>
        <td width="113">#form.bedcount#</td>
      </tr>
      <tr>
        <td>Annual Projected Cost of Heel Ulcer Treatment and Prevention Utilizing Prevalon</td>
        <td>$#NumberFormat(prevalonCost)#</td>
      </tr>
      <tr>
        <td>Projected Number of Patients with Stage I or II Heel Ulcers (93%<sup>1</sup>) </td>
        <td>#NumberFormat(stage1or2, "__")#</td>
      </tr>
      <tr>
        <td>Projected Treatment Cost Stage I or II Ulcers ($2K/each<sup>2</sup>)</td>
        <td>$#NumberFormat(stage1or2cost)#</td>
      </tr>
      <tr>
        <td>Projected Number of Patients with Stage III or IV Heel Ulcers (7%<sup>1</sup>)</td>
        <td>#NumberFormat(stage3or4, "__")#</td>
      </tr>
      <tr>
        <td>Projected Treatment Cost Stage III or IV Ulcers ($45K/each<sup>2</sup>)</td>
        <td>$#NumberFormat(stage3or4cost)#</td>
      </tr>
      <tr>
        <td>Total Projected Cost of Heel Ulcers</td>
        <td>$#NumberFormat(totalcost)#</td>
      </tr>
      <tr>
        <td><strong>Estimated Revenue Preservation (Projected Heel Ulcer Cost minus Treatment/Prevention Costs Incurred)</strong></td>
        <td><strong>$#NumberFormat(totalsavings)#</strong></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><cfset prevalonCost = Round(prevalonCost)>
    <cfset stage1or2cost = Round(stage1or2cost)>
    <cfset stage3or4cost = Round(stage3or4cost)>
    <tr>
      <td colspan="2" align="center"><cfchart format="flash" chartheight="500" chartwidth="750" scalefrom="0" scaleto="100" seriesplacement="default" showborder="yes" labelformat="number" labelmask="dave" xaxistitle="" yaxistitle="Cost in U.S. Dollars" show3d="yes" tipstyle="mouseDown" pieslicestyle="sliced">
    <cfchartseries type="bar" itemcolumn="#prevalonCost#" valuecolumn="#prevalonCost#" seriescolor="##2986af" datalabelstyle="value" paintstyle="plain" markerstyle="triangle"><cfchartdata item="Annual Cost of Prevalon" value="#prevalonCost#"></cfchartseries>
    <cfchartseries type="bar" itemcolumn="#stage1or2cost#" valuecolumn="#stage1or2cost#" seriescolor="##b1e426" paintstyle="plain" markerstyle="triangle"><cfchartdata item="Projected Treatment Cost of Stage I and II" value="#stage1or2cost#"></cfchartseries>
    <cfchartseries type="bar" itemcolumn="#stage3or4cost#" valuecolumn="#stage3or4cost#" seriescolor="##ebb023" paintstyle="plain" markerstyle="triangle"><cfchartdata item="Projected Treatment Cost of Stage III and IV" value="#stage3or4cost#"></cfchartseries>
    </cfchart></td>
        </tr>
    </table>
    <table>
    <tr>
         <td>
      </td>
        </tr>
    </table>
    </center>
    </body>
    </html>

    I have been running different reports for some time now with MX7. I just upgraded to CF9 and now my charts are not displaying properly and I can not figure out why. Nothing else has changed.
    Here is the form submission:
    <form action="pcostjust2NEW.cfm" method="post" name="form6" onSubmit="return validate()" target="_blank">
        <input name="census" type="hidden" value=".99">
        <input name="prevalence" type="hidden" value="0.073">
        <input name="occurance" type="hidden" value=".28">
        <input name="cost" type="hidden" value="2000">
        <input name="boots" type="hidden" value="2">
        <input name="facility" type="hidden" value="North west hospital">
        <input name="bedCount" type="hidden" size="8" maxlength="4" value="123">
        <input name="overall" type="hidden" value="7.3" size="5" maxlength="5">
        <input name="heelOverall" type="hidden" value="2" size="5" maxlength="2">
        <input name="cost1" type="hidden" size="10" value="2000.00">
        <input name="percent1" type="hidden" size="5" maxlength="3" value="93">
        <input name="cost2" type="hidden" size="12" value="45000.00">
        <input name="percent2" type="hidden" size="5" maxlength="3" value="7">
        <input name="bootcost7355" type="hidden" value="54.00" size="8" maxlength="5">
        <input name="product" type="hidden" value="7355" checked="checked">
        <input name="whatRate" type="hidden" value="1" checked="checked">
        <!---<input value="Run Report" type="submit">--->
        <img src="images/costJustificationThumb.jpg" alt="Cost justification sample report" style="border:1px solid #cccccc;">
    <a href="#" onClick="document.form6.submit()" class="bdylnk">Sample Report</a>
    This is the resulta page:
    <cfif NOT IsDefined("form.whatrate")>
    <script>
         alert("Please select a pressure ulcer rate");
      history.go(-1);
        </script>
    </cfif>
    <cfif NOT IsDefined("form.product")>
    <script>
         alert("Please select a product");
      history.go(-1);
        </script>
    </cfif>
    <cfif form.whatRate EQ 1>
    <cfset overall = #form.overall# / 100>
    <cfset havePU = #form.bedcount# * #overall#>
    <cfset haveHeels = #havePU# * #form.occurance#>
    <cfelse>
    <cfset heeloverall = #form.heelOverall# / 100>
    <cfset haveHeels = #form.bedcount# * #heelOverall#>
    </cfif>
    <cfif form.product EQ 7300>
    <cfset bootcost = #form.bootcost7300# * 2>
    <cfelseif form.product EQ 7302>
    <cfset bootcost = #form.bootcost7302# * 2>
      <cfelseif form.product EQ 7355> 
        <cfset bootcost = #form.bootcost7355# * 2>
      <cfelseif form.product EQ 7310> 
        <cfset bootcost = #form.bootcost7310# * 2>
      <cfelse> 
        <cfset bootcost = #form.bootcost7312# * 2>
    </cfif>
    <cfset heelUlcerDays = #haveHeels# * 365>
    <cfset patientDays = #heelUlcerDays# / 4.6>
    <cfset percent1 = #form.percent1# / 100>
    <cfset stage1or2 = #patientDays# * #percent1#>
    <cfset percent2 = #form.percent2# / 100>
    <cfset stage3or4 = #patientDays# * #percent2#>
    <cfset stage1or2cost = stage1or2 * #form.cost1#>
    <cfset stage1or2cost = NumberFormat(stage1or2cost, "__.__")>
    <cfset stage3or4cost = stage3or4 * #form.cost2#>
    <cfset stage3or4cost = NumberFormat(stage3or4cost, "__.__")>
    <cfset prevalonCost = (#PatientDays# * #bootcost#) * 1.85>
    <cfset totalCost = stage1or2cost + stage3or4cost>
    <cfset totalsavings = totalcost - prevaloncost>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Heel Ulcer Cost Justification</title>
    <style>
    table { font-family:Arial, Helvetica, sans-serif;
       font-size:12px;
    </style>
    <link rel="stylesheet" type="text/css" href="../styles/styleNew.css">
    </head>
    <body>
    <center>
    <cfoutput>
    <!---Have PU's = #havePU#<br><br>
    Have Heels = #haveheels#<br><br>
    Heel Ulcer Days = #heelUlcerDays#<br><br>
    Prevalon Cost = #DollarFormat(prevalonCost)#<br><br>
    Stage 1 and 2 = #DollarFormat(stage1or2cost)#<br><br>
    Stage 3 and 4 = #DollarFormat(stage3or4cost)#<br><br>
    Total Cost = #DollarFormat(totalcost)#--->
    <br>
    <table width="750" border="1" cellpadding="5" cellspacing="0" bordercolor="##000000" bgcolor="##FFFFFF">
      <tr>
        <td colspan="2"><table width="750" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="150" align="center" valign="top">
    <cfif form.product EQ 7300>
    <img src="images/prevalon7300.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
    <cfelseif form.product EQ 7302>
    <img src="images/prevalon7302.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
      <cfelseif form.product EQ 7355> 
        <img src="images/prevalon7355.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
      <cfelseif form.product EQ 7310> 
        <img src="images/prevalon7310.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
      <cfelse> 
        <img src="images/prevalon7312.jpg" alt="Prevalon"><br><strong>Prevalon&reg; #form.product#</strong>
    </cfif></td>
        <td width="600" align="center" valign="middle"><strong><span style="font-size:20px">Prevalon&reg; Heel Protector Cost Justification Report<br>
          Treatment Costs vs. Prevention Costs<br><br>
          #form.facility#</span></strong></td>
      </tr>
    </table></td>
        </tr>
          <tr>
        <td><strong> </strong></td>
        <td><strong>  </strong></td>
      </tr>
      <tr>
        <td width="611">Average Facility Census</td>
        <td width="113">#form.bedcount#</td>
      </tr>
      <tr>
        <td>Annual Projected Cost of Heel Ulcer Treatment and Prevention Utilizing Prevalon</td>
        <td>$#NumberFormat(prevalonCost)#</td>
      </tr>
      <tr>
        <td>Projected Number of Patients with Stage I or II Heel Ulcers (93%<sup>1</sup>) </td>
        <td>#NumberFormat(stage1or2, "__")#</td>
      </tr>
      <tr>
        <td>Projected Treatment Cost Stage I or II Ulcers ($2K/each<sup>2</sup>)</td>
        <td>$#NumberFormat(stage1or2cost)#</td>
      </tr>
      <tr>
        <td>Projected Number of Patients with Stage III or IV Heel Ulcers (7%<sup>1</sup>)</td>
        <td>#NumberFormat(stage3or4, "__")#</td>
      </tr>
      <tr>
        <td>Projected Treatment Cost Stage III or IV Ulcers ($45K/each<sup>2</sup>)</td>
        <td>$#NumberFormat(stage3or4cost)#</td>
      </tr>
      <tr>
        <td>Total Projected Cost of Heel Ulcers</td>
        <td>$#NumberFormat(totalcost)#</td>
      </tr>
      <tr>
        <td><strong>Estimated Revenue Preservation (Projected Heel Ulcer Cost minus Treatment/Prevention Costs Incurred)</strong></td>
        <td><strong>$#NumberFormat(totalsavings)#</strong></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><cfset prevalonCost = Round(prevalonCost)>
    <cfset stage1or2cost = Round(stage1or2cost)>
    <cfset stage3or4cost = Round(stage3or4cost)>
    <tr>
      <td colspan="2" align="center"><cfchart format="flash" chartheight="500" chartwidth="750" scalefrom="0" scaleto="100" seriesplacement="default" showborder="yes" labelformat="number" labelmask="dave" xaxistitle="" yaxistitle="Cost in U.S. Dollars" show3d="yes" tipstyle="mouseDown" pieslicestyle="sliced">
    <cfchartseries type="bar" itemcolumn="#prevalonCost#" valuecolumn="#prevalonCost#" seriescolor="##2986af" datalabelstyle="value" paintstyle="plain" markerstyle="triangle"><cfchartdata item="Annual Cost of Prevalon" value="#prevalonCost#"></cfchartseries>
    <cfchartseries type="bar" itemcolumn="#stage1or2cost#" valuecolumn="#stage1or2cost#" seriescolor="##b1e426" paintstyle="plain" markerstyle="triangle"><cfchartdata item="Projected Treatment Cost of Stage I and II" value="#stage1or2cost#"></cfchartseries>
    <cfchartseries type="bar" itemcolumn="#stage3or4cost#" valuecolumn="#stage3or4cost#" seriescolor="##ebb023" paintstyle="plain" markerstyle="triangle"><cfchartdata item="Projected Treatment Cost of Stage III and IV" value="#stage3or4cost#"></cfchartseries>
    </cfchart></td>
        </tr>
    </table>
    <table>
    <tr>
         <td>
      </td>
        </tr>
    </table>
    </center>
    </body>
    </html>

  • CFCHART & Developer Edition Watermark

    [This might sound similar to postingings for CFDOCUMENT, but
    it's not]
    I have servers that were originally installed with the trial
    edition of CF8 and
    then changed to standard edition by entering our valid
    license numbers within the
    30 day period. That all worked fine, and the edition changed
    from Enterprise to
    Standard.
    At the time we hadn't been doing much with CFCHART, although
    we did have one page
    in production with a CFCHART on it. We've recently started
    doing development of
    more charting pages, using both the CFCHART tag directly as
    well as using
    calls via Java to the underlying engine so that we can get
    the more advanced
    charts.
    All of the charts are coming out with the "Adobe ColdFusion 8
    Developer Edition Not
    for Production Use" watermark on them. Note that this is not
    from the
    ColdFusion8\lib\watermark.png file because that image's
    content says "Adobe
    ColdFusion Developer/Trial Edition Not for Production Use".
    So this is being
    triggered from somewhere else. The first question is "where
    & why?" but the more
    important second question is "how do I fix this?"
    I did a clean install where I entered the SN on the
    installation screen (instead
    of letting it start out as a Trial Edition) on a PC that has
    never had CF on it,
    ran my CFCHART script, and it DID NOT have the watermark.
    Here's more info: On that PC that I did the fresh install of
    CF8, I was able to
    run my script with "standard" CFCHARTs in it just fine. As
    soon as I ran the
    FIRST script that did calls to the java objects to create
    undocumented Webcharts
    charts, the watermark began showing up not only on those
    charts, but also on all
    charts that are generated from the "standard" CFCHART tags.
    Apparently the
    Webcharts engine thinks that I have violated the license, and
    is somehow tracking
    that fact across restarts, reboots, etc. I reinstalled CF on
    that test PC, and the watermark went away, but
    reinstalling on the production servers is a lot more hassle.
    I ran a directory/file compare utility (ADCS) against the
    clean test PC and one of the unclean servers, for the entire
    ColdFusion8 directory tree, but nothing jumped out.
    I've searched through the Registry, cannot find any tracks
    there. Cannot find
    any files with new dates on them.
    Any ideas?
    This is getting to be a hassle, because I have pages that
    clients see on the
    server where I first noticed this problem, and don't want
    them thinking that I'm
    running bootleg software!
    thanks everyone,
    Reed

    System Information
    Server Details
    Server Product ColdFusion
    Version 8,0,0,176276
    Edition Standard
    Serial Number xxx
    Operating System Windows 2003
    OS Version 5.2

  • CFCHART Not Displaying

    OS: Windows XP Professional
    ColdFusion: 8 Developers
    DB: SQL Server 2005
    This CFCHART page used to be working fine, but after
    formatting the hard
    drive and reinstalling the OS, CFCHART is not working any
    more without any
    change on code. All other ColdFusion coding is working fine.
    On this page
    I just see the white space for the CFCHART portion. I don't
    even see the
    "Adobe ColdFusion 8 Developer Edition Not For Production Use"
    comment. The
    system has latest installation of Flash Player and JRE. Is
    there anything
    else I missed installing or configuring?
    Yontaek

    > This CFCHART page used to be working fine, but after
    formatting the hard
    > drive and reinstalling the OS, CFCHART is not working
    any more without
    > any change on code. All other ColdFusion coding is
    working fine. On
    > this page I just see the white space for the CFCHART
    portion. I don't
    > even see the "Adobe ColdFusion 8 Developer Edition Not
    For Production
    > Use" comment. The system has latest installation of
    Flash Player and
    > JRE. Is there anything else I missed installing or
    configuring?
    Not sure if this will fix it, but I've had cfchart not work
    correctly if
    I didn't have the JRunScripts directory set up correctly. Try
    this
    (which is specific to RDS issues, but may solve your
    problem).
    http://www.dansshorts.com/archives/search/?term=jrunscripts
    Daniel Short
    Site Drive, Inc. (
    http://www.sitedriveinc.com)
    Adobe Community Expert

  • CFCHART MX7 doesn't scale the X axis like 6.1

    There appears to be a bug in cfchart in ColdFusion MX7 where
    if you are trying to display a bar chart from a query with too many
    rows, the chart will display with no bars in it.
    For example, if I have a query with 365 rows (one for each
    day of the year), and I try to display it in a CFCHART that is
    600px wide, the chart data won't appear. If I specify a width of
    850px, the chart data appears.
    In ColdFusion 6, the chart would automatically scale the bars
    so you could squish as much data into a small space as you wanted.
    Does anyone know a way to re-create this in MX7?

    I changed the chart type to 'line' instead of 'bar' and it
    worked. There must be a bug with bar charts in MX7

Maybe you are looking for

  • No Form Exists error in ESS salary statement

    Hi, The Salary statement in our ESS portal is with standard functinality.  This problem started recently. All the employees are assigned to the sayme payroll area.  However, for some employees the "Salary Satement" in ESS is working fine and for a fe

  • IDVD Encoding Error on Menu in Snow leopard 10.6 - Not replicated in 10.5.8

    Hi All, Why would iDVD have fail at the start of encoding MP4 files in snow leopard 10.6.?1 But the same project encodes with no problems or errors in OS 10.5.8? Is this a bug? Any ideas? Thanks

  • Dell N5040 Wifi works randomly.

    Hello everyone. I installed Arch recently and everything works fine except for the wifi. I can use wifi-menu to connect to my network, but the connection will only work randomly. I have to connect multiple times to get it to work. The connection is n

  • Overheatin​g laptop

    Hello, my laptop: CQ60-420sa keeps overheating and switching itself off.  Is there anythign I can do to stop this.  It is on Windows Vista (which came with the laptop).

  • Downloaded a Album and quality is Poor

    We just downloaded a few days ago and when we play the album it is way faster then it should be . We have compared it to our CD and if we would have know the itunes was going to be so poor we would have not got it . Would love to get a refund .