Ngx-charts: Error on gauge when disable Axis and mouse leave

Created on 7 Sep 2017  Â·  3Comments  Â·  Source: swimlane/ngx-charts

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior
On a Gauge, when I disable Axis, if a put the mouse on the gauge value then the mouse leaves the gauge, I get this error :

ERROR ReferenceError: event is not defined
Trace de la pile :
./src/gauge/gauge.component.ts/GaugeComponentonDeactivate@http://localhost:4200/vendor.bundle.js:13730:32
View_GaugeComponent_1/<@ng:///GaugeModule/GaugeComponent.ngfactory.js:23:23
handleEvent@http://localhost:4200/vendor.bundle.js:109717:98
callWithDebugContext@http://localhost:4200/vendor.bundle.js:111178:39
debugHandleEvent@http://localhost:4200/vendor.bundle.js:110766:12
dispatchEvent@http://localhost:4200/vendor.bundle.js:106310:12

Expected behavior
Nothing but no bug

Reproduction of the problem
Some issue with Plücker but here is a sample (only check the app.ts) : http://plnkr.co/edit/b8lMjFnLbzcgR3M8PyTw?p=preview

Please tell us about your environment:
Windows 10, Atom, NPM, Ng serve

  • ngx-charts version: 6.0.2

  • Angular version: 4.3.6

  • Browser: [ Firefox 55.0.3 ]

  • Language: [TypeScript 2.3 ES6]

Thank you

Bug Accept PRs Backlog Investigate

All 3 comments

Unsubscribe

On Thu, Sep 7, 2017, 09:18 Emeric BAVEUX notifications@github.com wrote:

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior
On a Gauge, when I disable Axis, if a put the mouse on the gauge value
then the mouse leaves the gauge, I get this error :

ERROR ReferenceError: event is not defined
Trace de la pile :

./src/gauge/gauge.component.ts/GaugeComponent http://localhost:4200/vendor.bundle.js:13730:32
View_GaugeComponent_1/<@ng https://github.com/ng
:///GaugeModule/GaugeComponent.ngfactory.js:23:23
handleEvent@http://localhost:4200/vendor.bundle.js:109717:98
callWithDebugContext@http://localhost:4200/vendor.bundle.js:111178:39
debugHandleEvent@http://localhost:4200/vendor.bundle.js:110766:12
dispatchEvent@http://localhost:4200/vendor.bundle.js:106310:12

Expected behavior
Nothing but no bug

Reproduction of the problem
Some issue with Plücker but here is a sample (only check the app.ts) :
http://plnkr.co/edit/b8lMjFnLbzcgR3M8PyTw?p=preview

Please tell us about your environment:
Windows 10, Atom, NPM, Ng serve

-

ngx-charts version: 6.0.2
-

Angular version: 4.3.6
-

Browser: [ Firefox 55.0.3 ]
-

Language: [TypeScript 2.3 ES6]

Thank you

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/swimlane/ngx-charts/issues/542, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAC3sNkRU0ZJINIVBxyffYD1pxwBavvRks5sgBdkgaJpZM4PQD8x
.

Can't reproduce it anymore since release 7.0.0 (https://github.com/swimlane/ngx-charts/blob/master/docs/changelog.md#700)
was related to PR #613

Thanks for checking @emeric0101
Closing the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ianfdk picture ianfdk  Â·  3Comments

ronybarbosa picture ronybarbosa  Â·  3Comments

merinshaji picture merinshaji  Â·  3Comments

kakalos12 picture kakalos12  Â·  4Comments

DZDomi picture DZDomi  Â·  4Comments