ui/plugins/cubism/cubism.v1.js
function beforechange(start1, stop1) {
    if (!isFinite(start)) start = start1;
    values.splice(0, Math.max(0, Math.min(size, Math.round((start1 - start) / step))));
    start = start1;
    stop = stop1;
  }
function beforechange(start1, stop1) {
    if (!isFinite(start)) start = start1;
    values.splice(0, Math.max(0, Math.min(size, Math.round((start1 - start) / step))));
    start = start1;
    stop = stop1;
  }
function beforechange ( start1 , stop1 ) { if ( ! isFinite ( start ) ) start = start1 ; values . splice ( 0 , Math . max ( 0 , Math . min ( size , Math . round ( ( start1 - start ) / step ) ) ) ) ; start = start1 ; stop = stop1 ; }
When the context changes, switch to the new data, ready-or-not!
When the context changes switch to the new data ready - or - not!