|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 1/9/2008 6:03:06 AM
Posts: 2,
Visits: 3
|
|
Dear Support,
We are using FusionChart ver3.0 for our Coldfusion appliation. The bar-graphs currently fade to white through the bar. Can we avoid the fade effect in the bar. i.e can these be changed so that the whole bar is a single colour please?
Regards, Anil The following code we have used for generating the graph which is attached in here.
<cfsilent> <cfset strXMLData_T = "<chart xAxisName='Week(DD-MON)' yAxisName='Quantity' rotateLabels='1' caption='Demand Backlog' subCaption='(#graphTitle#)' showLabels='1' showvalues='0' showSecondaryLimits='0' numberPrefix='' formatNumber='1' formatNumberScale='1' decimalPrecision='2' divLineDecimalPrecision='2' limitsDecimalPrecision='2' slantLabels='1' animation='1'>" &chr(10)> <!--- 'Generate the category elements - category elements are the x-axis labels ---> <cfset strCategories_T = ""> <cfset strCategories_T = strCategories_T & "<categories>" &chr(10)> <cfloop index="elem" from="1" to="19"> <cfset strCategories_T = strCategories_T & "<category label='" & dateFormat(ArrDemandBackGraph[elem][1],"dd-MMM") & "' />" &chr(10)> <cfif elem eq 6> <cfset strCategories_T = strCategories_T & "<vLine color='ffff00' thickness='3' />"&chr(10)> </cfif> </cfloop> <cfset strCategories_T = strCategories_T & "</categories>" &chr(10)> <!--- Bar: Demand BackLog ---> <cfset strDataSet_T= ""> <cfset strDataSet_T = strDataSet_T & "<dataset seriesName='Demand Backlog' color='EC0000' showValues='0'>" &chr(10)> <cfloop index="elem" from="1" to="19"> <cfset strDataSet_T = strDataSet_T & "<set value='" & ArrDemandBackGraph[elem][2] & "' />" &chr(10)> </cfloop>
<cfset strDataSet_T = strDataSet_T & "</dataset>" &chr(10)> <!--- Bar: Actual Production Plan ---> <cfset strDataSet_T = strDataSet_T & "<dataset seriesName='Actual Production' color='008200' showValues='0'>" &chr(10)> <cfloop index="elem" from="1" to="19"> <cfset strDataSet_T = strDataSet_T & "<set value='" & ArrActualProdGraph[elem][2] & "' />" &chr(10)> </cfloop> <cfset strDataSet_T = strDataSet_T & "</dataset>" &chr(10)> <!--- Bar: Previous Demand backlog ---> <cfset strDataSet_T = strDataSet_T & "<dataset seriesName='Previous Demand backlog' color='0000FF' showValues='0'>" &chr(10)> <cfloop index="elem" from="1" to="19"> <cfset strDataSet_T = strDataSet_T & "<set value='" & ArrPrevDemGraph[elem][2] & "' />" &chr(10)> </cfloop> <cfset strDataSet_T = strDataSet_T & "</dataset>" &chr(10)> <!--- Line: Last Plan run rate ---> <cfset strDataSet_T = strDataSet_T & "<dataset lineThickness='2' seriesName='Last Plan run rate' color='000000' renderAs='Line'>" &chr(10)> <cfloop index="elem" from="1" to="19"> <cfset strDataSet_T = strDataSet_T & "<set value='" & ArrGetlastplanrunrateGraph[elem][2] & "' />" &chr(10)> </cfloop> <cfset strDataSet_T = strDataSet_T & "</dataset>" &chr(10)> <cfset strXMLData_T = strXMLData_T & strCategories_T & strDataSet_T & "</chart>"> </cfsilent> <!--- <div align="center" class="text"> ---> <OBJECT classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" WIDTH="990" HEIGHT="320" id="FusionCharts" ALIGN=""> <PARAM NAME="FlashVars" value="&dataXML=<cfoutput>#strXMLData_T#</cfoutput>"> <PARAM NAME=movie VALUE="Charts/MSCombi2D.swf?chartWidth=990&chartHeight=320"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="Charts/MSCombi2D.swf?chartWidth=990&chartHeight=320" FlashVars="&dataXML=<cfoutput>#strXMLData_T#</cfoutput>" quality=high bgcolor=#FFFFFF WIDTH="990" HEIGHT="320" NAME="FusionCharts" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT>
Demand backlog.bmp
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117,
Visits: 498
|
|
Just set
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/12/2008 8:32:15 AM
Posts: 4,
Visits: 10
|
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117,
Visits: 498
|
|
Just set [chart plotGradientColor='' ]
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 8/7/2008 5:24:11 AM
Posts: 1,
Visits: 11
|
|
Great. I needed this bit of info also!
Thanks.
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 6/23/2008 8:50:48 AM
Posts: 4,
Visits: 11
|
|
| This is awesome! I spent an hour trying to get rid of the white :-)
|
|
|
|