File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,15 @@ Plotly.register([
32
32
] ) ;
33
33
34
34
// transforms
35
+ //
36
+ // Please note that all *transform* methods are executed before
37
+ // all *calcTransform* methods - which could possibly lead to
38
+ // unexpected results when applying multiple transforms of different types
39
+ // to a given trace.
40
+ //
41
+ // For more info, see:
42
+ // https://github.com/plotly/plotly.js/pull/978#pullrequestreview-2403353
43
+ //
35
44
Plotly . register ( [
36
45
require ( './filter' ) ,
37
46
require ( './groupby' )
Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ function registerTransformModule(newModule) {
69
69
throw new Error ( prefix + ' is missing a *transform* or *calcTransform* method.' ) ;
70
70
}
71
71
72
- // For more info, see:
73
- // https://github.com/plotly/plotly.js/pull/978#pullrequestreview-2403353
74
72
if ( hasTransform && hasCalcTransform ) {
75
73
Lib . log ( [
76
74
prefix + ' has both a *transform* and *calcTransform* methods.' ,
You can’t perform that action at this time.
0 commit comments