dynamic time series and pie charts with sigma.js events