I'm having difficulty getting CFGRAPH to output in anything other than a 3:2
aspect ratio.

My CFGRAPH tag looks like this:

<cfgraph type="bar" query="accessReport" valuecolumn="counterField"
itemcolumn="sectionID" graphWidth=600 graphHeight=300 valuelabelsize=8
itemlabelsize=8 barSpacing=5>
</cfgraph>

The db query/report that I'm graphing has many columns (30+). The graph
renders properly (all the labels are correct as defined in the itemcolumn
attribute), but no matter what I set the graphWidth value to, the graph
stays in a fixed ratio. If I set graphWidth=1400, for example, I just get a
lot of white space around the graph and the graph is in proportion to the
value set in graphHeight.

I don't want a graph that's 1600 pixels tall (trying to prevent eggregious
scrolling on the part of the user), but the graph becomes illegible when so
many items are crammed against one another in such a small space. I've
reduced the display font (via the itemlabelsize attribute) about as small as
it can go and be legible to our users. Limiting the number of items graphed
won't help much for the report, as the full scope of available items must be
seen together for the report to make any sense (just as if you're presenting
a report which tracks activity on your site in 24 hours, you wouldn't want
to drop midnight-6am from your report).

Any ideas/workarounds/suggestions? Is this a limitation of the Flash output
from CFGRAPH?

Many thanks,

brian

FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to