MCPcopy Index your code
hub / github.com/plotly/plotly.js / hasTransition

Function hasTransition

src/traces/indicator/plot.js:35–39  ·  view source on GitHub ↗
(transitionOpts)

Source from the content-addressed store, hash-verified

33var SI_PREFIX = /[yzafpnµmkMGTPEZY]/;
34
35function hasTransition(transitionOpts) {
36 // If transition config is provided, then it is only a partial replot and traces not
37 // updated are removed.
38 return transitionOpts && transitionOpts.duration > 0;
39}
40
41module.exports = function plot(gd, cdModule, transitionOpts, makeOnCompleteCallback) {
42 var fullLayout = gd._fullLayout;

Callers 5

plot.jsFile · 0.70
drawBulletGaugeFunction · 0.70
drawAngularGaugeFunction · 0.70
drawBignumberFunction · 0.70
drawDeltaFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…