Skip to content

Commit 97254b3

Browse files
authored
Merge pull request #5657 from plotly/deprecate-transforms
Deprecate transform attributes
2 parents 0066e43 + 31073ab commit 97254b3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/components/calendars/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,11 @@ module.exports = {
236236
transforms: {
237237
filter: {
238238
valuecalendar: makeAttrs([
239+
'WARNING: All transforms are deprecated and may be removed from the API in next major version.',
239240
'Sets the calendar system to use for `value`, if it is a date.'
240241
].join(' ')),
241242
targetcalendar: makeAttrs([
243+
'WARNING: All transforms are deprecated and may be removed from the API in next major version.',
242244
'Sets the calendar system to use for `target`, if it is an',
243245
'array of dates. If `target` is a string (eg *x*) we use the',
244246
'corresponding trace attribute (eg `xcalendar`) if it exists,',

src/plots/attributes.js

+1
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ module.exports = {
167167
_isLinkedToArray: 'transform',
168168
editType: 'calc',
169169
description: [
170+
'WARNING: All transforms are deprecated and may be removed from the API in next major version.',
170171
'An array of operations that manipulate the trace data,',
171172
'for example filtering or sorting the data arrays.'
172173
].join(' ')

0 commit comments

Comments
 (0)