Use hover crosshairs when it is important to be able to see a plotted item’s exact placement on each axis.
At container widths of 600px or less, the legend will move to the top of the chart.
When the legend is at the top and contains more items than fit in the available space, the full legend is accessible within a Popover triggered by an Icon-Only Button.
The Icon-Only Button provides access to the full legend within a Popover.
The Popover containing the full legend includes logic to prevent it from overlapping the chart unless there is no space available to the right of, or above, the data visualization.
The Popover containing the full legend has three potential positions based on the space available to the right of, and above, the chart.
When hovering over items within the legend, the plotted items associated with that item become opaque, while all other plotted items and legend items fade back.
When hovering over a plotted item, the plotted item and its matching legend item become opaque, while all other plotted items and legend items fade back. A tooltip appears, surfacing the underlying data values of the holding.
Within container widths of 600px or less, the internal padding between elements tightens.
Strive for short, succinct axis labels and legend items that clearly describe the data.