[]
        
(Showing Draft Content)

IPlotArea

Interface IPlotArea


public interface IPlotArea
Represents the plot area of a chart. This is the area where your chart data is plotted.

 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IPlotArea plotArea = chart.getPlotArea();
 IChartFormat format = plotArea.getFormat();
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the IChartFormat object for the plot area.
    Returns the parent object for the specified object.
  • Method Details

    • getParent

      IChart getParent()
      Returns the parent object for the specified object.
      
       IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
       IPlotArea plotArea = chart.getPlotArea();
       IChart parentChart = plotArea.getParent();
       
      Returns:
      The parent object for the specified object.
    • getFormat

      IChartFormat getFormat()
      Gets the IChartFormat object for the plot area.
      
       IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
       IPlotArea plotArea = chart.getPlotArea();
       IChartFormat format = plotArea.getFormat();
       
      Returns:
      The IChartFormat object for the plot area.