Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 419db44

Browse filesBrowse files
committed
unified hover: default to spikemode "dot" for spikeline
1 parent f4b95c6 commit 419db44
Copy full SHA for 419db44

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/plots/cartesian/layout_defaults.js

Copy file name to clipboardExpand all lines: src/plots/cartesian/layout_defaults.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {
253253
var unifiedSpike = unifiedHover && axLetter === layoutIn.hovermode.charAt(0);
254254
var spikecolor = coerce2('spikecolor');
255255
var spikethickness = coerce2('spikethickness', unifiedHover ? 1 : undefined);
256-
var spikedash = coerce2('spikedash');
256+
var spikedash = coerce2('spikedash', unifiedHover ? 'dot' : undefined);
257257
var spikemode = coerce2('spikemode', unifiedHover ? 'across' : undefined);
258258
var spikesnap = coerce2('spikesnap');
259259
var showSpikes = coerce('showspikes', unifiedSpike || !!spikecolor || !!spikethickness || !!spikedash || !!spikemode || !!spikesnap);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.