Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 067b1be

Browse files
committed
document pointNumbers used in histogram event data
1 parent 4538bfc commit 067b1be

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

_posts/plotly_js/chart-events/events/2017-01-01-order3-1_event_data.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,22 @@
2727
}]
2828
}
2929

30+
// Cartesian Histograms
31+
{
32+
points: [{
33+
curveNumber: 1, // index in data of the trace associated with the selected point
34+
pointNumbers: [1, 5, 28, 33, 41, ...], // Array of indices of the points aggregated into selected bin
35+
x: 1, // x value
36+
y: 45, // y value
37+
data: {/* */}, // ref to the trace as sent to Plotly.plot associated with the selected point
38+
fullData: {/* */}, // ref to the trace including all of the default attributes
39+
xaxis: {/* */}, // ref to x-axis object (i.e layout.xaxis) associated with the selected point
40+
yaxis: {/* */} // ref to y-axis object " "
41+
}, {
42+
/* similarly for other selected points */
43+
}]
44+
}
45+
3046
// 3D
3147
{
3248
points: [{

0 commit comments

Comments
 (0)