public interface LegendCallback
AbstractChart.generateLegend()
method that returns an HTML string for the legend.Modifier and Type | Method and Description |
---|---|
void |
generateLegend(AbstractChart<?,?> chart,
SafeHtmlBuilder builder)
Creates HTML representation of legend.
|
void generateLegend(AbstractChart<?,?> chart, SafeHtmlBuilder builder)
chart
- chart instancebuilder
- uses SafeHTML builder to create HTML