Skip to content

Logarithmic Line Chart IE Endless Loop (2.7.1 - bundle) #5264

Description

@gnlds

Logarithmic charts causing Endless Loop in Internet Explorer 11. You can reproduce the problem by using the link below;
https://jsfiddle.net/bj9gkn3o/4/

Expected Behavior

In Chrome the graphic works perfectly.

Current Behavior

In Internet Explorer, ChartJs causes Endless Loop while generating a set of logarithmic ticks. Then ends up with out of memory exception. The reason "significand" on ticks.

Possible Solution

if (significand === 10) {

I changed this line as "if (significand >= 10) {" and now it's working on IE 11.

Steps to Reproduce (for bugs)

https://jsfiddle.net/bj9gkn3o/4/

Context

ChartJS 2.7.1 (v2.6 also has this problem)

Environment

IE 11

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions