Hello all,
I am running CFMX on WindowsXP Pro using the CF built in web server.
I have a problem with label formatting in a chart. I am trying to produce a Gantt
Chart. I want my Y axis labels to be dates within a specified range. I have set them
to the range and the labelformat attribute to date, but all the labels show up as
12/31/69. I have tried adding an offset thinking it was an epoch date issue without
any difference in result. When I switch the labelformat to number, the values are
valid date serial values. How do I get dates to show up as Y Axis labels?
The pertinent portion of the code follows.
Any help would be greatly appreciated.
<cfset StartDate = CreateDate(2002, 1, 1)>
<cfset EndDate = CreateDate(2002, 12, 31)>
<cfset NoWeeks = DateDiff("w", StartDate, EndDate)>
<cfchart format="flash" scalefrom="#StartDate#" scaleto="#EndDate#"
gridlines="#NoWeeks + 1#" seriesplacement="stacked" showxgridlines="no"
showygridlines="yes" showborder="yes" fontbold="no" fontitalic="no"
labelformat="number" yaxistitle="Duration" show3d="no" rotated="yes" sortxaxis="no"
showlegend="no" showmarkers="yes" chartheight="400" chartwidth="1400"
url="javascript:showMilestoneChart('$ITEMLABEL$')">
--
Respectfully,
Robert J. Polickoski, CNA
Lead Programmer
(540) 842-6339
[EMAIL PROTECTED]
AIM: RobertJFP
Windows Messenger: RPolickoski
--
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists