About
This skill provides deep technical expertise for developing and debugging legend components in the AntV G2 library. It covers the entire rendering lifecycle—from component inference and ribbon generation to complex layout calculations and interaction handling. Whether you are implementing custom HTML legends, optimizing categorical scales, or troubleshooting bounding box issues, this skill offers domain-specific patterns to ensure your data visualizations remain clear, interactive, and visually accurate.