We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b5d2af commit 6cbdb49Copy full SHA for 6cbdb49
1 file changed
test/jasmine/tests/legend_test.js
@@ -2879,12 +2879,12 @@ describe('legend title click', function() {
2879
], {
2880
legend: {
2881
title: { text: 'Legend' },
2882
- titleclick: 'toggle',
2883
- titledoubleclick: false
+ titleclick: 'toggleothers',
+ titledoubleclick: 'toggle'
2884
}
2885
}).then(function() {
2886
- expect(gd._fullLayout.legend.titleclick).toBe('toggle');
2887
- expect(gd._fullLayout.legend.titledoubleclick).toBe(false);
+ expect(gd._fullLayout.legend.titleclick).toBe('toggleothers');
+ expect(gd._fullLayout.legend.titledoubleclick).toBe('toggle');
2888
}).then(done, done.fail);
2889
});
2890
0 commit comments