bar-graphs fade to white through the bar
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



bar-graphs fade to white through the bar Expand / Collapse
Author
Message
Posted 1/9/2008 4:14:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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="clsid27CDB6E-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

Post #3719
Posted 1/10/2008 2:46:33 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956, Visits: 468
Just set

Thanks,
Pallav Nadhani
FusionCharts Team
Post #3773
Posted 2/20/2008 3:39:57 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/12/2008 8:32:15 AM
Posts: 4, Visits: 10
i am also facing the same problem,

can you please provide me a solution.

i am getting the fade effect to the bars. but i dont need that.

how to remove it, i only want single color. how to remove that fade effect.

please help me out.

thanks

-praveen

praveen.

http://www.rampgroup.com; http://india.rampgroup.com; http://praveenbattula.wordpress.com/

Post #4596
Posted 2/21/2008 4:05:33 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956, Visits: 468
Just set [chart plotGradientColor='' ]

Thanks,
Pallav Nadhani
FusionCharts Team
Post #4634
Posted 6/12/2008 9:02:43 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/16/2008 11:21:18 AM
Posts: 1, Visits: 4
Great. I needed this bit of info also!

Thanks.
Post #6773
Posted 6/15/2008 8:05:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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 :-)
Post #6856
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 9:32pm


Execution: 0.156.