Skip to content

Commit 43db9b3

Browse files
committed
fixed attributes
1 parent 8d4acac commit 43db9b3

File tree

10 files changed

+7985
-560
lines changed

10 files changed

+7985
-560
lines changed

src/traces/bar/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ module.exports = {
220220
editType: 'style'
221221
},
222222

223-
tooltip: {annotationAttrs,
223+
tooltip: {values: extendFlat({}, annotationAttrs),
224224
valType: 'any',
225225
description: 'Accepts any properties typically used in annotations. This flexible structure allows for customization according to specific needs.',
226226
editType: 'calc'

src/traces/candlestick/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = {
5656

5757
hoverlabel: OHLCattrs.hoverlabel,
5858

59-
tooltip: {annotationAttrs,
59+
tooltip: {values: extendFlat({}, annotationAttrs),
6060
valType: 'any',
6161
description: 'Accepts any properties typically used in annotations. This flexible structure allows for customization according to specific needs.',
6262
editType: 'calc'

src/traces/heatmap/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ module.exports = extendFlat({
136136

137137
showlegend: extendFlat({}, baseAttrs.showlegend, {dflt: false}),
138138

139-
tooltip: {annotationAttrs,
139+
tooltip: {values: extendFlat({}, annotationAttrs),
140140
valType: 'any',
141141
description: 'Accepts any properties typically used in annotations. This flexible structure allows for customization according to specific needs.',
142142
editType: 'calc'

src/traces/histogram/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ module.exports = {
252252
bardir: barAttrs._deprecated.bardir
253253
},
254254

255-
tooltip: {annotationAttrs,
255+
tooltip: {values: extendFlat({}, annotationAttrs),
256256
valType: 'any',
257257
description: 'Accepts any properties typically used in annotations. This flexible structure allows for customization according to specific needs.',
258258
editType: 'calc'

src/traces/histogram2d/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = extendFlat(
7979
keys: 'z'
8080
}),
8181
textfont: heatmapAttrs.textfont,
82-
tooltip: {annotationAttrs,
82+
tooltip: {values: extendFlat({}, annotationAttrs),
8383
valType: 'any',
8484
description: 'Accepts any properties typically used in annotations. This flexible structure allows for customization according to specific needs.',
8585
editType: 'calc'

src/traces/ohlc/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ module.exports = {
136136
}
137137
}),
138138

139-
tooltip: {annotationAttrs,
139+
tooltip: {values: extendFlat({}, annotationAttrs),
140140
valType: 'any',
141141
description: 'Accepts any properties typically used in annotations. This flexible structure allows for customization according to specific needs.',
142142
editType: 'calc'

src/traces/scatter/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ module.exports = {
688688
arrayOk: true,
689689
description: 'Sets the text font.'
690690
}),
691-
tooltip: {annotationAttrs,
691+
tooltip: {values: extendFlat({}, annotationAttrs),
692692
valType: 'any',
693693
description: 'Accepts any properties typically used in annotations. This flexible structure allows for customization according to specific needs.',
694694
editType: 'calc'

src/traces/scattercarpet/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ module.exports = {
121121
hovertemplate: hovertemplateAttrs(),
122122
tooltip: scatterAttrs.tooltip,
123123
tooltiptemplate: extendFlat({}, scatterAttrs.tooltiptemplate, {
124-
flags: ['a', 'b', 'text', 'name']
124+
// flags: ['a', 'b', 'text', 'name']
125125
}),
126126
zorder: scatterAttrs.zorder
127127
};

src/traces/splom/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ module.exports = {
133133
}),
134134

135135
hovertemplate: hovertemplateAttrs(),
136-
tooltip: {annotationAttrs,
136+
tooltip: {values: extendFlat({}, annotationAttrs),
137137
valType: 'any',
138138
description: 'Accepts any properties typically used in annotations. This flexible structure allows for customization according to specific needs.',
139139
editType: 'calc'

0 commit comments

Comments
 (0)