A Legend as data (default) or an HTML swatch list ({ html: true }, via Legend.toHtml() when present, else a built-in fallback).
{ html: true }
Optional
A Legend as data (default) or an HTML swatch list (
{ html: true }, via Legend.toHtml() when present, else a built-in fallback).