| Subject: | cfchart seriersPlacement |
|---|---|
| From: | "Lei Hu" |
| Date: | Mon, 23 Jul 2007 16:56:05 +0000 UTC |
| Newsgroups: | macromedia.coldfusion.cfml_general_discussion |
I try to make two series stacked on each other, but the chart displays the two
lines side by side. HOw can I get them stack on each other? Thanks in advance.
Here is my code:
<cfquery name="getrec" datasource="testdata">
Select * from charttest where date_time='December'
order by salinity
</cfquery>
<cfquery name="getrec1" datasource="testdata">
Select * from charttest where date_time='January'
order by salinity
</cfquery>
<cfchart
format = "jpg"
xAxisTitle="Salinity"
yAxisTitle="tem"
font="Arial"
gridlines=7
showborder="yes"
seriesPlacement = "stacked"
chartHeight = "400"
chartWidth = "500" >
<cfchartseries
type="line"
query="getrec"
valueColumn="tem"
itemColumn="salinity"
seriesColor="olive"
paintStyle="plain"
/>
<cfchartseries
type="line"
query="getrec1"
valueColumn="tem"
itemColumn="salinity"
seriesColor="red"
paintStyle="plain"
/>
</cfchart>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: CFMail with Query Param, Dan Bracuk |
|---|---|
| Next by Date: | Re: How to detect file not found?, LeeBC |
| Previous by Thread: | Problem with login script, Mattastic |
| Next by Thread: | Random Value Generation, health-pact |
| Indexes: | [Date] [Thread] [Top] [All Lists] |