Interface: Histogram2dContourCalc
Experimental
histogram2dcontour calcdata: the 2D histogram plus its contours.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
binned | readonly | number | Experimental Samples that fell in some cell. | Histogram2dCalc.binned |
bounds | readonly | ContourBounds | Experimental The contoured area, from the first to the last grid point (linear coordinates). | ContourField.bounds |
cellPoints | readonly | Uint32Array | Experimental | Histogram2dCalc.cellPoints |
cellStart | readonly | Uint32Array | Experimental Samples of each cell: cellPoints[cellStart[c] … cellStart[c + 1]] (sample indices). | Histogram2dCalc.cellStart |
coloring | readonly | ContourColoring | Experimental contours.coloring ('none' for constraint contours, which color with line.color). | ContourField.coloring |
constraint | readonly | ContourConstraint | undefined | Experimental Set for constraint contours (contours.type: 'constraint'). | ContourField.constraint |
histfunc | readonly | HistFunc | Experimental The aggregation actually used (count without z / marker.color). | Histogram2dCalc.histfunc |
levels | readonly | ContourLevels | Experimental The levels: contours.start/end/size, or the constraint's one or two levels. | ContourField.levels |
mask? | readonly | ContourRegion | Experimental Where the data is, when gaps are not connected (contour with connectgaps: false): rings in linear coordinates for the nonzero rule. paths are already clipped to it; fills are clipped when drawn. | ContourField.mask |
nx | readonly | number | Experimental | Histogram2dCalc.nx |
ny | readonly | number | Experimental | Histogram2dCalc.ny |
paths | readonly | readonly readonly ContourPath[][] | Experimental Per level: its contour lines (smoothed), in linear coordinates. | ContourField.paths |
regions | readonly | readonly ContourRegion[] | undefined | Experimental coloring: 'fill': per level, the region z ≥ level as rings for the nonzero fill rule, in linear coordinates (painted in level order over the background). Constraint contours: the one shaded region (none for =). | ContourField.regions |
x | readonly | Histogram2dAxisBins | Experimental | Histogram2dCalc.x |
y | readonly | Histogram2dAxisBins | Experimental | Histogram2dCalc.y |
z | readonly | Float64Array | Experimental Cell values, row-major (z[j * nx + i]); NaN for empty avg / min / max cells. | Histogram2dCalc.z |
zExtent | readonly | readonly [number, number] | Experimental Finite extent of z ([NaN, NaN] without values). | Histogram2dCalc.zExtent |
zFilled | readonly | Float64Array | Experimental z with empty cells filled (what is contoured, and drawn by coloring: 'heatmap'). | ContourField.zFilled |