-
Notifications
You must be signed in to change notification settings - Fork 40
Description
I asked my question in #89, but since it's closed I think I should submit it as an issue, so I'm moving my comment here.
I think I have a problem with the check you dropped for the zoom in v0.3.2.
I have a pie chart that gets redrawn because of this zoom and I receive following error in c3:
Uncaught TypeError: Cannot read property 'data_types' of null at ChartInternal.c3_chart_internal_fn.isPieType (c3.js:3581)
I don't think pie charts are applicable for zoom, so why to redraw the chart once again?
Maybe the problem is somewhere else but this is where I got so far.
@maxklenk Could you please check this? I also tested c3 only without angular-chart and without angular and could not reproduce the error.
At the point when applyZoom is called and the error happens I have a baseConfiguration that's basically an empty object - no data['json'], no data['types'], which causes the c3 crash.