Advertisement

06.04.2008 at 12:32PM PDT, ID: 23458057
[x]
Attachment Details

cfgraph adding 1 when should be 0

Asked by sonicimpulse in ColdFusion Application Server, Web Languages/Standards, Cold Fusion Markup Language

Tags: coldfusion 8, mozilla, localhost

I was advised on here to do the following but unfortunately hostmysite.com will not do this.  Is there a workaround for the solution I was given below.

Unlike CF 7, CF8 has interpolation set to true by default.  That means CF 8 is putting values in place between other values; even though you don't explicitly set them.

You can change this in the style xml file located
<cf root>/charting/styles/default.xml

Change this line..
<frameChart autoAdjust="false" is3D="false" isInterpolated="true">

to false
<frameChart autoAdjust="false" is3D="false" isInterpolated="false">

You may want to copy the entire XML file and save it as a different name so you don't change the default (it will effect all graphs on your server).  You can refer to the newly created xml file by using the "style" attribute on the CFCHART tag.
 Start Free Trial
[+][-]06.04.2008 at 06:44PM PDT, ID: 21715843

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ColdFusion Application Server, Web Languages/Standards, Cold Fusion Markup Language
Tags: coldfusion 8, mozilla, localhost
Sign Up Now!
Solution Provided By: gdemaria
Participating Experts: 1
Solution Grade: B
 
 
[+][-]06.04.2008 at 06:46PM PDT, ID: 21715850

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 06:13AM PDT, ID: 21718947

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628