Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Kevin Kreuter #1
CFMX7 charts: stacked bar graph w/ 1 item broken
I'm using (at least attempting to) a stacked rotated bar graph (now in CFMX7,
horizontalbar) with multiple cfchartseries to display a single segmented bar
with different series colors for each segment. This worked in CFMX 6.1 for
chartseries type="bar", but in CFMX7, works for neither type "bar" nor
"horizontalbar". With format="flash", it just draws an empty graph; with
show3d="yes", I do see that it just draws what could be described as a bar of
zero height (or width). With format="jpg" or "png", it just blows up with an
unhandled exception (debugger info indicates "object instantiation error").
With 2 or more items in each chart series, every thing works fine. Here's 2
samples (1st one works, 2nd one doesn't):
<!--- WORKS FINE --->
<cfchart format = "flash"
seriesplacement = "stacked"
chartwidth = "200"
chartheight = "200"
showlegend = "no">
<cfchartseries type="bar" seriescolor="blue">
<cfchartdata item="A" value="5">
<cfchartdata item="B" value="27">
</cfchartseries>
<cfchartseries type="bar" seriescolor="green">
<cfchartdata item="A" value="10">
<cfchartdata item="B" value="40">
</cfchartseries>
<cfchartseries type="bar" seriescolor="red">
<cfchartdata item="A" value="85">
<cfchartdata item="B" value="33">
</cfchartseries>
</cfchart>
<!---- DOESN"T WORK in CFMX 7 --->
<cfchart format = "flash"
seriesplacement = "stacked"
chartwidth = "200"
chartheight = "200"
showlegend = "no">
<cfchartseries type="bar" seriescolor="blue">
<cfchartdata item="A" value="5">
</cfchartseries>
<cfchartseries type="bar" seriescolor="green">
<cfchartdata item="A" value="10">
</cfchartseries>
<cfchartseries type="bar" seriescolor="red">
<cfchartdata item="A" value="85">
</cfchartseries>
</cfchart>
-------
Any Ideas? Thanks in advance for any help on this.
Kevin
Kevin Kreuter Guest
-
Flex 3: Per Item Label on Bar/Column Charts
I am having trouble displaying per item labels on my bar/column charts when I run my application on Weblogic. Though, if I run it locally on LCDS... -
All templates broken after applying CFMX7 updater
We are running CFMX7 on a multi-server configuration on Solaris 2.8. We applied the MX7 updater 7.0.1. The install said it was successful but we... -
CFMX7 charts
Hi. I am just trying out the chart functionality inCFMX 7. Its working great, amazing even. But, we need to have all of the items in the legend... -
cfchart seriesplacement="stacked" CFMX7 problems
Hi, I upgraded our server over the weekend to MX7 enterprise. I have a problem with charts now that do not work as they did in MX6.1. An example... -
Graph/Charts Question
I work for a printer and we take in a lot of different files in many different programs. Some I am more versed in than others. I have hit a wall on...



Reply With Quote

