Sign in to follow this  

Trial version and Javascript renderer

Recommended Posts


I downloaded FusionCharts XT 3.3.1 trial version, and I correctly render SWF charts, while I am not able to see Javascript ones.

This is the error I get:

TypeError: g.hcLib.createChart is not a function @ http://localhost:280/Scripts/FusionCharts/Charts/FusionCharts.HC.js:783


Is this a problem related to the trial version? Beacuse the "is not a function" seems strange...

I don't think the code is wrong, beacuse I tried with one very similar to FusionCharts Demo. It is something like this:


<script type="text/javascript" src="Charts/FusionCharts.js"></script>

<div id="pieSummary"></div>


<script type="text/javascript">
    var data = {
            "caption": "Weekly Sales Summary",
            "xAxisName": "Week",
            "yAxisName": "Sales"
            { "label": "Week 1", "value": "14400" },
            { "label": "Week 2", "value": "19600" },
            { "label": "Week 3", "value": "24000" },
            { "label": "Week 4", "value": "15700" }
    var myChart = new FusionCharts({
        type: "Column2D",
        width: "400",
        height: "300",
        bgColor: "#111111",
        debugMode: "0",
        dataFormat: "json",
        dataSource: data,
        renderAt: "pieSummary",
        renderer: "javascript"


In Charts folder there are all the requested files...


I will wait for your answer because I am deciding which software please, tell me something as soon as possible...




Flavio M.

Share this post

Link to post
Share on other sites



Welcome to FusionCharts Forum  :)


Your code seems to be working fine at my end and I am able to see the Column 2D chart too.  Please check if you have placed the files FusionCharts.js,FusionCharts.HC.js, FusionCharts.HC.Charts.js and jquery.min.js in your "Charts" folder.


Please find a sample attached, which is created using your code, for your reference.


Hope this helps.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this