fmrock Report post Posted May 4, 2010 We just purchased V3, and we are currently using the Fusion Charts Free. We are using these charts currently in a Classic ASP pages. I want to upgrade my existing charts. Right now I have my flash files for Fusion charts free stored in "FusionCharts" intranetwwwrootFusionCharts That way anywhere on this server I can reverence /Fusioncharts/ and I only keep one set of files. I have many little miny web apps in seperate folders on this server. I was going to try and use the asp class instead. If i Put a class folder in intranetwwwrootFusionChartsClass it does not like that when I include this in my page. Does anyone have any recommendations on how I should set this up. I cant remove all my free charts because it will take a while to reprogram them to use the v3 version. Thanks for your help Share this post Link to post Share on other sites
fmrock Report post Posted May 4, 2010 Also, is there any reason to use the class over just creating the XML string? Share this post Link to post Share on other sites
fmrock Report post Posted May 4, 2010 (edited) I figured out I have to change the way i include the class. #include file="/FusionCharts/Class/FusionCharts_Gen.asp" #include virtual="/FusionCharts/Class/FusionCharts_Gen.asp" My next question is, are there any examples on how to use the class to create multi series charts from a database. The way I was doing it in the free version was (I cut out some of the code) strXML = "graph caption='[REPLACE_WITH_NAME]' PYAxisName='CPH' SYAxisName='Accuracy' subCaption='Trend Report' xAxisName='Month' hovercapbg='FFECAA' hovercapborder='F47E00' " strXML = strXML & "formatNumberScale='0' decimalPrecision='1' showvalues='0' animation='1' numdivlines='9' numVdivlines='22' " strXML = strXML & "lineThickness='3' rotateNames='1' PYAxisMaxValue='50' PYAxisMinValue='0' SYAxisMaxValue='100' SYAxisMinValue='0' showShadow='0'>" strXML_CPH_dataset="" strXML_CPH_dataset = strXML_CPH_dataset & " strXML_CPH_dataset = strXML_CPH_dataset & "parentYAxis='P'" strXML_CPH_dataset = strXML_CPH_dataset & ">" strXML_Accuracy_dataset="" strXML_Accuracy_dataset = strXML_Accuracy_dataset & " strXML_Accuracy_dataset = strXML_Accuracy_dataset & "alpha='100' anchorAlpha='100' anchorRadius='4' lineThickness='2' parentYAxis='S'" strXML_Accuracy_dataset = strXML_Accuracy_dataset & ">" RS.MoveFirst Do until RS.EOF strXML_categories = strXML_categories & "" If variMinutesAtWork > 0 Then strXML_CPH_dataset = strXML_CPH_dataset & "" Else strXML_CPH_dataset = strXML_CPH_dataset & "" End If If NOT isnull(varCoding_Out_Of_Total) Then strXML_Accuracy_dataset = strXML_Accuracy_dataset & "" Else strXML_Accuracy_dataset = strXML_Accuracy_dataset & "" End If RS.MoveNext loop strXML = strXML & strXML_categories & strXML_CPH_dataset & strXML_Accuracy_dataset strXML = strXML & "/graph>" Edited May 4, 2010 by Guest Share this post Link to post Share on other sites
Guest Rajroop Report post Posted May 8, 2010 Hi, Could you please check out the following link for this? Ref.- http://www.fusioncharts.com/docs/?ASPClassAPI/Functions.html http://www.fusioncharts.com/docs/ > Guide for General Users > Using External Data Sources I hope this helps. Share this post Link to post Share on other sites