RICguy

Members
  • Content count

    1
  • Joined

  • Last visited

About RICguy

  • Rank
    Forum Newbie
  1. trendlines

    I have a bubble chart that is spitting out the data for me, but I'm having trouble formatting the lines within the chart. y axis returns 0-100% and x axis a number between 0 and 2. Currently the y axis labels are returning (by default) 0%,20%,40%,60%,80% and 100%. The x axis has nothing whatsoever. What I'm trying to accomplish is to basically have 1 vertical line that runs where x=1 and 1 horizontal line running at 50%. Essentially split the bubble chart into quadrants. It seems it should be basic, but I'm missing something (my first chart too). I've messed around with <trendlines> to no avail. Please tell me what I'm overlooking. Thanks! <script language="javascript" src="javascript/FusionCharts.js"></script> </head> <cfinclude template="../FusionCharts/FusionCharts_CF/App/Includes/FusionCharts.cfm"> <body> <cfinclude template="headerclient.cfm"> <cfset strXML = "<chart caption='BubbleTrack' yaxismaxvalue='100' vlines='1' showlabels='0' subCaption='' showBorder='0' formatNumberScale='0' numberSuffix='%25' xaxisname='Competitive Ratio' yaxisname='Survival Probability' >"> <cfquery name="btrack" datasource='#DataSource#' username='#DataUserName#' password='#DataPassWord#' > query resides here... </cfquery> <cfloop query="btrack"> <cfset x = btrack.x> <cfset y = btrack.y> <cfset z = btrack.z> <cfset strxml = strxml & " <dataset> <set x='#x#' y='#y#' z='#z#' /></dataset> " > </cfloop> <cfset strxml = strxml & "</chart>"> <cfoutput>#renderChart("FusionCharts/bubble.swf", "", strXML, "BubbleTrack", 600, 300, false, false)#</cfoutput>