MT_MANC

Members
  • Content count

    19
  • Joined

  • Last visited

About MT_MANC

  • Rank
    Junior Member
  1. I switched away from FC to HighCharts web-charting several years ago as FC could not plot directly from .CSV (an essential requirement) But we are interested in the rel. straightforward) Server Side Export features of FC) I have too much sunk cost in HC to switch back charting completely to FC, but do you have any examples of combining FC Export Server with HighCharts/Maps to autoproduce .PDF, .JPG (or other format) versions of HighCharts & HighMaps rendered on a webpage. If I recall, FC just required a few extra lines of js/chart code on the client side to enable sever-side export - could such a system work with HighCharts chart code ? Any working examples of combining HighCharts on client side with FC Chart export on the Server Side ?
  2. Wondered if there was any update to this answer into Spring 2016 ? ie any way to generate Fusion Charts directly from .CSV data files without having to (manually) convert into XML format ?
  3. OK thanks In the meantime, can you confirm that producing a Fusion XT chart from a (standard format) .CSV file is actually possible under ASP.net ?..or is this maybe an error in the FC documentation ?
  4. Thanks - Yes I realise this & have already read this link But can an external .html file (the data table) be referenced via a URL as the chart data source for the convertToFusionCharts method ? Or does the HTML table have to be coded into the HTML page itself (above where the chart renders) for this method to work ? If the former, any example coding of how exactly to reference the .HTML table data file ? Most kind
  5. NB This post was originally posted in wrong forum: FusionCharts and ASP Chart <object name> = new Chart (chartType, chartId, chartWidth, chartHeight, dataFormat, dataSource, bgColor, bgOpacity) The dataFormat constructor parameters mentions .CSV as an available format for chart data - see: http://www.fusioncharts.com/dev/usage-guide/using-with-server-side-languages/asp-net/introduction.html Are there any working code examples of referencing an external .CSV data file as the data source under ASP.net wrapper ? If so, can the .CSV data file then be updated/overwritten with another .CSV file (data extended by 1 period) without having to formally re-render the chart ?) Most kind PS I cannot see any other way to generate Fusion Charts from .CSV data files - is it only available under ASP.net wrapper ?
  6. FC XT v 3.7.1 Chart <object name> = new Chart (chartType, chartId, chartWidth, chartHeight, dataFormat, dataSource, bgColor, bgOpacity) The dataFormat constructor parameters mentions .CSV as an available format for chart data see: http://www.fusioncharts.com/dev/usage-guide/using-with-server-side-languages/asp-net/introduction.html (I cannot any other ways to generate Fusion Charts from .CSV data files - is it only available under ASP.net wrapper ?) Are there any working code examples of referencing an external .CSV data file as the data source under ASP.net wrapper ? If so, can the .CSV data file then be updated/overwritten with another (extended data) .CSV file without having to formally re-render the chart ?) Most kind
  7. Does this new method of providing the data for a chart require the HTML table to be actually specified in the HTML code above where the Chart is rendered ? Or can the HTML table simply pre-exist at an external location ? In which case, how would this external HMTL table data source be referenced in the code ?
  8. http://www.fusioncha...s/JS/Index.html 1. HOW COULD THE CLIENT-SIDE XML DATA UPDATE CODE IN YOUR AJAX EXAMPLE BE ADAPTED TO SHOW A PSEUDO TIME SERIES ANIMATION ACROSS QUARTERS ? That is, to display successively for all 4 products A-D : View1 - Just Quarter 1 data is plotted (but X-axis shows Quarter1-Quarter4) View2 - Just Quarter 1+2 data is plotted (but X-axis shows Quarter1-Quarter4) View3 - Just Quarter 1+2+3 data is plotted (but X-axis shows Quarter1-Quarter4) View4 - Quarter 1+2+3+4 data is plotted (but X-axis shows Quarter1-Quarter4) Such a "psuedo-animation" of time series data over successive Quarters should presumably be achievable without the need for a clumsy page refresh (as would occur if setXMLUrl method was used to link to "incremental" external XML files) The (hard-coded) array data that would need to be plotted successively for each Quarter would thus look like : data[0] = new Array("Product A",659400); data[1] = new Array("Product B",546300); data[2] = new Array("Product C",657600); data[3] = new Array("Product D",436500); data[0] = new Array("Product A",659400,465400); data[1] = new Array("Product B",546300,436500); data[2] = new Array("Product C",657600,564600); data[3] = new Array("Product D",436500,765700); data[0] = new Array("Product A",659400,465400,764500); data[1] = new Array("Product B",546300,436500,546500); data[2] = new Array("Product C",657600,564600,348600); data[3] = new Array("Product D",436500,765700,453900); data[0] = new Array("Product A",659400,465400,764500,650500); data[1] = new Array("Product B",546300,436500,546500,332500); data[2] = new Array("Product C",657600,564600,348600,436600); data[3] = new Array("Product D",436500,765700,453900,326400); But how could this be implemented in your (hard-coded) example & example functions ? I did attempt to adjust the Javascript arrays and the [getSeriesXML function] to produce the above effect but to no avail. Presumably, the [getSeriesXML function] would need to "loop" around 4 times to create the required "<set value='" items for each Quarter1-4 ?? 2. CONVERTING .CSV FILES TO JAVASCRIPT ARRAYS My (complete) raw data to be plotted is in actually held in ASCII .CSV files: "Quarter","ProductA","ProductB","ProductC","ProductD" "Q1",659400,465400,764500,650500 "Q2",546300,436500,546500,332500 "Q3",657600,564600,348600,436600 "Q4",436500,765700,453900,326400 Could the JS functions in your Ajax example be adapted to convert this .CSV to Javascript arrays to produce the above required time series quasi-animation across Q1-Q4 for all 4 products A-D?
  9. FC Version: FusionCharts_v3_1_1_DEVEL_LICENSE In my .htm page I create TWO versions of same chart - a 3D and a 2D version - when these are rendered in browser they are BOTH then saved to server as .jpg as specified in the XML header: mef1_29_12_2009_14_8_35_375_US_SUMlev_2014.jpg (3D version - Proper Display Chart) mef1_29_12_2009_14_8_35_375_US_SUMlev_2014_2D.jpg (2D version - "Non-Display" Chart) I want both charts to be created as JPG but I want ONLY the 3D version chart to display in the browser ! The problem is that in order to actually produce the *_2D.jpg server-side, the 2D one must display/render also in the browser (which I want to avoid as it is a "non-display" chart )! Q. How can both Fusion Charts render but only the 3D one actually get displayed eventually in browser ? I've tried "overwriting" the DIV as in the code below but the *_2D.jpg chart doesnt get produced/saved in the overwrite ! (I've also treid changing the DIV and "var" names to no avail ) (Is there a smart way to "overwrite" the DIV without also overwriting the *_2D.jpg chart produced ! ) See code snippet from my .htm page;this only renders the 3D chart (as required) but fails to create a JPG of the the 2D chart server-side which I need to use subsequently in a download HTML hyperlink ! : Any thoughts ? Thanks <code> <div id="chart"> <div id="US_SUMlevIddiv" > US_SUMlev </div> <script language="JavaScript"> var US_SUMlevId = new FusionCharts("../Charts/MSColumnLine3D.swf", "_US_SUMlevId", "425", "305", "0", "1"); US_SUMlevId.setDataURL("../Gallery/Data/mef1_29_12_2009_14_8_35_375_US_SUMlev_2014.xml"); US_SUMlevId.render("US_SUMlevIddiv"); </script> <div id="US_SUMlev_2DIddiv" ></div> <script language="JavaScript"> var US_SUMlev_2DId = new FusionCharts("../Charts/MSCombi2D.swf", "_US_SUMlev_2DId", "425", "305", "0", "1"); US_SUMlev_2DId.setDataURL("../Gallery/Data/mef1_29_12_2009_14_8_35_375_US_SUMlev_2014_2D.xml"); US_SUMlev_2DId.render("US_SUMlev_2DIddiv"); </script> <div id="US_SUMlev_2DIddiv" ></div> <script language="JavaScript"> var US_SUMlev_2DId = new FusionCharts("../Charts/MSCombi2D.swf", "_US_SUMlev_2DId", "0", "0", "0", "1"); // US_SUMlev_2DId.setDataURL("../Gallery/Data/mef1_29_12_2009_14_8_35_375_US_SUMlev_2014_2D.xml"); US_SUMlev_2DId.render("US_SUMlev_2DIddiv"); </script> </div> </code>
  10. Tooltip on Legend

    Is there any way to permit a Tooltip on hovering mouse over Chart Legend on rendered chart ? If not, might this be forthcoming in future releases (I have Developer License) Most kind
  11. UPDATE - I have now figured out the functions in the attached index.php; I can now auto-export my chart after rendering to either .jpg or .pdf format. The only niggle is that the Chart logo is NOT appearing on the Chart saved on the Server - either jpg or pdf format - even though it DOES appear on the Rendered chart in the browser (and I have a Developer License) XML Header code for Logo: logoURL='/mef/Images/mef_pf5_tiny.jpg' Any ideas. Is it because Logo is a JPG itself ? Thanks again
  12. There was no *.html file in the zip ?! Not really sure how to extract what I need from this .zip?! I have adpated your basic Javascript Export example again from the documentation at: http://www.fusioncharts.com/docs/Contents/ECJavaScript.html so Data.html now includes js function ExportMyChart() http://www.jcsweb.biz/mef/client/wd_scen_lev/Data.html which renders fine using the example XML file adapted for my server address: http://www.jcsweb.biz/mef/client/wd_scen_lev/Data.xml but clicking button gives an error - "Object doesnt support this property or method" - see attached DATA_HTML_ERROR.JPG Your example had exportAction='download' in the .XML but shouldn't this be exportAction='save' (the ExportMyChart() still doesnt work when I change this !!) Functions still fails if I include FusionChartsExportComponent.js in Data.html (which I believe is NOT required) I have also uploaded "FCExporter.swf" in my charts dir on my server just in case; but do I need any other files uploaded to my server ? QUESTIONS: 1. Why is ExportMyChart() failing ? 2. What is correct js code to get chart to AUTOMATICALLY save to server after rendering without needing to click button and to suppress any export dialogues (I have showExportDialogue='0' in Data.xml already) and callback dialogues? To autoexport to server can I just add this line at bottom: if( chartObject.hasRendered() ) chartObject.exportChart(); to give: var myChart = new FusionCharts("/mef/Charts/Column2D.swf", 'myChart', '900', '300', '0', '1'); myChart.setDataURL('Data.xml'); myChart.render('chartContainerDiv'); if( chartObject.hasRendered() ) chartObject.exportChart(); Couldnt really test this properly as chartExport() not working in first place ! Thanks again
  13. Thanks So calling: http://jcsweb.biz/mef/client/wd_scen_lev/SaveExample.html which references: http://jcsweb.biz/mef/client/wd_scen_lev/SaveData.xml should result in NEW.pdf appearing in my /AnimGIF/GNU/ directory on my server. But no PDF (or JPG OR any chart) is appearing here automatically !!! (Is the FCExporter.php actually being invoked ) But if I right click on rendered chart I CAN manually export via the menu to NEW.pdf ! and the 'SuccesfullySaved to server' js dialogue box appears. But why isnt this chart-saving happening automatically server-side after chart renders - I have removed "www" as you suggested ?!!! Any ideas ?
  14. Most Kind What could be causing the "404 Not Found" error ? I dont seem to have Developer Toolbar on IE6 ? I presume URLs below are all you need to analyse Live version of your SaveExample chart is held at: http://www.jcsweb.biz/mef/client/wd_scen_lev/SaveExample.html with related XML file held at: http://www.jcsweb.biz/mef/client/wd_scen_lev/SaveData.xml Where exactly is the "data" saved to on my server ? (and do you mean a PDF file is saved or an XML ?) Grateful for any insight/resolution
  15. Thanks I attached all these requested files in my original post - see top post NB My editing of YOUR example template (SaveExample.html, SaveData.xml & FCExporter.php) has been minimal