Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
beavermjr #1
cfchart and the x axis
I'm working on a weight loss application and am trying out the CFCHART tag for
the first time. I'm charting weight over time. In working with the chart, I've
noticed 2 things with regards to the x axis.
1. I need to format the date items so the format is "5-16-2005" rather than
the default "2005-5-16 00:00:00.0" as extracted from an access database.
2. Weight has not been recorded on a consistant basis. There are sporatic
recordings with gaps of up to a month before I started recording daily. How do
I get the points on the x access to space according to date rather than
automatically putting uniform spacing between data points?
I am using MX 6.. Is this functionality available to me or would I need to use
version 7?
beavermjr Guest
-
Upgrade Axis 1.1 to Axis 1.2 CFMX 6.1
Is it possible to change the Axis Engine from 1.1 to 1.2 in CFMX 6.1? -
cfchart rotate x axis labels
This should be very easy to do. I want my x axis labels to be horizontial not vertical. How do I do this? Thanks trainmom -
format y-axis in cfchart
The values displayed on the y-axis are are mix of float and int. The chart displays int values on the y-axis if I use only one cfchartseries tag.... -
cfchart axis does not round
I've noticed that when using CFCHART and when I'm showing a bar data that on the axis is always uses decimal points when showing the range of my... -
cfchart problem: i have too many entries in on axis
You can use the Webcharts utility , which is located in the charting directory. You can define your own style and then refrence it using the format... -
-
beavermjr #3
Re: cfchart and the x axis
How would I use the date format command in the following line of code:
<cfchartseries type="line" serieslabel="Present Weight" query="weight2" itemcolumn="date" valuecolumn="weight">
beavermjr Guest
-
jorgepino #4
Re: cfchart and the x axis
<cfchartseries
type="line"
serieslabel="Present Weight"
query="weight2"
itemcolumn="#DateFormat(Date, "mm-dd-yyyy")# "
valuecolumn="weight">
jorgepino Guest
-
beavermjr #5
Re: cfchart and the x axis
thanks much that helps me out. any word on #2?
beavermjr Guest
-
beavermjr #6
Re: cfchart and the x axis
id date format onl;y available in MX 7? mx 6 doesn't like it.
beavermjr Guest
-
Symantec #7
Re: cfchart and the x axis
the values itemcolumn and valuecolumn do not accept functions or evaluation of
variables from query terms. Im not sure you might be able use a static
variables but that would be pretty pointless.
<cfchartseries type="line" serieslabel="Present Weight">
<cfloop query="weight2">
<cfchartdata item="#dateformat(date, "mm-dd-yyyy")#" value="#weight#">
</cfloop>
</cfchartseries>
Symantec Guest



Reply With Quote

