Minor Changes
-
feat(Labels): Add
layout="voronoi"to place each label towards Voronoi cell's centroid,occludeto drop overlapping labels andlinksto move labels to centroid with a leader line back to the point. (#892) -
feat(Points|Labels): Project through the chart's geo projection when present, so
<Points>(and<Labels>) render on maps. (#892) -
feat(Voronoi): Add
childrensnippet exposing per-cell geometry (point,polygon,centroid,area) for custom rendering (e.g. labels). (#892) -
feat(AnnotationPoint): Support explicit
labelX/labelYpositioning, afontSizeprop, alabelGapfor callout spacing, and alabelPlacement="smart"option that auto-orients the label and terminates its callout at the label edge. (#892) -
feat(GeoState): Support
clipExtent: trueto clip the projection to the chart dimensions ([[0, 0], [width, height]]), e.g. to trim theSphereoverflow undergeoMercator. (#892)
Patch Changes
- fix(Text|Labels): Anchor
verticalAnchorby cap-height so text sits a consistent distance from marks and aligns across the Svg, Canvas, and Html layers.placement="smart"labels now clear the point marker on all sides. (#893)