org.apache.poi.ss.usermodel.charts
Interface ChartLegend
- All Superinterfaces:
- ManuallyPositionable
- All Known Implementing Classes:
- XSSFChartLegend
@Beta
public interface ChartLegend
- extends ManuallyPositionable
High level representation of chart legend.
- Author:
- Roman Kashitsyn, Martin Andersson
getPosition
LegendPosition getPosition()
- Returns:
- legend position
setPosition
void setPosition(LegendPosition position)
- Parameters:
position
- new legend position
isOverlay
boolean isOverlay()
- Returns:
- overlay value.
setOverlay
void setOverlay(boolean value)
- If true the legend is positioned over the chart area otherwise
the legend is displayed next to it.
Default is no overlay.
- Parameters:
value
-
Copyright 2017 The Apache Software Foundation or
its licensors, as applicable.