CF8 CFChart issue

Does anyone have a fix for this bug? The below code displays
perfectly in CF 7 and earlier versions. But in CF 8, the first
chart series displays 6 elements in the graph even though it has
just 2 elements.
<cfchart format="png" chartwidth="280" chartheight="100"
showlegend="false">
<cfchartseries type="line">
<cfchartdata item="a" value="20">
<cfchartdata item="b" value="15">
</cfchartseries>
<cfchartseries type="line">
<cfchartdata item="a" value="10">
<cfchartdata item="b" value="6">
<cfchartdata item="c" value="27">
<cfchartdata item="d" value="5">
<cfchartdata item="e" value="20">
<cfchartdata item="f" value="3">
</cfchartseries>
</cfchart>

Check out the 2nd comment in the LiveDocs for cfchart:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_c_05.html#comments

Similar Messages

  • CF8 Installation issue

    Hello All
    I have a CF6.1 MX dev sever running under windows 2003Server
    sp2. The 6.1 instance is installed in a dir c:\CFusionMX. 6.1 is
    connected to IIS 6 from the original install
    I am trying to install CF8 standalone on the same box (not
    linked to IIS6) but the installation keeps returning I error
    associated with ANT.
    the CF8 installer creates c:\JRun4 and does the installation
    in there however the one point where the process fails is a call to
    c:\CFusionMX\servers\etc\etc\etc here is some lines including the
    error
    Install File: C:\JRun4\Readme.htm
    Status: SUCCESSFUL
    Modify Text File - Single File: New File
    C:\JRun4\jrun.license.properties
    Status: SUCCESSFUL
    ANT Script Error:
    Status: ERROR
    Additional Notes: ERROR -
    jrun.xmlC:\CFusionMX\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib
    not found.
    Custom Action:
    com.macromedia.ia.action.ExecuteANTScriptAction
    Status: SUCCESSFUL
    Install File:
    C:\JRun4\docs\javadocs\allaire\jrun\install\GetControlPort.html
    Status: SUCCESSFUL
    Install File:
    Well this directory doesn't exist within the CF6.1
    Installation. I am beginning to think that the CF8 installer has a
    hard coded path to c:\CFusionMX\ which is screw up from Adobe ?
    Before you ask i have done all the turning off of DEP, I have
    cleared temp directories, changed temp directories to paths without
    spaces, I am logged in as Administrator and I have set read
    permissions on the installation directory. In short I have done
    everything I can find on various KB articles and fora
    Help me !!!!

    Check out the 2nd comment in the LiveDocs for cfchart:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_c_05.html#comments

  • CF8 cfQuery Issue

    In previous versions of CF you could execute a stored
    procedure using the <cfQuery> tag and you would receive a
    query result set containing the returned data. For example:
    <cfquery name="checkLogin" datasource="myDataSource">
    Execute LoginUser
    @Email = '[email protected]',
    @PasswordHash = '5F4DCC31234765D61D8327DEB882CF99'
    </cfquery>
    In CF7 and prior this would return a query result set
    containing several fields that specified the permission level of
    the user, etc. In CF8 the result set contains a single column
    called “COMPUTED_COLUMN_1” and has a single blank row.
    I’ve tested this same code on CF7 and it works fine. We
    need to use <cfQuery> rather than <cfStoredProcedure>
    because we need to be able to pass in the names for parameters
    since they can be in any order and our stored procedures
    don’t always require all parameters. <cfProcParam> does
    not allow you to pass in a parameter name. There is a dbVarName
    attribute but it hasn’t worked since the pre-MX days even
    though it is still referred to in certain places in the docs.
    Anyone else having this problem?

    I get correct results from a similar stored procedure with
    CF8 using either the CF8-supplied SQLServer driver or the Microsoft
    v1.1 JDBC driver from
    http://www.microsoft.com/downloads/details.aspx?familyid=6d483869-816a-44cb-9787-a866235ef c7c
    It works OK with SQLServer 2000 and with SQLServer 2005.
    Since you are not getting any error, it doesn't seem that you
    need to use dbVarName.
    Maybe you should try it with a test procedure which just
    returns the arguments to see what is going on.
    -tom-

  • 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>

  • CF8 & IIS6 issue

    Really weird issue happening.
    I've setup a site 'abc.com' in IIS and pointed it to a local
    directory 'cfusion-war\abc\'. Site resolves, everything works.
    I setup a second site 'abc2.com' and point it to
    'cfusion-war\abc2\' and it points the domain back to the root
    folder 'cfusion-war'.
    Thinking it was just an IIS issue I tried pointing the
    'abc2.com' site to a directory that only had an 'index.htm' file in
    it to test, 'cfusion-war\abc2-html', and it resovles to the correct
    page.
    So the issue is, for any site in IIS that points to a
    coldfusion site outside of the 'cfusion-war\abc' directory the page
    won't resolve. Point it to that directory though and it will.
    Anyone faced this issue before?
    Thanks in advance!
    Paul.

    Should also mention that we're running Windows Server
    2003.

  • Symlink Issue

    Hi
    I have recently upgraded a project from CFMX7 to CF8. The
    problem I'm having is that I have a number of subdomains which are
    setup. Each of these subdomains contains an Application file at the
    root, and a folder called administration. This folder is a symlink
    which has been setup which links to the physical files.
    If I try and view a login.cfm page with the administration
    folder (i.e.
    http://test.domain.com/administration/login.cfm),
    an error message comes up which says that my application variables
    are not defined. This directory seems to have an issue locating the
    Application file in the directory above. Has anyone experienced the
    same error at all? I've read that CF8 has issues with symlinks.
    Thanks for your help - it would really be appreciated!!
    Aileen

    It is a symlink.   The symlink is owned by the vim package.  As vim is a dep for gvim, that file is being managed by the package manager.
    Saying I want to store a file there is like saying I want to store a text file at /bin/bash...   Sure you could, but do not expect bash to keep working.
    So what exactly is your issue here?

  • Cfchart help needed

    Yes I searched through the history on this and found where
    people had attempted to answer.... but I still don't get it.
    I want a graph that has distance numbers going up the y-axis
    and dates going across - verticaly (perferably in a mmm-d format)
    My Query:
    <cfquery name="totalMonth" datasource="2onboard">
    SELECT sum(distance) AS curMonthDistance, sum(time) AS
    curMonthTime
    FROM bockWalk
    WHERE Month(walkDate) = #Month(Now())# AND Year(walkDate) =
    #Year(Now())#
    </cfquery>
    My existing cfchart code:
    <cfchart format="jpg"
    chartwidth="575"
    chartheight="150"
    yaxistitle="Miles"
    showygridlines="yes"
    labelformat="number"
    showborder="yes">
    <cfchartseries type="bar"
    query="monthlyChart"
    valuecolumn="distance"
    itemcolumn="walkDate"
    seriescolor="ff0000">
    </cfchartseries>
    </cfchart>
    Currently I get what I want except the date format is shown
    as yyyy-mm-dd 00:00:00 and is horizontal.
    I would also like for this to be in flash, but if I put
    "flash" in the format line, nothing shwos up.
    Extended thought - I would like to include a second field of
    information (time - number field) as part of the rollover feature.
    stumped

    The cfquery columns posted do not match the chartseries
    columns.
    Also, for cfchart issues, it helps if you list a table of the
    numbers you are plotting anyway (the results of the query).
    If you are running CF7, then you can do what you want using
    xml stlyes. Lookup "ChartDirector" or "Web Charts designer".
    For example, this XML style:
    <?xml version="1.0" encoding="UTF-8"?>
    <frameChart>
    <xAxis>
    <labelStyle isMultiline="false"
    orientation="Vertical"/>
    </xAxis>
    </frameChart>
    should get you started.

  • 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.

  • Cfchart and cfreport issues in 7.0.2

    I've seen a few posts on people having issues with cfchart
    and cfreport upon upgrading to 7.0.2
    The specific issue I was having were that the cfcharts no
    longer showed up and the cfreports where getting some sort of a
    null error.
    The fix:
    in the lib dirrectory of your cf install dir (for me with
    jrun it was
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib)
    there are 2 files: commons-digester-1.3.jar and a 1.7.jar the 1.3
    version should have been deleted by the updater but was not, so
    just rename it to something like .old and then restart coldfusion.
    Everything should be working as it was before 7.0.2 now.

    You
    rock, John2!
    I recently upgraded to 7.0.2 and has the same CFCHART problem
    afterward that many other people encountered (i.e. Flash charts
    would no longer appear when viewed using Internet Explorer). Your
    recommendation worked perfectly. Thank you very much!

  • Issues with Flex3 and CF8 on Windows Vista

    Sorry for the whine, however I feel it necessary to get a few
    issues I've found with Flex3 on a Vista Laptop working with CF8
    that I've not seen documented elsewhere.
    Environment:
    Sony Laptop with Intel Core 2 Duo processor and 3 GB Ram.
    Running CF 8 Standard Edition, along with mySQL 5.x and
    access to a SQL Server instance on another machine on the same
    local network.
    What I am trying to do:
    A) learn flex, my background is CF with over 8 years of
    experience along with Flash AS2 along the way.
    B) put together a hello world app.
    C) use the flex/cf application wizard to build a simple
    master/detail set of selection/edit screens for one table of a
    database that I used recently on a CF8 project. To see how much
    better the UI really is on Flex and whether I could use it to retro
    fit that old application to have a better UI using flex3.
    Issues.
    My mini-application is set up initially in the folder
    c:/inetpub/wwwroot/mydirectory, but it does not work.
    Reason is that when run, it cannot access the flex2gateway on
    the url that the wizard puts into the app. which is
    http://localhost/mydirectory/flex2gateway...
    Details:
    flex2gateway does not work on a subdirectory URL on the
    default web site.
    If I access
    http://localhost/flex2gateway/
    I get a blank screen (as expected) meaning that the flex2gatweway
    is working.
    If I access
    http://localhost/mysubdirectory/flex2gateway/
    I get a 404.0 error (not found)
    Now, I beleive this is supposed to work, something must be
    wrong with one of the xml file setups. But I cannot find any
    documentation for it.
    Initially the flex2gateway did not work at all. I did the web
    connector thing with CF batch file and that got it working, but
    only on the base directory, not the subdirectory.
    So, to get around this issue, Luckily Vista with IE7 allows
    more than one website.. I create a whole new website that is
    accessed using
    http://192.168.1.73:81/
    I set this website up in the folder c:/localhost/mydirectory.
    The flex project is called mydirectory
    So we come to issue 2.
    Given the above Issue number 1, I have further frustration
    because when the Flex/Cold Fusion Application wizard builds the
    various mxml files it insists on prefixing all of the remote object
    calls with 'mydirectory.'
    e.g "mydirectory.components.cfgenerated.mycfc"
    Now, given that the web root is also the base of the project,
    this will not work.
    What actually works is: "components.cfgenerated.mycfc"
    There seems to be no way I can configure the project when
    building it to get around this issue. The only way |I can fix this
    is to manually edit all the mxml files after the wizard is
    finished. I also have to doctor the project setup for similar
    reasons. It wants all of the urls to be:
    http://192.168.1.73:81/mydirectory/bin/main.html
    instead of
    http://192.168.1.73:81/bin/main.html
    So obviously the wizard is not set up to handle applications
    that are based right at the web root, even though this is the only
    place that the flex2gateway can work. <snafu I guess>
    Issue 3:
    I find that the flex/Cf application wizard is set up to build
    pages based upon a certain narrowly defined way of constructing the
    source database tables. In particular it wants every table to have
    its own unique numeric id for each row, and can't handle a string
    for the primary key and have the primary key editable as well.
    Seems inflexible if you ask me. The main problem is that the
    preconditions on the table structure that the wizard can work with
    are poorly defined and documented. You obviously had to go to the
    same school of database design and the same class as the Adobe
    developers to think in the same way.
    Given that this tool is supposed to be a help to new users of
    Flex and AS3 and it is supposed to be a productivity aid, perhaps I
    should not be surprised to have had to spend over a week getting to
    grips with the wizard and learning its tricks just to get it to
    build a mind numbingly simple mini app of my own that works when
    run. Sorry Adobe, but you get a F minus on your report card for
    this one, particularly on the really bad documentation. Just as bad
    for the coding complexity of the solution to seemingly simple
    application concept.
    Cheers,
    Bryn Parrott

    Hi,
    Which version of RDP client you are using for your client?
    Does more user login at same period of time?
    As you have commented that after sticking the user can’t able to login in RDCB server, here I can suggest you to check the setting of connection broker. Also you can check that you have place the proper location path of UPD while configuring in collection configuration
    wizard. You can take a look at below article foe virtual desktop configuration.
    Deploying Virtual Desktops with Windows Server 2012
    Are you trying to use same UPD for different collection then also it might happens to occur your issue. The fact of UPD is User profile disks are for a single collection only. A user connecting to two different collections will have two separate profiles. If
    you want to synchronize settings, refer to Microsoft User Experience Virtualization. Go through this article for more understanding related to UPD.
    Working with User Profile Disks on Session-Based Desktop Deployments
    Hope it helps!
    Thanks.

  • CFMAIL issue in cf8

    I have set up the mail connection via CF Admin.
    I tested connection and I ahve no problem.
    But now when I send any emails where the address is in
    format:
    [email protected] it fails with invalid address
    but if i try [email protected] it send the email with no problem.
    So I know that my connection is correct.
    In fact, I already CF7 as my production server, but we are
    testing this to see if it is worth it for us to
    upgrade.
    So far this issue is cauing a major issue.
    Because many of clients have email format that I specified.
    I tested this from my email account from ail server to an
    address [email protected], and was able to send it with no problem.
    Only when using cfmail, seems to be having an issue.
    If anyone can give me a pointer or a some information to
    andle this wuld be great.
    Asad

    i have no problems sending mail to addresses like
    [email protected] using
    cf8's cfmail...
    tested on cf8 with hf2 on winxp. do you have all hotfixes in
    stalled?
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • CF8 ODBC performance issues w/ SQL 2K5

    Problem: A basic "select *" query returning 5 rows is taking
    a little over 5000ms.
    Platform: Vista Business, CF8 Developer, MS SQL 2K5 Developer
    SP2, ODBC Socket using trusted connection
    I ran a query against cfartgallery without any performance
    problems. Leads me to believe this is an ODBC issue.
    (Server monitor memory tracking is off.)
    Does anybody have any suggested fixes? Thank you.

    gdemaria -
    I reverted back to using MX7 rather than 8.
    I tried using the JDBC driver, which is the default driver on
    the first screen--where you have to specify a username and password
    and you connect over port 1433-- but I couldn't get that to work.
    (This is probably a problem with my SQL server configuration.)
    My plan is to play around some more with the JDBC driver. Or,
    wait and see if I get an ODBC solution from the forum here. For now
    I will develop on MX7 and use CF8 in the live hosting
    environment---not an ideal situation, but it's workable.

  • Cfdocument printing issues: cf7 vs cf8

    Here's what happens when I create a pdf with
    <cfdocument> on CF7 vs CF8:
    CF7
    The generated pdf is 16 pages and 87.6 KB. When I print the
    pdf the progress bar in acrobat fills up immediately. The total
    size in the print spooler is 1.18MB
    CF8
    The generated pdf is 16 pages and 622 KB. When I print the
    pdf the progress bar in acrobat takes almost 3 minutes to get to
    100%. The total size in the print spooler is a whopping 75.5MB
    I am using fontembed="false", but that seems to have no
    effect on the actual filesize either. Also, on the CF8 document I
    can click all over the place and get these 1/2" x 1/2" blue cubes
    that show up. They are exactly like the ones you get if you click
    on an image, only they are in random areas all over the place. One
    other thing, when I save the CF8 pdf, there is a progress bar in
    the lower right that says "optimized for fast web viewing". It
    doesn't do that for CF7.
    What is going on here, and what can be done? Users are not
    able to print anything out in a timely fashion. Thanks.
    EDIT:
    If I don't import my 3KB css file, the pdf behaves like it
    does in CF7, minus the formatting of course

    There was a background image in the css that was causing the
    issue, but it was only a problem when using @import to get the css,
    and only in CF8.

  • Significant Load Issues (CF8 and Model Glue 2)

    I'm running an enterprise-level application running CF8 and Model Glue 2 that has seen a recent spike in users.  Several hundred users are submitting complex forms at any one time, which then trigger e-mails.
    During our peaks, we're seeing the following error messages pour in:
    Either there are no methods with the specified method name and argument types, or the getUserID method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
    Has anybody run into these types of errors before.  I'd really appreciate your guidance.

    Sounds like you have an issue with the var scope.
    Model Glue controllers are singletons and this means one single instance of
    the controller is shared among all requests. While this is a great way to
    increase performance, it does mean you must be careful to use the ColdFusion
    var keyword properly.
    Since this is showing up under load, I am going to bet this is the issue. *Here
    is what you need to do:*
    Short Version:
       1. Download this: http://varscoper.riaforge.org/
       2. Run it against your application and fix everything it finds.
    Long Version:
       1. Read this:
       http://www.nodans.com/index.cfm/2007/9/27/Is-your-code-Thread-Safe-How-do-you-know
       2. Watch this:
       http://www.schierberl.com/blog/thread-safety-and-the-var-scope-live-example/
       3. Download this: http://varscoper.riaforge.org/
       4. Run it against your application and fix everything it finds.
    Dan Wilson

  • CFChart in CFDocument on CF8

    I'm using CF8 enterprise on Windows Server 2008 and CF8 developer on Windows Server 2003.  I've never had problems getting images or cfcharts on my cfdocuments on my development server, but just yesterday got images to work on the production server by using file://ipaddress instead of the regular img src="img.jpg", but I still can't get the cfcharts to show up on the production server.  With jpg and png the red x shows up, when I use flash, a blank box shows up.  Does anyone have any hints?

    The answer was here all along, I was just searching for the wrong things.
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=graphing_10.html
    http://forums.adobe.com/message/3233968
    <cfloop from="1" to="5" index="i">
    <cfmodule template="generateReportingGraphs.cfm" graphNum="#i#" dealer_id="#dealer_id#" month="#month#" year="#year#">
    <img src="http://#ip_address#/portal/PROD/Forms/monthly_reports/#dealer_id#_chart_#i#.jpg">
    </cfloop>
    generateReportingGraphs:
    <cfchart name="mychart" scalefrom="#min#" scaleto="#max#" showlegend="yes" title="Total Closing Inventory & Total Idle Capital" format="jpg" chartheight="#gheight#" chartwidth="#gwidth#">
                            <cfchartseries type="line" query="grabData" serieslabel="Total Inventory" valuecolumn="total_inventory" itemcolumn="xlabel"/>
                            <cfchartseries type="line" query="grabData" serieslabel="Idle Capital" valuecolumn="total_idle_capital" itemcolumn="xlabel"/>
                        </cfchart>
    <cffile action="write" nameconflict="overwrite" file="#getdirectoryFromPath(getCurrentTemplatePath())##dealer_id#_chart_#graphnum#.jpg" output="#mychart#">

Maybe you are looking for

  • How can I transfer photos from iPhone 3GS to MacBook?

    Please, I need help!!! How can I transfer all the pics I have on my iphone 3g s to my macbook?!?!??!?!?!

  • Error while updating the firmware

    I have X4500 running solaris 10 OS with software version 5.10. The ILOM version is 1.1.1. I tried to update the firmware but I cannot do that because I am getting an error. This is how I setup everything and I get the error mentioned below. C H A P T

  • Songs not playing, few second import

    hey guys! wandered if someone could help me? I tried importing songs from a cd (original, just brought) and when i try and import it, only a few seconds of the song gets imported to my library? If I try and drag the songs to my ipod in itunes a messa

  • In Prelude is it possible to export my sub clips as complete files?

    I work at a youth sports camp, and have a massive amount of footage to work with each week to create a highlight video. The video used is collected by multiple employees with different skill levels. Is it possible with Prelude to save just the sub cl

  • Why wont my USB ports work?

    Hello, this is my first post and i am after a little help. i am having problems with my usb ports, i have a k8neo platinum mobo. i have usb ports on that, i have two front usb ports and i have a 4 four in a pci slot. a few weeks back they work workin