public interface LegendBuilder
get/setItemFont() methods have been added for convenience
because changing the font of the legend item text is a very common
operation.
Classes that implement this interface should also implement
java.io.Serializable if you intend to serialize and deserialize
chart objects.
Chart3D.setLegendBuilder(LegendBuilder)| Modifier and Type | Method and Description |
|---|---|
TableElement |
createLegend(Plot3D plot,
Anchor2D anchor,
Orientation orientation,
ChartStyle style)
Creates a legend for the specified plot.
|
TableElement createLegend(Plot3D plot, Anchor2D anchor, Orientation orientation, ChartStyle style)
null, no legend will be displayed.plot - the plot (null not permitted).anchor - the anchor (null not permitted).orientation - the legend orientation (null not
permitted).style - the style (null not permitted).null).