Skip to content

IE8 Compatibility ? #2396

Description

@chrisc4

Hello,

I include excanvas and es5 scripts but it seems that Chart.js not working on IE8

My head:
<script src="https://code.jquery.com/jquery-1.12.3.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-sham.min.js"></script> <script src="https://cdn.jsdelivr.net/excanvas/r3/excanvas.js"></script>

And chart declaration:
`var canvas = document.getElementById("canvas");
canvas = G_vmlCanvasManager.initElement(canvas);

        var ctx = canvas.getContext("2d");
        window.myBar = new Chart(ctx, {
        ...`

And i get an JS error on:

Object.defineProperty(this, 'data', { get: function() { return this.config.data; } });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions