File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,15 @@ Plotly.register([
3232] ) ;
3333
3434// 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+ //
3544Plotly . register ( [
3645 require ( './filter' ) ,
3746 require ( './groupby' )
Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ function registerTransformModule(newModule) {
6969 throw new Error ( prefix + ' is missing a *transform* or *calcTransform* method.' ) ;
7070 }
7171
72- // For more info, see:
73- // https://github.com/plotly/plotly.js/pull/978#pullrequestreview-2403353
7472 if ( hasTransform && hasCalcTransform ) {
7573 Lib . log ( [
7674 prefix + ' has both a *transform* and *calcTransform* methods.' ,
You can’t perform that action at this time.
0 commit comments