Expand description
Hexbin chart builder methods.
Provides a fluent builder API for configuring HexbinArtist instances
and the hexagonal binning algorithm. Each builder method returns &mut Self,
allowing calls to be chained for concise, readable chart construction.
Structs§
- HexBin
Result - Result of binning data points into hexagonal cells.
- HexCell
- A hex cell key for the flat-top hexagonal grid.
Functions§
- bin_
hexagonal - Bins
(x, y)data points into a flat-top hexagonal grid. - hex_
size_ for_ gridsize - Returns the hex circumradius for a given gridsize and x-extent.
- hexagon_
vertices - Computes the 6 vertices of a flat-top regular hexagon centered at
(cx, cy)with the given circumradiussize.