MCPcopy Index your code
hub / github.com/microsoft/SandDance / shouldViewstateTransition

Method shouldViewstateTransition

docs/app/js/sanddance-app.js:9649–9656  ·  view source on GitHub ↗
(newInsight, oldInsight)

Source from the content-addressed store, hash-verified

9647 });
9648 }
9649 shouldViewstateTransition(newInsight, oldInsight) {
9650 if (!oldInsight.columns) return false;
9651 if (oldInsight.chart !== newInsight.chart) return true;
9652 if (oldInsight.size.height !== newInsight.size.height) return true;
9653 if (oldInsight.size.width !== newInsight.size.width) return true;
9654 if (oldInsight.columns.facet !== newInsight.columns.facet) return true;
9655 return false;
9656 }
9657 configForSignalCapture(presenterConfig) {
9658 const colorContext = {
9659 colorMap: null,

Callers 2

_renderMethod · 0.95
setDeckPropsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected