-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
If i set custom hover text on point then PointName is duplicated from this text and seems incorrect. I want be able to set both custom name and custom hover.
For example:
I want to see only "FirstPrice" as name of point
Code of trace with incorrect display:
var overbookingShowsPointsX = overbookingShowsPoints.map(point => point.x);
var overbookingShowsPointsY = overbookingShowsPoints.map(point => point.y);
var overbookingShowsPointsZ = overbookingShowsPoints.map(point => point.z);
var overbookingShowsPointsText = overbookingShowsPoints.map(point =>
"Days = " + point.x + "<br>" +
"Cap = " + point.y + "<br>" +
data.currency + " = " + point.z + "<br>" +
point.text);
var overbookingShowsPointsTrace = {
name: "Overbooking & No shows",
type: 'scatter3d',
mode: 'markers+text',
x: overbookingShowsPointsX,
y: overbookingShowsPointsY,
z: overbookingShowsPointsZ,
text: overbookingShowsPointsText,
textposition: 'top',
hoverinfo: "text",
marker: {
size: markerRadius,
color: 'rgb(11, 31, 255)',
},
namelength: 0
};
Metadata
Metadata
Assignees
Labels
No labels