Hi mates!
I am trying to display my work's progress report using CFGRAPH. I did make a kind of CFGRAPH like this before, and it ran well.
Now it seems that yesterday's gone. Then I tried to find some answers in this forum. As one of you guys recommended, I got one in
Here's the codes (I made some adjustments here):
This codes run so slow in the browser (IE6), almost resulting nothing on the screen (I thing that it will never do). The aforementioned site also says that there must be something to do with CF admin page, but I couldn't find what it was.
What did I do wrong here?
Suggestions, please?
TIA,
mansii
I am trying to display my work's progress report using CFGRAPH. I did make a kind of CFGRAPH like this before, and it ran well.
Now it seems that yesterday's gone. Then I tried to find some answers in this forum. As one of you guys recommended, I got one in
Here's the codes (I made some adjustments here):
Code:
<cfset pagename="CFGRAPH">
<cfquery name="get_batch" dataSource="MYDSN">
SELECT *, COUNT(op_id) as mycount
FROM modul2
group BY mydate
</cfquery>
<cfgraph type = "line"
query = "get_batch"
valueColumn = "mycount"
itemColumn = "mycount"
scaleFrom = 0
scaleTo = 100
showItemLabel = "yes"
itemLabelFont = "Arial"
itemLabelSize = 10
itemLabelOrientation = "horizontal"
title = "title text"
titleFont = "Arial"
fileFormat = "flash"
lineColor = "red"
lineWidth = 2
fill = "yes"
graphHeight = 400
graphWidth = 600
backgroundColor = "yellow"
borderColor = "black"
borderWidth = 1
depth = 20
gridLines = 10>
</cfgraph>
This codes run so slow in the browser (IE6), almost resulting nothing on the screen (I thing that it will never do). The aforementioned site also says that there must be something to do with CF admin page, but I couldn't find what it was.
What did I do wrong here?
Suggestions, please?
TIA,
mansii