Skip to content

IE8 Compatibility ? #2396

Closed
Closed

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; } });

Activity

  1. migsc commented on Apr 27, 2016

    @migsc
    Contributor

    According to the docs, IE8 is not supported because that browser does not support the canvas element.

  2. etimberg commented on Apr 27, 2016

    @etimberg
    Member

    V1 supported IE8. V2 does not because we make use of some other properties not available in IE8. IE9 should work.

  3. kiquenet commented on Aug 11, 2017

    @kiquenet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions