Steve Workings

v.setChartMessage is not a function

Recommended Posts

I'm upgrading a customer with 2 servers to version 3.12.1

On one server, all is well. But the identical set of files on the 2nd server is failing to produce bar charts, scrollline2d and pie charts (all the XT charts, I think). Widgets and Powecharts work just fine.

The Chrome console produces this for each fail:

VM1958 fusioncharts.js:924 Uncaught TypeError: v.setChartMessage is not a function
    at Object.u.createChart (VM1958 fusioncharts.js:924)
    at z.core.render (VM1958 fusioncharts.js:1927)
    at Object.render (VM1958 fusioncharts.js:72)
    at z.core.<anonymous> (VM1958 fusioncharts.js:81)
    at Object.triggerEvent (VM1958 fusioncharts.js:45)
    at Object.b.raiseEvent (VM1958 fusioncharts.js:45)
    at z.core.renderChart (VM1958 fusioncharts.js:81)
    at z.core.render (VM1958 fusioncharts.js:77)
    at Function.eval (eval at _eval (a5-41194825.js:248), <anonymous>:44:18)
    at VM1958 fusioncharts.js:47

What is the fix? I don't know what to do?


Share this post

Link to post
Share on other sites


Please share us a sample replicating the problem in a js fiddle so that we can investigate it further. Also, make sure that you have included all the necessary library files to render the chart, example for rendering FusionCharts you will need - fusioncharts.js, fusioncharts.charts.js, similarly for rendering widgets you will need - fusioncharts.js, fusioncharts.widgets.js and for power charts, you will need -  fusioncharts.js, fusioncharts.powercharts.js

Share this post

Link to post
Share on other sites

That's you're standard response to nearly every question, isn't it? I have the correct files in place which is why it works on one of the two servers - I know how to do that. And since it works on one of the two servers (as did version 3.9.0 - on both servers) putting a copy into js fiddle - which I have no idea how to do - seems like a waste of time.

So: why would I get that error? What causes it?


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