times / axisJS

Open source framework for creating simple interactive graphs
MIT License
74 stars 12 forks source link

Catch renderer exceptions #108

Closed aendra-rininsland closed 9 years ago

aendra-rininsland commented 9 years ago

Currently, if the renderer triggers a TypeError or whathaveyou, the app dies and the user loses their work. This is poor UX.

TODO:

  1. Catch exceptions
  2. Either use the Angular exception logger or trigger an event to display an error message where the chart should be.
  3. Save current config to local storage.
aendra-rininsland commented 9 years ago

I think this is resolved via ecd8c5195afb4dc281c12d2e9922000658d062b3 and e7af6f82f99b269b018eab64c7e5af6d6dfc3e28.