Skip to content

Commit 54b73ee

Browse files
committed
fixed splom attributes
1 parent 373ff66 commit 54b73ee

File tree

3 files changed

+719
-3
lines changed

3 files changed

+719
-3
lines changed

src/traces/splom/attributes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ module.exports = {
133133
}),
134134

135135
hovertemplate: hovertemplateAttrs(),
136-
tooltip: {
137-
type: 'object',
136+
tooltip: {annotationAttrs,
137+
valType: 'any',
138138
description: 'Accepts any properties typically used in annotations. This flexible structure allows for customization according to specific needs.',
139-
editType: 'plot'
139+
editType: 'calc'
140140
},
141141
tooltiptemplate: tooltiptemplateAttrs(),
142142

src/traces/splom/defaults.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
3636
coerce('xhoverformat');
3737
coerce('yhoverformat');
3838

39+
coerce('tooltip');
40+
coerce('tooltiptemplate');
41+
3942
handleMarkerDefaults(traceIn, traceOut, defaultColor, layout, coerce, {noAngleRef: true, noStandOff: true});
4043

4144
var isOpen = isOpenSymbol(traceOut.marker.symbol);

0 commit comments

Comments
 (0)