Visualize.js with IE7

0

Hello,

I  tried this js code (founded to http://jsfiddle.net/gh/get/library/pure/ernestoongaro/vis.js-intermediat...):

visualize({
    auth: {
        name: "joeuser",
        password: "joeuser",
        organization: "organization_1"
    }
}, function (v) {
    var reportExports = v.report.exportFormats;
    console.log(reportExports); //print export formats

    report = v.report({
        resource: "/public/Samples/Reports/AllAccounts",
        container: "#container",
        error: function (error) {
            console.log(error);
        }
    });


    window.reportExport = function reportExport() {
        report.export({
            outputFormat: "pdf"
        })
            .done(function (link) {
            window.open(link.href); // open new window to download report
        })
            .fail(function (err) {
            alert(err.message);
        });
    }


});
 

It's runs ok with IE9 but doesn't work with IE7. Error is near the word report of "report.export": identifier expected; How I can resolve it?

ibedini's picture
14
Joined: Nov 30 2015 - 3:53am
Last seen: 1 month 3 weeks ago

1 Answer:

1

IE7 isn't supported. Even IE8 is not fully supported and support is due to end soon if not already.

hozawa's picture
54450
Joined: Apr 24 2010 - 4:31pm
Last seen: 6 months 2 days ago
Feedback