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 da65d03 commit 1c93190Copy full SHA for 1c93190
src/traces/scatter/clean_data.js
@@ -14,9 +14,11 @@
14
module.exports = function cleanData(fullData) {
15
for(var i = 0; i < fullData.length; i++) {
16
var tracei = fullData[i];
17
+ if(tracei.type !== 'scatter') continue;
18
+
19
var filli = tracei.fill;
20
+ if(filli === 'none' || filli === 'toself') continue;
21
- if((filli === 'none') || (tracei.type !== 'scatter')) continue;
22
tracei.opacity = undefined;
23
24
if(filli === 'tonexty' || filli === 'tonextx') {
0 commit comments