M4MController / frontend

https://meter4.me M4M Ember.js web application
https://meter4.me
0 stars 0 forks source link

Graph on the sensor page does not work in some browsers #72

Closed ed-asriyan closed 5 years ago

ed-asriyan commented 5 years ago

в сафари при открытии страницы сенсора следующая ошибка вываливается в консоль, при этом svg не рисуется вообще

[Error] TypeError: undefined is not an object (evaluating 'c.info')
    (anonymous function) (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4960)
    (anonymous function) (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4352:93)
    processData (vendor-1a402f61440a9ff7c843afd37e7efa63.js:5020:111)
    processData (vendor-1a402f61440a9ff7c843afd37e7efa63.js:5164)
    (anonymous function) (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4532:1459)
    forEach
    each (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4368:330)
    setTickInterval (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4532:1424)
    setScale (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4546:430)
    (anonymous function) (vendor-1a402f61440a9ff7c843afd37e7efa63.js:5147)
    forEach
    each (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4368:330)
    (anonymous function) (vendor-1a402f61440a9ff7c843afd37e7efa63.js:5147)
    (anonymous function) (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4352:93)
    firstRender (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4730:240)
    (anonymous function) (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4690:174)
    fireEvent (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4374:434)
    init (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4685)
    getArgs (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4684:186)
    Chart (vendor-1a402f61440a9ff7c843afd37e7efa63.js:4683:473)
    stockChart (vendor-1a402f61440a9ff7c843afd37e7efa63.js:5153:861)
    draw (vendor-1a402f61440a9ff7c843afd37e7efa63.js:6767)
    invoke (vendor-1a402f61440a9ff7c843afd37e7efa63.js:2330:249)
    flush (vendor-1a402f61440a9ff7c843afd37e7efa63.js:2323:149)
    flush (vendor-1a402f61440a9ff7c843afd37e7efa63.js:2334:388)
    _end (vendor-1a402f61440a9ff7c843afd37e7efa63.js:2381)
    _boundAutorunEnd (vendor-1a402f61440a9ff7c843afd37e7efa63.js:2343:540)

в хроме рисуется  svg, но без графика. в консоль пишется Highcharts error #15: www.highcharts.com/errors/15