| Package | Description |
|---|---|
| com.orsoncharts | |
| com.orsoncharts.legend |
Classes related to chart legends.
|
| com.orsoncharts.util |
General and utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
Orientation |
Chart3D.getLegendOrientation()
Returns the orientation for the legend.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Chart3D.setLegendOrientation(Orientation orientation)
Sets the legend orientation and sends a
Chart3DChangeEvent
to all registered listeners. |
void |
Chart3D.setLegendPosition(Anchor2D anchor,
Orientation orientation)
Sets the legend position (both the anchor point and the orientation) and
sends a
Chart3DChangeEvent to all registered listeners. |
| Modifier and Type | Method and Description |
|---|---|
Orientation |
ColorScaleElement.getOrientation()
Returns the orientation.
|
| Modifier and Type | Method and Description |
|---|---|
TableElement |
StandardLegendBuilder.createLegend(Plot3D plot,
Anchor2D anchor,
Orientation orientation,
ChartStyle style)
Creates and returns a legend (instance of
TableElement) that
provides a visual key for the data series in the specified plot. |
TableElement |
LegendBuilder.createLegend(Plot3D plot,
Anchor2D anchor,
Orientation orientation,
ChartStyle style)
Creates a legend for the specified plot.
|
TableElement |
ColorScaleLegendBuilder.createLegend(Plot3D plot,
Anchor2D anchor,
Orientation orientation,
ChartStyle style)
Creates a new color scale legend with the specified orientation.
|
| Constructor and Description |
|---|
ColorScaleElement(ColorScale scale,
Orientation orientation,
double barWidth,
double barLength,
java.awt.Font font,
java.awt.Color textColor)
Creates a new
ColorScaleElement with the specified
attributes. |
| Modifier and Type | Method and Description |
|---|---|
static Orientation |
Orientation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
Orientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|