Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFGRAPH doesn't run

Status
Not open for further replies.

mansii

Programmer
Oct 18, 2002
641
ID
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):
Code:
<cfset pagename=&quot;CFGRAPH&quot;>
<cfquery name=&quot;get_batch&quot; dataSource=&quot;MYDSN&quot;>
SELECT *, COUNT(op_id) as mycount
FROM   modul2
group BY  mydate
</cfquery>

<cfgraph type = &quot;line&quot;
  query = &quot;get_batch&quot;
  valueColumn = &quot;mycount&quot;
  itemColumn = &quot;mycount&quot;
  scaleFrom = 0
  scaleTo = 100
  showItemLabel = &quot;yes&quot;
  itemLabelFont = &quot;Arial&quot;
  itemLabelSize = 10
  itemLabelOrientation = &quot;horizontal&quot;
  title = &quot;title text&quot;
  titleFont = &quot;Arial&quot;
  fileFormat = &quot;flash&quot;
  lineColor = &quot;red&quot;
  lineWidth = 2
  fill = &quot;yes&quot;
  graphHeight = 400
  graphWidth = 600
  backgroundColor = &quot;yellow&quot;
  borderColor = &quot;black&quot;
  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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top