We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59cc28e commit 8e647f3Copy full SHA for 8e647f3
src/traces/parcats/calc.js
@@ -86,14 +86,15 @@ module.exports = function calc(gd, trace) {
86
87
// Build color generation function
88
function getMarkerColorInfo(index) {
89
- var value;
+ var value, rawColor;
90
if(Lib.isArrayOrTypedArray(line.color)) {
91
value = line.color[index % line.color.length];
92
+ rawColor = value;
93
} else {
94
value = line.color;
95
}
96
- return {color: markerColorscale(value), rawColor: value};
97
+ return {color: markerColorscale(value), rawColor: rawColor};
98
99
100
// Number of values and counts
0 commit comments