chilly

Members
  • Content count

    5
  • Joined

  • Last visited

Posts posted by chilly


  1. Maybe my english isn't very good? My OP stated the exact steps and included a link. My Second reply added clarification as requested. My third reply stated clearly that I have explained best I could. Lets try more ways. I can also provide pictures or cartoon drawings if needed. (Marker or Crayon, your choice ^_^)

    Steps copied and pasted from the link above incase your mouse is broken:

    Installing the fusioncharts Package

    Step 1: Install the FusionCharts package.

    npm install fusioncharts

    Step 2: Load FusionCharts using require.

    var FusionCharts = require("fusioncharts");

    Step 3: Load the charts module using require.

    require("fusioncharts/fusioncharts.charts")(FusionCharts);

    Step 4: Create the FusionCharts instance required to render the chart.

    var chart = new FusionCharts ({
    	   "type": "column2d",
    	   "width": "500",
    	   "height": "300",
    	   "dataFormat": "json",
    	   "dataSource": {
    		    chart:{},
    		    data: [{value: 500}, {value: 600}, {value: 700}]
    	 	}
    	}).render("chartContainer");
    

  2. My problem was explained clear and concise to start with. Please re-read it so I can assist you further. 

    Side Note: I will instead move away from fusion. Nice charts, terrible support. Problem was explained clearly, I stated exactly where the error was occurring, and the exact steps I followed from FusionCharts own tutorial on rendering charts using npm, including a link to the steps. Im not building a sample project for you to have a week long confused conversation about why your product isnt functioning as intended and hear you say its working on your end. Every other library is functioning properly. Have a good day.


  3. Im getting an error of

    TypeError: B.register is not a function
    at /Test/node_modules/fusioncharts/fusioncharts.charts.js:6:125
    

    I am using fusioncharts installed via npm and have reverted to your guide on rendering charts via npm. Following step by step the error comes when trying to include

    require("fusioncharts/fusioncharts.charts")(FusionCharts);
    

    Performing a search in the fusioncharts.charts.js file shows me there is a B.register function inside. Is the guide wrong and missing a step, or is this a bug. I can display the chart using HTML fine, the js implementation is having hiccups