# IChart

## Content

<div class="docapp-java-api-doc-main"><style>:not(h1, h2, h3, h4, h5, h6)>code,
:not(h1, h2, h3, h4, h5, h6)>tt {
    font-size: 14px;
    padding-top: 4px;
    margin-top: 8px;
    line-height: 1.4em;
}

.summary-table dt code {
    font-size: 14px;
    vertical-align: top;
    padding-top: 4px;
}

.tab {
    background-color: #0066FF;
    color: #ffffff;
    padding: 8px;
    width: 5em;
    font-weight: bold;
}

/*
 * Styles for page header and footer.
 */
.title {
    color: #2c4557;
    margin: 10px 0;
}

.sub-title {
    margin: 5px 0 0 0;
}

.header ul {
    margin: 0 0 15px 0;
    padding: 0;
}

.header ul li,
.footer ul li {
    list-style: none;
}

/*
 * Styles for headings.
 */
.summary h2,
.details h2,
h2,
.block-list h2 {
    padding: 0;
    margin: 15px 0;
}

.summary h3,
.details h3,
.summary .inherited-list h2 {
    background-color: var(--ds-product-color);
    color: #fff;
    border: 1px solid #d0d9e0;
    padding: 7px 5px;
}

.summary h3 a,
.details h3 a,
.summary .inherited-list h2 a {
    color: #fff !important;
}
/*
 * Styles for page layout containers.
 */
dl.notes>dt {
    font-size: 12px;
    font-weight: bold;
    margin: 10px 0 0 0;
    color: #4E4E4E;
}

dl.notes>dd {
    margin: 5px 10px 10px 0;
    font-size: 14px;
}

dl.name-value>dt {
    margin-left: 1px;
    font-size: 1.1em;
    display: inline;
    font-weight: bold;
}

dl.name-value>dd {
    margin: 0 0 0 1px;
    font-size: 1.1em;
    display: inline;
}

/*
 * Styles for lists.
 */
li.circle {
    list-style: circle;
}

ul.horizontal li {
    display: inline;
    font-size: 0.9em;
}

div.inheritance {
    margin: 0;
    padding: 0;
}

div.inheritance div.inheritance {
    margin-left: 2em;
}

ul.block-list,
ul.details-list,
ul.member-list,
ul.summary-list {
    margin: 10px 0 10px 0;
    padding: 0;
}

ul.block-list>li,
ul.details-list>li,
ul.member-list>li,
ul.summary-list>li {
    list-style: none;
    margin-bottom: 15px;
    line-height: 1.4;
}

.summary-table dl,
.summary-table dl dt,
.summary-table dl dd {
    margin-top: 0;
    margin-bottom: 1px;
}

ul.see-list,
ul.see-list-long {
    padding-left: 0;
    list-style: none;
}

ul.see-list li {
    display: inline;
}

ul.see-list li:not(:last-child):after,
ul.see-list-long li:not(:last-child):after {
    content: ", ";
    white-space: pre-wrap;
}

/*
 * Styles for tables.
 */
.summary-table,
.details-table {
    width: 100%;
    border-spacing: 0;
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    padding: 0;
}

.caption {
    position: relative;
    text-align: left;
    background-repeat: no-repeat;
    color: #253441;
    font-weight: bold;
    clear: none;
    overflow: hidden;
    padding: 0;
    padding-top: 10px;
    padding-left: 1px;
    margin: 0;
    white-space: pre;
}

.caption a:link,
.caption a:visited {
    color: #1f389c;
}

.caption a:hover,
.caption a:active {
    color: #FFFFFF;
}

.caption span {
    white-space: nowrap;
    padding-top: 5px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 7px;
    display: inline-block;
    background-color: var(--ds-product-color);
    color: #fff;
    border: none;
}

div.table-tabs {
    padding: 10px 0 0 1px;
    margin: 0;
}

div.table-tabs>button {
    border: none;
    cursor: pointer;
    padding: 5px 12px 7px 12px;
    font-weight: bold;
    margin-right: 3px;
}

div.table-tabs>button.active-table-tab {
    background: var(--ds-product-color);
    color: #fff;
}

div.table-tabs>button.table-tab {
    background: var(--ds-product-color);
    color: #FFFFFF;
    border-bottom: 1px solid #eee;
}

.two-column-summary {
    display: grid;
    grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
}

.three-column-summary {
    display: grid;
    grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, auto);
}

.four-column-summary {
    display: grid;
    grid-template-columns: minmax(10%, max-content) minmax(10%, max-content) minmax(10%, max-content) minmax(10%, auto);
}

@media screen and (max-width: 600px) {
    .two-column-summary {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 800px) {
    .three-column-summary {
        display: grid;
        grid-template-columns: minmax(10%, max-content) minmax(25%, auto);
    }

    .three-column-summary .col-last {
        grid-column-end: span 2;
    }
}

@media screen and (max-width: 1000px) {
    .four-column-summary {
        display: grid;
        grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
    }
}

.summary-table>div,
.details-table>div {
    text-align: left;
    padding: 8px 3px 3px 7px;
}

.col-first,
.col-second,
.col-last,
.col-constructor-name,
.col-summary-item-name {
    vertical-align: top;
    padding-right: 0;
    padding-top: 8px;
    padding-bottom: 3px;
}

.table-header {
    background: var(--ds-product-color);
    color: #fff;
    font-weight: bold;
}

.col-first,
.col-first {
    font-size: 13px;
}

.col-second,
.col-second,
.col-last,
.col-constructor-name,
.col-summary-item-name,
.col-last {
    font-size: 13px;
}

.col-first,
.col-second,
.col-constructor-name {
    vertical-align: top;
    overflow: auto;
}

.col-last {
    white-space: normal;
}

.col-first a:link,
.col-first a:visited,
.col-second a:link,
.col-second a:visited,
.col-first a:link,
.col-first a:visited,
.col-second a:link,
.col-second a:visited,
.col-constructor-name a:link,
.col-constructor-name a:visited,
.col-summary-item-name a:link,
.col-summary-item-name a:visited,
.constant-values-container a:link,
.constant-values-container a:visited,
.all-classes-container a:link,
.all-classes-container a:visited,
.all-packages-container a:link,
.all-packages-container a:visited {
    font-weight: bold;
}

.table-sub-heading-color {
    background-color: #EEEEFF;
}

.even-row-color,
.even-row-color .table-header {
    background-color: #FFFFFF;
}

.odd-row-color,
.odd-row-color .table-header {
    background-color: #EEEEEF;
}

/*
 * Styles for contents.
 */
.deprecated-content {
    margin: 0;
    padding: 10px 0;
}

div.block {
    font-size: 14px;
}

.col-last div {
    padding-top: 0;
}

.col-last a {
    padding-bottom: 3px;
}

.module-signature,
.package-signature,
.type-signature,
.member-signature {
    font-size: 14px;
    margin: 14px 0;
    white-space: pre-wrap;
}

.module-signature,
.package-signature,
.type-signature {
    margin-top: 0;
}

.member-signature .type-parameters-long,
.member-signature .parameters,
.member-signature .exceptions {
    display: inline-block;
    vertical-align: top;
    white-space: pre;
}

.member-signature .type-parameters {
    white-space: normal;
}

/*
 * Styles for formatting effect.
 */
.source-line-no {
    color: green;
    padding: 0 30px 0 0;
}

h1.hidden {
    visibility: hidden;
    overflow: hidden;
    font-size: 10px;
}

.block {
    display: block;
    margin: 0 10px 5px 0;
    color: #474747;
}

.deprecated-label,
.descfrm-type-label,
.implementation-label,
.member-name-label,
.member-name-link,
.module-label-in-package,
.module-label-in-type,
.override-specify-label,
.package-label-in-type,
.package-hierarchy-label,
.type-name-label,
.type-name-link,
.search-tag-link,
.preview-label {
    font-weight: bold;
}

.deprecation-block {
    font-size: 14px;
    border-style: solid;
    border-width: thin;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}

.preview-block {
    font-size: 14px;
    border-style: solid;
    border-width: thin;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}

/*
 * Styles for user-provided tables.
 *
 * borderless:
 *      No borders, vertical margins, styled caption.
 *      This style is provided for use with existing doc comments.
 *      In general, borderless tables should not be used for layout purposes.
 *
 * plain:
 *      Plain borders around table and cells, vertical margins, styled caption.
 *      Best for small tables or for complex tables for tables with cells that span
 *      rows and columns, when the "striped" style does not work well.
 *
 * striped:
 *      Borders around the table and vertical borders between cells, striped rows,
 *      vertical margins, styled caption.
 *      Best for tables that have a header row, and a body containing a series of simple rows.
 */

table.borderless,
table.plain,
table.striped {
    margin-top: 10px;
    margin-bottom: 10px;
}

table.borderless>caption,
table.plain>caption,
table.striped>caption {
    font-weight: bold;
    font-size: smaller;
}

table.borderless th,
table.borderless td,
table.plain th,
table.plain td,
table.striped th,
table.striped td {
    padding: 2px 5px;
}

table.borderless,
table.borderless>thead>tr>th,
table.borderless>tbody>tr>th,
table.borderless>tr>th,
table.borderless>thead>tr>td,
table.borderless>tbody>tr>td,
table.borderless>tr>td {
    border: none;
}

table.borderless>thead>tr,
table.borderless>tbody>tr,
table.borderless>tr {
    background-color: transparent;
}

table.plain {
    border-collapse: collapse;
    border: 1px solid black;
}

table.plain>thead>tr,
table.plain>tbody tr,
table.plain>tr {
    background-color: transparent;
}

table.plain>thead>tr>th,
table.plain>tbody>tr>th,
table.plain>tr>th,
table.plain>thead>tr>td,
table.plain>tbody>tr>td,
table.plain>tr>td {
    border: 1px solid black;
}

table.striped {
    border-collapse: collapse;
    border: 1px solid black;
}

table.striped>thead {
    background-color: #E3E3E3;
}

table.striped>thead>tr>th,
table.striped>thead>tr>td {
    border: 1px solid black;
}

table.striped>tbody>tr:nth-child(even) {
    background-color: #EEE
}

table.striped>tbody>tr:nth-child(odd) {
    background-color: #FFF
}

table.striped>tbody>tr>th,
table.striped>tbody>tr>td {
    border-left: 1px solid black;
    border-right: 1px solid black;
}

table.striped>tbody>tr>th {
    font-weight: normal;
}
</style><h1>Interface IChart</h1>
<!-- ======== START OF CLASS DATA ======== -->

<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">IChart</span></div>
<div class="block">Represents a chart object in a worksheet. <p>An  <code>IChart</code> provides access to the chart's data series, axes, title, legend, plot area, and chart type so you can create and configure charts that  are hosted by worksheet shapes.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Month", "Sales"},
     {"Jan", 100},
     {"Feb", 120}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B3"), RowCol.Columns, true, true);
 </code></pre></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div aria-orientation="horizontal" class="table-tabs" role="tablist"><button aria-controls="method-summary-table.tabpanel" aria-selected="true" class="active-table-tab" id="method-summary-table-tab0" onclick="show('method-summary-table', 'method-summary-table', 3)" onkeydown="switchTab(event)" role="tab" tabindex="0">All Methods</button><button aria-controls="method-summary-table.tabpanel" aria-selected="false" class="table-tab" id="method-summary-table-tab2" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" onkeydown="switchTab(event)" role="tab" tabindex="-1">Instance Methods</button><button aria-controls="method-summary-table.tabpanel" aria-selected="false" class="table-tab" id="method-summary-table-tab3" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" onkeydown="switchTab(event)" role="tab" tabindex="-1">Abstract Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div aria-labelledby="method-summary-table-tab0" class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addChart(com.grapecity.documents.excel.drawing.ChartType,double,double,double,double)">addChart</a><wbr>(<a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing">ChartType</a>&nbsp;chartType,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Creates a chart at the specified location in this chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addChartInPixel(com.grapecity.documents.excel.drawing.ChartType,double,double,double,double)">addChartInPixel</a><wbr>(<a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing">ChartType</a>&nbsp;chartType,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Creates a chart at the specified location in this chart using pixel-based coordinates.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addConnector(com.grapecity.documents.excel.drawing.ConnectorType,double,double,double,double)">addConnector</a><wbr>(<a href="ConnectorType.html" title="enum class in com.grapecity.documents.excel.drawing">ConnectorType</a>&nbsp;type,
 double&nbsp;beginX,
 double&nbsp;beginY,
 double&nbsp;endX,
 double&nbsp;endY)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Creates a connector shape in the chart area and returns the  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new connector shape.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addConnectorInPixel(com.grapecity.documents.excel.drawing.ConnectorType,double,double,double,double)">addConnectorInPixel</a><wbr>(<a href="ConnectorType.html" title="enum class in com.grapecity.documents.excel.drawing">ConnectorType</a>&nbsp;type,
 double&nbsp;beginX,
 double&nbsp;beginY,
 double&nbsp;endX,
 double&nbsp;endY)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Creates a connector in the chart using pixel-based coordinates.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addPicture(java.io.InputStream,com.grapecity.documents.excel.drawing.ImageType,double,double,double,double)">addPicture</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io">InputStream</a>&nbsp;stream,
 <a href="ImageType.html" title="enum class in com.grapecity.documents.excel.drawing">ImageType</a>&nbsp;type,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Creates a picture from an existing stream and adds it to the chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addPicture(java.lang.String,double,double,double,double)">addPicture</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;filename,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Creates a picture from an existing file and adds it to the chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addPictureInPixel(java.io.InputStream,com.grapecity.documents.excel.drawing.ImageType,double,double,double,double)">addPictureInPixel</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io">InputStream</a>&nbsp;stream,
 <a href="ImageType.html" title="enum class in com.grapecity.documents.excel.drawing">ImageType</a>&nbsp;type,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Creates a picture from an existing stream at the specified position and size, measured in pixels, and returns the shape that represents the picture.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addPictureInPixel(java.lang.String,double,double,double,double)">addPictureInPixel</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;filename,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Creates a picture from an existing file and adds it to the chart using pixel-based coordinates.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addShape(com.grapecity.documents.excel.drawing.AutoShapeType,double,double,double,double)">addShape</a><wbr>(<a href="AutoShapeType.html" title="enum class in com.grapecity.documents.excel.drawing">AutoShapeType</a>&nbsp;type,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Adds an AutoShape to the chart and returns the corresponding  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#addShapeInPixel(com.grapecity.documents.excel.drawing.AutoShapeType,double,double,double,double)">addShapeInPixel</a><wbr>(<a href="AutoShapeType.html" title="enum class in com.grapecity.documents.excel.drawing">AutoShapeType</a>&nbsp;type,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Creates an AutoShape in this chart using pixel-based coordinates.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#delete()">delete</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Deletes the chart from the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getArea3DGroup()">getArea3DGroup</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the area chart group on a 3-D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getAreaGroups()">getAreaGroups</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of area chart groups on a 2D chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getAutoScaling()">getAutoScaling</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether a 3-D chart is automatically scaled to be closer in size to the corresponding 2-D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IAxes.html" title="interface in com.grapecity.documents.excel.drawing">IAxes</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getAxes()">getAxes</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of axes on the chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing">IWall</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBackWall()">getBackWall</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> object that allows you to individually format the back wall of a 3-D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBar3DGroup()">getBar3DGroup</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the bar chart group on a 3-D chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBarGroups()">getBarGroups</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of bar chart groups on a 2D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="BarShape.html" title="enum class in com.grapecity.documents.excel.drawing">BarShape</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBarShape()">getBarShape</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the shape used with the 3-D bar or column chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartArea.html" title="interface in com.grapecity.documents.excel.drawing">IChartArea</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getChartArea()">getChartArea</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IChartArea.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartArea</code></a> object that represents the complete chart area of the chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getChartGroups()">getChartGroups</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of all chart groups in the chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartTitle.html" title="interface in com.grapecity.documents.excel.drawing">IChartTitle</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getChartTitle()">getChartTitle</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IChartTitle.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartTitle</code></a> object that represents the title of the chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing">ChartType</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getChartType()">getChartType</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the type of the chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getColumn3DGroup()">getColumn3DGroup</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the column chart group on a 3-D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getColumnGroups()">getColumnGroups</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of column chart groups on a 2-D chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IDataTable.html" title="interface in com.grapecity.documents.excel.drawing">IDataTable</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDataTable()">getDataTable</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IDataTable.html" title="interface in com.grapecity.documents.excel.drawing"><code>IDataTable</code></a> object that represents the chart data table.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDepthPercent()">getDepthPercent</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the depth of a 3-D chart as a percentage of the chart width.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="../DisplayBlanksAs.html" title="enum class in com.grapecity.documents.excel">DisplayBlanksAs</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDisplayBlanksAs()">getDisplayBlanksAs</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the way that blank cells are plotted on the chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDisplayNaAsBlank()">getDisplayNaAsBlank</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the chart displays  <code>#N/A</code> values as empty cells.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDoughnutGroups()">getDoughnutGroups</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of doughnut chart groups on a 2D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getElevation()">getElevation</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the elevation of the 3-D chart view in degrees.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IFloor.html" title="interface in com.grapecity.documents.excel.drawing">IFloor</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getFloor()">getFloor</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IFloor.html" title="interface in com.grapecity.documents.excel.drawing"><code>IFloor</code></a> object that represents the floor of a 3-D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getGapDepth()">getGapDepth</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the distance between the data series in a 3-D chart as a percentage of the marker width.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getHasDataTable()">getHasDataTable</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a value indicating whether the chart displays a data table.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getHasLegend()">getHasLegend</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the chart has a legend.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getHasTitle()">getHasTitle</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the chart has a visible title.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getHeightPercent()">getHeightPercent</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the height of a 3-D chart as a percentage of the chart width.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ILegend.html" title="interface in com.grapecity.documents.excel.drawing">ILegend</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getLegend()">getLegend</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the legend for the chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getLine3DGroup()">getLine3DGroup</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the line chart group on a 3-D chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getLineGroups()">getLineGroups</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of line chart groups on a 2D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getName()">getName</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the name of the chart object.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getParent()">getParent</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the parent  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> that contains the chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPerspective()">getPerspective</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the perspective for the 3-D chart view.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPie3DGroup()">getPie3DGroup</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the pie chart group on a 3-D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPieGroups()">getPieGroups</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of pie chart groups on a 2D chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IPivotOptions.html" title="interface in com.grapecity.documents.excel.drawing">IPivotOptions</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPivotOptions()">getPivotOptions</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the pivot chart button display options.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="../IPivotTable.html" title="interface in com.grapecity.documents.excel">IPivotTable</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPivotTable()">getPivotTable</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="../IPivotTable.html" title="interface in com.grapecity.documents.excel"><code>IPivotTable</code></a> associated with the chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IPlotArea.html" title="interface in com.grapecity.documents.excel.drawing">IPlotArea</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPlotArea()">getPlotArea</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the plot area of the chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPlotVisibleOnly()">getPlotVisibleOnly</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the chart plots only visible cells.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getRadarGroups()">getRadarGroups</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of radar chart groups on a 2D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getRightAngleAxes()">getRightAngleAxes</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the chart axes are displayed at right angles, regardless of chart rotation or elevation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getRotation()">getRotation</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the rotation of the 3-D chart view.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ISeriesCollection.html" title="interface in com.grapecity.documents.excel.drawing">ISeriesCollection</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getSeriesCollection()">getSeriesCollection</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of all series in the chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util">List</a>&lt;<a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShapes()">getShapes</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets all drawing shapes in this chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShowDataLabelsOverMaximum()">getShowDataLabelsOverMaximum</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether to show data labels when a value is greater than the maximum value on the value axis.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing">IWall</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getSideWall()">getSideWall</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> object that allows individual formatting of the side wall of a 3-D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getSurfaceGroup()">getSurfaceGroup</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the surface chart group on a 3-D chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing">IWall</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getWalls()">getWalls</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> object that represents the walls of a 3-D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getXYGroups()">getXYGroups</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of scatter chart groups on a 2D chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setAutoScaling(boolean)">setAutoScaling</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether a 3-D chart is automatically scaled to be closer in size to the corresponding 2-D chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setBarShape(com.grapecity.documents.excel.drawing.BarShape)">setBarShape</a><wbr>(<a href="BarShape.html" title="enum class in com.grapecity.documents.excel.drawing">BarShape</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the shape used with the 3-D bar or column chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setChartType(com.grapecity.documents.excel.drawing.ChartType)">setChartType</a><wbr>(<a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing">ChartType</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the chart type.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setDepthPercent(int)">setDepthPercent</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the depth of a 3-D chart as a percentage of the chart width.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setDisplayBlanksAs(com.grapecity.documents.excel.DisplayBlanksAs)">setDisplayBlanksAs</a><wbr>(<a href="../DisplayBlanksAs.html" title="enum class in com.grapecity.documents.excel">DisplayBlanksAs</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets how blank cells are plotted on the chart.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setDisplayNaAsBlank(boolean)">setDisplayNaAsBlank</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the chart displays  <code>#N/A</code> values as empty cells.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setElevation(double)">setElevation</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the elevation of the 3-D chart view in degrees.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setGapDepth(int)">setGapDepth</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the distance between the data series in a 3-D chart as a percentage of the marker width.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setHasDataTable(boolean)">setHasDataTable</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets a value indicating whether the chart displays a data table.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setHasLegend(boolean)">setHasLegend</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the chart has a legend.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setHasTitle(boolean)">setHasTitle</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the chart has a visible title.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setHeightPercent(int)">setHeightPercent</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the height of a 3-D chart as a percentage of the chart width.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setPerspective(int)">setPerspective</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the perspective for the 3-D chart view.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setPlotVisibleOnly(boolean)">setPlotVisibleOnly</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the chart plots only visible cells.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setRightAngleAxes(boolean)">setRightAngleAxes</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the chart axes are displayed at right angles, regardless of chart rotation or elevation.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setRotation(double)">setRotation</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the rotation of the 3-D chart view.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setShowDataLabelsOverMaximum(boolean)">setShowDataLabelsOverMaximum</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether to show data labels when a value is greater than the maximum value on the value axis.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setSourceData(com.grapecity.documents.excel.IRange)">setSourceData</a><wbr>(<a href="../IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;source)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the source data range for the chart.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setSourceData(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.drawing.RowCol)">setSourceData</a><wbr>(<a href="../IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;source,
 <a href="RowCol.html" title="enum class in com.grapecity.documents.excel.drawing">RowCol</a>&nbsp;plotBy)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the source data range for the chart and specifies whether each data series is taken from rows or columns.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="getName()">
<h3>getName</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></span>&nbsp;<span class="element-name">getName</span>()</div>
<div class="block">Gets the name of the chart object. <p>The returned value is the object name assigned to the chart.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 String name = chart.getName();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The name of the chart object.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getParent()">
<h3>getParent</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">getParent</span>()</div>
<div class="block">Gets the parent  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> that contains the chart.<p>Use this method to access the shape object that hosts the chart, such as when  you need to work with the chart through the worksheet's shape collection.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape parent = chart.getParent();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The parent <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> of the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChartType()">
<h3>getChartType</h3>
<div class="member-signature"><span class="return-type"><a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing">ChartType</a></span>&nbsp;<span class="element-name">getChartType</span>()</div>
<div class="block">Gets the type of the chart. <p>The returned  <a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ChartType</code></a> value identifies the current chart type, such as column, line, pie, or 3-D chart types.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 ChartType chartType = chart.getChartType();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current <a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ChartType</code></a> of the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setChartType(com.grapecity.documents.excel.drawing.ChartType)">
<h3>setChartType</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setChartType</span><wbr><span class="parameters">(<a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing">ChartType</a>&nbsp;value)</span></div>
<div class="block">Sets the chart type. <p>Use this method to change an existing chart to another  <a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ChartType</code></a>.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setChartType(ChartType.Line);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The <a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ChartType</code></a> to apply to the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSeriesCollection()">
<h3>getSeriesCollection</h3>
<div class="member-signature"><span class="return-type"><a href="ISeriesCollection.html" title="interface in com.grapecity.documents.excel.drawing">ISeriesCollection</a></span>&nbsp;<span class="element-name">getSeriesCollection</span>()</div>
<div class="block">Gets the collection of all series in the chart. <p>Use the returned  <a href="ISeriesCollection.html" title="interface in com.grapecity.documents.excel.drawing"><code>ISeriesCollection</code></a> object to access, add, or modify the series contained in the chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Month", "Sales"},
     {"Jan", 100},
     {"Feb", 120}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B3"));
 ISeriesCollection seriesCollection = chart.getSeriesCollection();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The collection of all series in the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAxes()">
<h3>getAxes</h3>
<div class="member-signature"><span class="return-type"><a href="IAxes.html" title="interface in com.grapecity.documents.excel.drawing">IAxes</a></span>&nbsp;<span class="element-name">getAxes</span>()</div>
<div class="block">Gets the collection of axes on the chart. <p>Use the returned  <a href="IAxes.html" title="interface in com.grapecity.documents.excel.drawing"><code>IAxes</code></a> object to access the chart's category, value, or series axes, such as by calling  <a href="IAxes.html#item(com.grapecity.documents.excel.drawing.AxisType,com.grapecity.documents.excel.drawing.AxisGroup)"><code>IAxes.item(AxisType,AxisGroup)</code></a>.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IAxes axes = chart.getAxes();
 IAxis categoryAxis = axes.item(AxisType.Category, AxisGroup.Primary);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IAxes.html" title="interface in com.grapecity.documents.excel.drawing"><code>IAxes</code></a> collection that contains the axes of the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChartArea()">
<h3>getChartArea</h3>
<div class="member-signature"><span class="return-type"><a href="IChartArea.html" title="interface in com.grapecity.documents.excel.drawing">IChartArea</a></span>&nbsp;<span class="element-name">getChartArea</span>()</div>
<div class="block">Gets the  <a href="IChartArea.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartArea</code></a> object that represents the complete chart area of the chart.<p>The chart area contains the chart elements outside the plotted data region, such as  the chart title and legend. For the area where data is plotted, see  <a href="#getPlotArea()"><code>getPlotArea()</code></a>.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IChartArea chartArea = chart.getChartArea();
 chartArea.getFormat().getFill().getColor().setRGB(Color.GetRed());
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartArea.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartArea</code></a> object that represents the complete chart area of the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChartTitle()">
<h3>getChartTitle</h3>
<div class="member-signature"><span class="return-type"><a href="IChartTitle.html" title="interface in com.grapecity.documents.excel.drawing">IChartTitle</a></span>&nbsp;<span class="element-name">getChartTitle</span>()</div>
<div class="block">Gets the  <a href="IChartTitle.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartTitle</code></a> object that represents the title of the chart.<p>Use the returned title object to read or modify chart title properties, such as  the title text and formatting.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.getChartTitle().setText("Sales Analysis");
 IChartTitle title = chart.getChartTitle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartTitle.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartTitle</code></a> object that represents the title of the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPlotArea()">
<h3>getPlotArea</h3>
<div class="member-signature"><span class="return-type"><a href="IPlotArea.html" title="interface in com.grapecity.documents.excel.drawing">IPlotArea</a></span>&nbsp;<span class="element-name">getPlotArea</span>()</div>
<div class="block">Gets the plot area of the chart. <p>The plot area is the region where the chart data series are drawn.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IPlotArea plotArea = chart.getPlotArea();
 IChartFormat format = plotArea.getFormat();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IPlotArea.html" title="interface in com.grapecity.documents.excel.drawing"><code>IPlotArea</code></a> object that represents the plot area of the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLegend()">
<h3>getLegend</h3>
<div class="member-signature"><span class="return-type"><a href="ILegend.html" title="interface in com.grapecity.documents.excel.drawing">ILegend</a></span>&nbsp;<span class="element-name">getLegend</span>()</div>
<div class="block">Gets the legend for the chart. <p>Use the returned  <a href="ILegend.html" title="interface in com.grapecity.documents.excel.drawing"><code>ILegend</code></a> object to configure legend settings such as position, font, and formatting. To control whether the legend is displayed, use  <a href="#setHasLegend(boolean)"><code>setHasLegend(boolean)</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:C3").setValue(new Object[][] {
     {"Month", "Q1", "Q2"},
     {"Jan", 10, 20},
     {"Feb", 15, 25}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:C3"), RowCol.Columns, true, true);
 chart.setHasLegend(true);
 ILegend legend = chart.getLegend();
 legend.setPosition(LegendPosition.Left);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ILegend.html" title="interface in com.grapecity.documents.excel.drawing"><code>ILegend</code></a> object that represents the legend for the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDataTable()">
<h3>getDataTable</h3>
<div class="member-signature"><span class="return-type"><a href="IDataTable.html" title="interface in com.grapecity.documents.excel.drawing">IDataTable</a></span>&nbsp;<span class="element-name">getDataTable</span>()</div>
<div class="block">Gets the  <a href="IDataTable.html" title="interface in com.grapecity.documents.excel.drawing"><code>IDataTable</code></a> object that represents the chart data table.<p>Use the returned  <a href="IDataTable.html" title="interface in com.grapecity.documents.excel.drawing"><code>IDataTable</code></a> object to access the formatting and display settings of the chart data table. To display a data table for the chart, set  <a href="#setHasDataTable(boolean)"><code>setHasDataTable(boolean)</code></a> to <code>true</code> before using this method.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:C3").setValue(new Object[][] {
     {"Item", "Estimated", "Actual"},
     {"Income", 63300, 57450},
     {"Expenses", 54500, 49630}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:C3"));
 chart.setHasDataTable(true);
 IDataTable dataTable = chart.getDataTable();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IDataTable.html" title="interface in com.grapecity.documents.excel.drawing"><code>IDataTable</code></a> object that represents the chart data table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFloor()">
<h3>getFloor</h3>
<div class="member-signature"><span class="return-type"><a href="IFloor.html" title="interface in com.grapecity.documents.excel.drawing">IFloor</a></span>&nbsp;<span class="element-name">getFloor</span>()</div>
<div class="block">Gets the  <a href="IFloor.html" title="interface in com.grapecity.documents.excel.drawing"><code>IFloor</code></a> object that represents the floor of a 3-D chart.<p>Use this property to access floor-specific formatting and thickness settings for a 3-D chart.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 IFloor floor = chart.getFloor();
 floor.setThickness(120);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IFloor.html" title="interface in com.grapecity.documents.excel.drawing"><code>IFloor</code></a> object that represents the floor of the 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getWalls()">
<h3>getWalls</h3>
<div class="member-signature"><span class="return-type"><a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing">IWall</a></span>&nbsp;<span class="element-name">getWalls</span>()</div>
<div class="block">Gets the  <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> object that represents the walls of a 3-D chart.<p>Use this method to access wall formatting that applies to the chart walls as a whole.  To format the side wall or back wall individually, use  <a href="#getSideWall()"><code>getSideWall()</code></a> or <a href="#getBackWall()"><code>getBackWall()</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 10},
     {"B", 20}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Column3D, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B3"), RowCol.Columns, true, true);
 IWall walls = chart.getWalls();
 walls.setThickness(20);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> object that represents the walls of the 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSideWall()">
<h3>getSideWall</h3>
<div class="member-signature"><span class="return-type"><a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing">IWall</a></span>&nbsp;<span class="element-name">getSideWall</span>()</div>
<div class="block">Gets the  <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> object that allows individual formatting of the side wall of a 3-D chart.<p>Use the returned wall to configure side-wall properties such as thickness, fill, and line formatting.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Column3D, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B3"), RowCol.Columns, true, true);
 IWall sideWall = chart.getSideWall();
 sideWall.setThickness(20);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> object for the side wall of the 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBackWall()">
<h3>getBackWall</h3>
<div class="member-signature"><span class="return-type"><a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing">IWall</a></span>&nbsp;<span class="element-name">getBackWall</span>()</div>
<div class="block">Gets the  <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> object that allows you to individually format the back wall of a 3-D chart.<p>Use the returned  <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> to configure properties such as the back wall's fill, line, and thickness.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Quarter", "Sales"},
     {"Q1", 100},
     {"Q2", 200}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B3"), RowCol.Columns, true, true);
 IWall backWall = chart.getBackWall();
 backWall.getFormat().getFill().getColor().setRGB(Color.GetRed());
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IWall.html" title="interface in com.grapecity.documents.excel.drawing"><code>IWall</code></a> object that represents the back wall of the 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAutoScaling()">
<h3>getAutoScaling</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getAutoScaling</span>()</div>
<div class="block">Gets whether a 3-D chart is automatically scaled to be closer in size to the corresponding 2-D chart. <p>This property applies when  <a href="#getRightAngleAxes()"><code>getRightAngleAxes()</code></a> is <code>true</code>.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setRightAngleAxes(true);
 chart.setAutoScaling(true);
 boolean autoScaling = chart.getAutoScaling();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the 3-D chart is automatically scaled to be closer in size to the corresponding 2-D chart; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAutoScaling(boolean)">
<h3>setAutoScaling</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setAutoScaling</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether a 3-D chart is automatically scaled to be closer in size to the corresponding 2-D chart. <p>This property applies when  <a href="#getRightAngleAxes()"><code>getRightAngleAxes()</code></a> is <code>true</code>.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setRightAngleAxes(true);
 chart.setAutoScaling(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the 3-D chart is automatically scaled to be closer in size to the corresponding 2-D chart; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBarShape()">
<h3>getBarShape</h3>
<div class="member-signature"><span class="return-type"><a href="BarShape.html" title="enum class in com.grapecity.documents.excel.drawing">BarShape</a></span>&nbsp;<span class="element-name">getBarShape</span>()</div>
<div class="block">Gets the shape used with the 3-D bar or column chart. <p>Use this property to determine which  <a href="BarShape.html" title="enum class in com.grapecity.documents.excel.drawing"><code>BarShape</code></a> is applied to a 3-D bar or 3-D column chart.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setBarShape(BarShape.Cylinder);
 BarShape barShape = chart.getBarShape();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="BarShape.html" title="enum class in com.grapecity.documents.excel.drawing"><code>BarShape</code></a> used by the 3-D bar or column chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBarShape(com.grapecity.documents.excel.drawing.BarShape)">
<h3>setBarShape</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBarShape</span><wbr><span class="parameters">(<a href="BarShape.html" title="enum class in com.grapecity.documents.excel.drawing">BarShape</a>&nbsp;value)</span></div>
<div class="block">Sets the shape used with the 3-D bar or column chart. <p>Use this property to control how bars or columns are rendered in a 3-D bar or 3-D column chart.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setBarShape(BarShape.Cylinder);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The <a href="BarShape.html" title="enum class in com.grapecity.documents.excel.drawing"><code>BarShape</code></a> to apply to the 3-D bar or column chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPlotVisibleOnly()">
<h3>getPlotVisibleOnly</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getPlotVisibleOnly</span>()</div>
<div class="block">Gets whether the chart plots only visible cells. <p>If this property is  <code>true</code>, the chart plots data from visible cells only.  If this property is  <code>false</code>, the chart plots data from both visible and hidden cells.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setPlotVisibleOnly(false);
 boolean plotVisibleOnly = chart.getPlotVisibleOnly();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the chart plots only visible cells; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setPlotVisibleOnly(boolean)">
<h3>setPlotVisibleOnly</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPlotVisibleOnly</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the chart plots only visible cells. <p>If this property is  <code>true</code>, the chart plots data from visible cells only.  If this property is  <code>false</code>, the chart plots data from both visible and hidden cells.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setPlotVisibleOnly(false);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the chart plots only visible cells; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDisplayNaAsBlank()">
<h3>getDisplayNaAsBlank</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getDisplayNaAsBlank</span>()</div>
<div class="block">Gets whether the chart displays  <code>#N/A</code> values as empty cells.<p>If this property is  <code>true</code>, data points whose values evaluate to  <code>#N/A</code> are displayed as blank cells in the chart.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setDisplayNaAsBlank(true);
 boolean displayNaAsBlank = chart.getDisplayNaAsBlank();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the chart displays <code>#N/A</code> values as empty cells; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDisplayNaAsBlank(boolean)">
<h3>setDisplayNaAsBlank</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDisplayNaAsBlank</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the chart displays  <code>#N/A</code> values as empty cells.<p>If this property is  <code>true</code>, data points whose values evaluate to  <code>#N/A</code> are displayed as blank cells in the chart.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setDisplayNaAsBlank(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the chart displays <code>#N/A</code> values as empty cells; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDepthPercent()">
<h3>getDepthPercent</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getDepthPercent</span>()</div>
<div class="block">Gets the depth of a 3-D chart as a percentage of the chart width. <p>This property applies to 3-D charts. The returned value is between 20 and 2000 percent.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.Column3D, 20, 20, 300, 200).getChart();
 chart.setDepthPercent(150);
 int depthPercent = chart.getDepthPercent();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The depth of the 3-D chart, expressed as a percentage of the chart width.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDepthPercent(int)">
<h3>setDepthPercent</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDepthPercent</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets the depth of a 3-D chart as a percentage of the chart width. <p>This property applies to 3-D charts. The value must be between 20 and 2000 percent.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.Column3D, 20, 20, 300, 200).getChart();
 chart.setDepthPercent(150);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The depth of the 3-D chart, expressed as a percentage of the chart width.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDisplayBlanksAs()">
<h3>getDisplayBlanksAs</h3>
<div class="member-signature"><span class="return-type"><a href="../DisplayBlanksAs.html" title="enum class in com.grapecity.documents.excel">DisplayBlanksAs</a></span>&nbsp;<span class="element-name">getDisplayBlanksAs</span>()</div>
<div class="block">Gets the way that blank cells are plotted on the chart. <p>The returned value specifies whether blank cells are not plotted, interpolated,  or plotted as zero by using  <a href="../DisplayBlanksAs.html" title="enum class in com.grapecity.documents.excel"><code>DisplayBlanksAs</code></a> constants.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.Line, 20, 20, 300, 200).getChart();
 chart.setDisplayBlanksAs(DisplayBlanksAs.Interpolated);
 DisplayBlanksAs displayBlanksAs = chart.getDisplayBlanksAs();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>A <a href="../DisplayBlanksAs.html" title="enum class in com.grapecity.documents.excel"><code>DisplayBlanksAs</code></a> value that indicates how blank cells are plotted on the chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDisplayBlanksAs(com.grapecity.documents.excel.DisplayBlanksAs)">
<h3>setDisplayBlanksAs</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDisplayBlanksAs</span><wbr><span class="parameters">(<a href="../DisplayBlanksAs.html" title="enum class in com.grapecity.documents.excel">DisplayBlanksAs</a>&nbsp;value)</span></div>
<div class="block">Sets how blank cells are plotted on the chart. <p>Use this property to control whether blank values in the chart source range  are displayed as gaps, connected by interpolation, or plotted as zero by using  <a href="../DisplayBlanksAs.html" title="enum class in com.grapecity.documents.excel"><code>DisplayBlanksAs</code></a> constants.</p>
<pre><code data-language="Java">
 IRange range = worksheet.getRange("A1:B4");
 range.setValue(new Object[][] {{"Month", "Sales"}, {"Jan", 10}, {"Feb", null}, {"Mar", 14}});
 IChart chart = worksheet.getShapes().addChart(ChartType.Line, 20, 20, 300, 200).getChart();
 chart.setSourceData(range);
 chart.setDisplayBlanksAs(DisplayBlanksAs.Interpolated);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The blank cell plotting mode. Use <a href="../DisplayBlanksAs.html#NotPlotted"><code>DisplayBlanksAs.NotPlotted</code></a>,  <a href="../DisplayBlanksAs.html#Interpolated"><code>DisplayBlanksAs.Interpolated</code></a>, or  <a href="../DisplayBlanksAs.html#Zero"><code>DisplayBlanksAs.Zero</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getElevation()">
<h3>getElevation</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getElevation</span>()</div>
<div class="block">Gets the elevation of the 3-D chart view in degrees. <p>Use this property to retrieve the current vertical viewing angle applied to a 3-D chart.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setElevation(25);
 double elevation = chart.getElevation();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The elevation of the 3-D chart view, in degrees.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setElevation(double)">
<h3>setElevation</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setElevation</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the elevation of the 3-D chart view in degrees. <p>Use this property to set the vertical viewing angle applied to a 3-D chart.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setElevation(25);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The elevation of the 3-D chart view, in degrees.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getGapDepth()">
<h3>getGapDepth</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getGapDepth</span>()</div>
<div class="block">Gets the distance between the data series in a 3-D chart as a percentage of the marker width. <p>This property applies to 3-D charts. The returned value is in the range from 0 to 500.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setGapDepth(200);
 int gapDepth = chart.getGapDepth();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The distance between the data series in a 3-D chart, as a percentage of the marker width.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setGapDepth(int)">
<h3>setGapDepth</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setGapDepth</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets the distance between the data series in a 3-D chart as a percentage of the marker width. <p>This property applies to 3-D charts. The value must be in the range from 0 to 500.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setGapDepth(200);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The distance between the data series in a 3-D chart, as a percentage of the marker width.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHasLegend()">
<h3>getHasLegend</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getHasLegend</span>()</div>
<div class="block">Gets whether the chart has a legend. <p>Use this property to determine whether the legend is currently displayed for the chart.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setHasLegend(true);
 boolean hasLegend = chart.getHasLegend();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the chart has a legend; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setHasLegend(boolean)">
<h3>setHasLegend</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setHasLegend</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the chart has a legend. <p>Set this property to  <code>true</code> to show the legend, or <code>false</code> to hide it.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setHasLegend(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the chart has a legend; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHasDataTable()">
<h3>getHasDataTable</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getHasDataTable</span>()</div>
<div class="block">Gets a value indicating whether the chart displays a data table. <p>Use  <a href="#setHasDataTable(boolean)"><code>setHasDataTable(boolean)</code></a> to show or hide the data table for a chart. For chart types that do not support data tables, this method returns  <code>false</code>.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setHasDataTable(true);
 boolean hasDataTable = chart.getHasDataTable();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the chart displays a data table; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setHasDataTable(boolean)">
<h3>setHasDataTable</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setHasDataTable</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets a value indicating whether the chart displays a data table.
 <pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setHasDataTable(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the chart displays a data table; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHasTitle()">
<h3>getHasTitle</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getHasTitle</span>()</div>
<div class="block">Gets whether the chart has a visible title. <p>This property indicates whether the chart title is displayed.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setHasTitle(true);
 boolean hasTitle = chart.getHasTitle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the chart has a visible title; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setHasTitle(boolean)">
<h3>setHasTitle</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setHasTitle</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the chart has a visible title. <p>Set this property to  <code>true</code> to show the chart title, or <code>false</code> to hide it.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setHasTitle(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the chart has a visible title; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHeightPercent()">
<h3>getHeightPercent</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getHeightPercent</span>()</div>
<div class="block">Gets the height of a 3-D chart as a percentage of the chart width. <p>The returned value is between 5 and 500 percent.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setHeightPercent(150);
 int heightPercent = chart.getHeightPercent();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The height of the 3-D chart as a percentage of the chart width, from 5 to 500.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setHeightPercent(int)">
<h3>setHeightPercent</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setHeightPercent</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets the height of a 3-D chart as a percentage of the chart width. <p>The value must be between 5 and 500 percent.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setHeightPercent(150);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The height of the 3-D chart as a percentage of the chart width, from 5 to 500.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPerspective()">
<h3>getPerspective</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getPerspective</span>()</div>
<div class="block">Gets the perspective for the 3-D chart view. <p>The returned value is between 0 and 100. This property is ignored if  <a href="#getRightAngleAxes()"><code>getRightAngleAxes()</code></a> returns <code>true</code>.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setRightAngleAxes(false);
 chart.setPerspective(30);
 int perspective = chart.getPerspective();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The perspective for the 3-D chart view, from 0 to 100.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setPerspective(int)">
<h3>setPerspective</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPerspective</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets the perspective for the 3-D chart view. <p>The value must be between 0 and 100. This property is ignored if  <a href="#getRightAngleAxes()"><code>getRightAngleAxes()</code></a> returns <code>true</code>.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setRightAngleAxes(false);
 chart.setPerspective(30);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The perspective for the 3-D chart view, from 0 to 100.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRightAngleAxes()">
<h3>getRightAngleAxes</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getRightAngleAxes</span>()</div>
<div class="block">Gets whether the chart axes are displayed at right angles, regardless of chart rotation or elevation. <p>This property applies only to 3-D line, column, and bar charts.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setRightAngleAxes(true);
 boolean rightAngleAxes = chart.getRightAngleAxes();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the chart axes are displayed at right angles; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setRightAngleAxes(boolean)">
<h3>setRightAngleAxes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setRightAngleAxes</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the chart axes are displayed at right angles, regardless of chart rotation or elevation. <p>This property applies only to 3-D line, column, and bar charts.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setRightAngleAxes(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the chart axes are displayed at right angles; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRotation()">
<h3>getRotation</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getRotation</span>()</div>
<div class="block">Gets the rotation of the 3-D chart view. <p>This property specifies the rotation of the plot area around the z-axis in degrees.  The default value is  <code>20</code>. Applies only to 3-D charts.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setRotation(30);
 double rotation = chart.getRotation();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The rotation of the 3-D chart view, in degrees. For 3-D bar charts, the returned value is from  <code>0</code> to <code>44</code>; otherwise, it is from  <code>0</code> to <code>360</code>. The default value is  <code>20</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setRotation(double)">
<h3>setRotation</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setRotation</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the rotation of the 3-D chart view. <p>This property specifies the rotation of the plot area around the z-axis in degrees.  The default value is  <code>20</code>. Applies only to 3-D charts.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setRotation(30);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The rotation of the 3-D chart view, in degrees. For 3-D bar charts, the returned value is from  <code>0</code> to <code>44</code>; otherwise, it is from  <code>0</code> to <code>360</code>. The default value is  <code>20</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowDataLabelsOverMaximum()">
<h3>getShowDataLabelsOverMaximum</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowDataLabelsOverMaximum</span>()</div>
<div class="block">Gets whether to show data labels when a value is greater than the maximum value on the value axis. <p>This property indicates whether data labels remain visible for data points  that exceed the current maximum value of the value axis.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setShowDataLabelsOverMaximum(true);
 boolean showDataLabelsOverMaximum = chart.getShowDataLabelsOverMaximum();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if data labels are shown for values greater than the maximum value on the value axis; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowDataLabelsOverMaximum(boolean)">
<h3>setShowDataLabelsOverMaximum</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowDataLabelsOverMaximum</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether to show data labels when a value is greater than the maximum value on the value axis. <p>Set this property to  <code>true</code> to keep data labels visible for data points that exceed the current maximum value of the value axis, or  <code>false</code> to hide them.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setShowDataLabelsOverMaximum(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if data labels are shown for values greater than the maximum value on the value axis; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShapes()">
<h3>getShapes</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util">List</a>&lt;<a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a>&gt;</span>&nbsp;<span class="element-name">getShapes</span>()</div>
<div class="block">Gets all drawing shapes in this chart. <p>The returned list contains the drawing shapes currently embedded in the chart.  If the chart does not contain any drawing shapes, an empty list is returned.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape autoShape = chart.addShape(AutoShapeType.Chevron, 30, 25, 120, 80);
 List&lt;IShape&gt; shapes = chart.getShapes();
 IShape firstShape = shapes.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>A list of drawing shapes in this chart. Returns an empty list if the chart contains no drawing shapes.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPivotTable()">
<h3>getPivotTable</h3>
<div class="member-signature"><span class="return-type"><a href="../IPivotTable.html" title="interface in com.grapecity.documents.excel">IPivotTable</a></span>&nbsp;<span class="element-name">getPivotTable</span>()</div>
<div class="block">Gets the  <a href="../IPivotTable.html" title="interface in com.grapecity.documents.excel"><code>IPivotTable</code></a> associated with the chart.<p>For a PivotChart, this method returns the PivotTable that supplies the chart data.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Product", "Amount"},
     {"Apple", 100},
     {"Orange", 200},
     {"Apple", 150}
 });
 IPivotCache pivotCache = workbook.getPivotCaches().create(worksheet.getRange("A1:B4"));
 IPivotTable pivotTable = worksheet.getPivotTables().add(pivotCache, worksheet.getRange("D1"));
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(pivotTable.getTableRange1());
 IPivotTable linkedPivotTable = chart.getPivotTable();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="../IPivotTable.html" title="interface in com.grapecity.documents.excel"><code>IPivotTable</code></a> associated with the chart. Returns <code>null</code> if the chart is not associated with a PivotTable.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPivotOptions()">
<h3>getPivotOptions</h3>
<div class="member-signature"><span class="return-type"><a href="IPivotOptions.html" title="interface in com.grapecity.documents.excel.drawing">IPivotOptions</a></span>&nbsp;<span class="element-name">getPivotOptions</span>()</div>
<div class="block">Gets the pivot chart button display options. <p>The returned  <a href="IPivotOptions.html" title="interface in com.grapecity.documents.excel.drawing"><code>IPivotOptions</code></a> object controls whether field buttons, such as legend, axis, value, report filter, and expand or collapse buttons,  are displayed on a PivotChart.</p>
<pre><code data-language="Java">
 Object[][] sourceData = new Object[][] {
     {"Category", "Amount"},
     {"Beverages", 100},
     {"Snacks", 200}
 };
 worksheet.getRange("A1:B3").setValue(sourceData);
 IPivotCache pivotCache = workbook.getPivotCaches().create(worksheet.getRange("A1:B3"));
 IPivotTable pivotTable = worksheet.getPivotTables().add(pivotCache, worksheet.getRange("D1"), "PivotTable1");
 pivotTable.getPivotFields().get("Category").setOrientation(PivotFieldOrientation.RowField);
 pivotTable.getPivotFields().get("Amount").setOrientation(PivotFieldOrientation.DataField);
 IChart chart = worksheet.getShapes().addChartInPixel(ChartType.ColumnClustered, 0, 100, 360, 220).getChart();
 chart.setSourceData(pivotTable.getTableRange1());
 IPivotOptions pivotOptions = chart.getPivotOptions();
 pivotOptions.setShowLegendFieldButtons(false);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IPivotOptions.html" title="interface in com.grapecity.documents.excel.drawing"><code>IPivotOptions</code></a> object that specifies whether pivot chart buttons are displayed.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getArea3DGroup()">
<h3>getArea3DGroup</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></span>&nbsp;<span class="element-name">getArea3DGroup</span>()</div>
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the area chart group on a 3-D chart.<p>Use this method to access group-level settings for a 3-D area chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Quarter", "Sales"},
     {"Q1", 100},
     {"Q2", 140},
     {"Q3", 120}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Area3D, 20, 20, 300, 200).getChart();
 chart.setSourceData(worksheet.getRange("A1:B4"));
 IChartGroup areaGroup = chart.getArea3DGroup();
 areaGroup.setVaryByCategories(true);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the area chart group on a 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBar3DGroup()">
<h3>getBar3DGroup</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></span>&nbsp;<span class="element-name">getBar3DGroup</span>()</div>
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the bar chart group on a 3-D chart.<p>Use this method to access group-level settings for a 3-D bar chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Quarter", "Sales"},
     {"Q1", 100},
     {"Q2", 140},
     {"Q3", 120}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.BarClustered3D, 20, 20, 300, 200).getChart();
 chart.setSourceData(worksheet.getRange("A1:B4"));
 IChartGroup barGroup = chart.getBar3DGroup();
 barGroup.setGapWidth(50);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the bar chart group on a 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getColumn3DGroup()">
<h3>getColumn3DGroup</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></span>&nbsp;<span class="element-name">getColumn3DGroup</span>()</div>
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the column chart group on a 3-D chart.<p>Use this method to access group-level settings for a 3-D column chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Quarter", "Sales"},
     {"Q1", 100},
     {"Q2", 140},
     {"Q3", 120}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered3D, 20, 20, 300, 200).getChart();
 chart.setSourceData(worksheet.getRange("A1:B4"));
 IChartGroup columnGroup = chart.getColumn3DGroup();
 columnGroup.setGapWidth(50);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the column chart group on a 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLine3DGroup()">
<h3>getLine3DGroup</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></span>&nbsp;<span class="element-name">getLine3DGroup</span>()</div>
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the line chart group on a 3-D chart.<p>Use this method to access the chart group for a chart created with  <a href="ChartType.html#Line3D"><code>ChartType.Line3D</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Month", "Sales"}, {"Jan", 12}, {"Feb", 18}, {"Mar", 15}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Line3D, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B4"));
 IChartGroup line3DGroup = chart.getLine3DGroup();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the line chart group on a 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPie3DGroup()">
<h3>getPie3DGroup</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></span>&nbsp;<span class="element-name">getPie3DGroup</span>()</div>
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the pie chart group on a 3-D chart.<p>Use this method to access group-level settings for a chart created with  <a href="ChartType.html#Pie3D"><code>ChartType.Pie3D</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Category", "Sales"}, {"A", 35}, {"B", 25}, {"C", 40}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Pie3D, 20, 20, 300, 200).getChart();
 chart.setSourceData(worksheet.getRange("A1:B4"));
 IChartGroup pie3DGroup = chart.getPie3DGroup();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the pie chart group on a 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSurfaceGroup()">
<h3>getSurfaceGroup</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroup</a></span>&nbsp;<span class="element-name">getSurfaceGroup</span>()</div>
<div class="block">Gets the  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the surface chart group on a 3-D chart.<p>Use this method to access group-level settings for a chart created with  <a href="ChartType.html#Surface"><code>ChartType.Surface</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:D4").setValue(new Object[][] {
     {"", "Q1", "Q2", "Q3"},
     {"North", 12, 18, 15},
     {"South", 20, 16, 22},
     {"West", 14, 19, 17}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Surface, 20, 20, 300, 200).getChart();
 chart.setSourceData(worksheet.getRange("A1:D4"));
 IChartGroup surfaceGroup = chart.getSurfaceGroup();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> object that represents the surface chart group on a 3-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAreaGroups()">
<h3>getAreaGroups</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></span>&nbsp;<span class="element-name">getAreaGroups</span>()</div>
<div class="block">Gets the collection of area chart groups on a 2D chart. <p>Use this method to access the  <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection for the area chart groups in the current chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Month", "Sales"},
     {"Jan", 10},
     {"Feb", 20},
     {"Mar", 15}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Area, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B4"));
 IChartGroups areaGroups = chart.getAreaGroups();
 IChartGroup areaGroup = areaGroups.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection that contains the area chart groups on the 2D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBarGroups()">
<h3>getBarGroups</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></span>&nbsp;<span class="element-name">getBarGroups</span>()</div>
<div class="block">Gets the collection of bar chart groups on a 2D chart. <p>Use this method to access the  <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection for the bar chart groups in the current chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Month", "Sales"},
     {"Jan", 10},
     {"Feb", 20},
     {"Mar", 15}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.BarClustered, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B4"));
 IChartGroups barGroups = chart.getBarGroups();
 IChartGroup barGroup = barGroups.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection that contains the bar chart groups on the 2D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getColumnGroups()">
<h3>getColumnGroups</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></span>&nbsp;<span class="element-name">getColumnGroups</span>()</div>
<div class="block">Gets the collection of column chart groups on a 2-D chart. <p>Use this method to access the  <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection for a column chart and then retrieve individual  <a href="IChartGroup.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroup</code></a> objects from that collection.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IChartGroups columnGroups = chart.getColumnGroups();
 IChartGroup columnGroup = columnGroups.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection that contains the column chart groups on a 2-D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDoughnutGroups()">
<h3>getDoughnutGroups</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></span>&nbsp;<span class="element-name">getDoughnutGroups</span>()</div>
<div class="block">Gets the collection of doughnut chart groups on a 2D chart. <p>Use this method to access the  <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection for the doughnut chart groups in the current chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Category", "Sales"},
     {"North", 10},
     {"South", 20},
     {"West", 15}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Doughnut, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B4"));
 IChartGroups doughnutGroups = chart.getDoughnutGroups();
 IChartGroup doughnutGroup = doughnutGroups.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection that contains the doughnut chart groups on the 2D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLineGroups()">
<h3>getLineGroups</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></span>&nbsp;<span class="element-name">getLineGroups</span>()</div>
<div class="block">Gets the collection of line chart groups on a 2D chart. <p>Use this method to access the  <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection for the line chart groups in the current chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Month", "Sales"},
     {"Jan", 10},
     {"Feb", 20},
     {"Mar", 15}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Line, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B4"));
 IChartGroups lineGroups = chart.getLineGroups();
 IChartGroup lineGroup = lineGroups.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection that contains the line chart groups on the 2D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPieGroups()">
<h3>getPieGroups</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></span>&nbsp;<span class="element-name">getPieGroups</span>()</div>
<div class="block">Gets the collection of pie chart groups on a 2D chart. <p>Use this method to access pie chart group settings exposed through  <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a>, such as the group definitions for pie-based 2D charts.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Name", "Sales"},
     {"East", 35},
     {"West", 25},
     {"North", 40}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Pie, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B4"), RowCol.Columns, true, true);
 IChartGroups pieGroups = chart.getPieGroups();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The collection of pie chart groups on a 2D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRadarGroups()">
<h3>getRadarGroups</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></span>&nbsp;<span class="element-name">getRadarGroups</span>()</div>
<div class="block">Gets the collection of radar chart groups on a 2D chart. <p>Use this method to access the  <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection for the radar chart groups in the current chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B5").setValue(new Object[][] {
     {"Category", "Score"},
     {"Speed", 80},
     {"Power", 65},
     {"Skill", 90},
     {"Focus", 75}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.Radar, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B5"));
 IChartGroups radarGroups = chart.getRadarGroups();
 IChartGroup radarGroup = radarGroups.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection that contains the radar chart groups on the 2D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getXYGroups()">
<h3>getXYGroups</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></span>&nbsp;<span class="element-name">getXYGroups</span>()</div>
<div class="block">Gets the collection of scatter chart groups on a 2D chart. <p>Use this method to access the  <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection for the current scatter chart. Each item in the returned collection represents a  scatter chart group in the chart.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {1, 10},
     {2, 20},
     {3, 15},
     {4, 25}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.XYScatter, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("A1:B4"));
 IChartGroups xyGroups = chart.getXYGroups();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection that contains the scatter chart groups on the 2D chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChartGroups()">
<h3>getChartGroups</h3>
<div class="member-signature"><span class="return-type"><a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing">IChartGroups</a></span>&nbsp;<span class="element-name">getChartGroups</span>()</div>
<div class="block">Gets the collection of all chart groups in the chart. <p>Use this method to access the  <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection for the current chart. The returned collection includes every chart group in the  chart, including groups created by different chart types.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:C4").setValue(new Object[][] {
     {"Month", "Sales", "Target"},
     {"Jan", 10, 12},
     {"Feb", 20, 18},
     {"Mar", 15, 16}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.getSeriesCollection().add(worksheet.getRange("B1:C4"));
 chart.getSeriesCollection().get(1).setChartType(ChartType.Line);
 IChartGroups chartGroups = chart.getChartGroups();
 IChartGroup chartGroup = chartGroups.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IChartGroups.html" title="interface in com.grapecity.documents.excel.drawing"><code>IChartGroups</code></a> collection that contains all chart groups in the current chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addShape(com.grapecity.documents.excel.drawing.AutoShapeType,double,double,double,double)">
<h3>addShape</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addShape</span><wbr><span class="parameters">(<a href="AutoShapeType.html" title="enum class in com.grapecity.documents.excel.drawing">AutoShapeType</a>&nbsp;type,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</span></div>
<div class="block">Adds an AutoShape to the chart and returns the corresponding  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object.<p>The shape is positioned relative to the upper-left corner of the chart area,  and its size and position are specified in points.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape autoShape = chart.addShape(AutoShapeType.Chevron, 30, 25, 120, 80);
 autoShape.getFill().getColor().setRGB(Color.GetBlue());
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - The type of AutoShape to create.</dd>
<dd><code>left</code> - The distance from the left edge of the AutoShape's boundary box to the left edge of the chart area, in points.</dd>
<dd><code>top</code> - The distance from the top edge of the AutoShape's boundary box to the top edge of the chart area, in points.</dd>
<dd><code>width</code> - The width of the AutoShape's boundary box, in points.</dd>
<dd><code>height</code> - The height of the AutoShape's boundary box, in points.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new AutoShape.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>type</code> is <a href="AutoShapeType.html#None"><code>AutoShapeType.None</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addChart(com.grapecity.documents.excel.drawing.ChartType,double,double,double,double)">
<h3>addChart</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addChart</span><wbr><span class="parameters">(<a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing">ChartType</a>&nbsp;chartType,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</span></div>
<div class="block">Creates a chart at the specified location in this chart. <p>The new chart is positioned relative to the upper-left corner of the chart area,  and the returned  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> represents the created chart shape.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape insetChart = chart.addChart(ChartType.Line, 30, 25, 120, 90);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chartType</code> - The type of chart to create.</dd>
<dd><code>left</code> - The distance from the left edge of the new chart to the left edge of the chart area, in points.</dd>
<dd><code>top</code> - The distance from the top edge of the new chart to the top edge of the chart area, in points.</dd>
<dd><code>width</code> - The width of the new chart, in points.</dd>
<dd><code>height</code> - The height of the new chart, in points.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addConnector(com.grapecity.documents.excel.drawing.ConnectorType,double,double,double,double)">
<h3>addConnector</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addConnector</span><wbr><span class="parameters">(<a href="ConnectorType.html" title="enum class in com.grapecity.documents.excel.drawing">ConnectorType</a>&nbsp;type,
 double&nbsp;beginX,
 double&nbsp;beginY,
 double&nbsp;endX,
 double&nbsp;endY)</span></div>
<div class="block">Creates a connector shape in the chart area and returns the  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new connector shape.<p>The connector is positioned by its start and end points relative to the upper-left corner of the chart area, in points.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape connector = chart.addConnector(ConnectorType.Straight, 30, 40, 180, 120);
 connector.getLine().setWeight(2);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - The type of connector shape to create.</dd>
<dd><code>beginX</code> - The horizontal position of the connector shape's starting point relative to the upper-left corner of the chart area, in points.</dd>
<dd><code>beginY</code> - The vertical position of the connector shape's starting point relative to the upper-left corner of the chart area, in points.</dd>
<dd><code>endX</code> - The horizontal position of the connector shape's ending point relative to the upper-left corner of the chart area, in points.</dd>
<dd><code>endY</code> - The vertical position of the connector shape's ending point relative to the upper-left corner of the chart area, in points.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new connector shape.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addPicture(java.lang.String,double,double,double,double)">
<h3>addPicture</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addPicture</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;filename,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</span>
           throws <span class="exceptions"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io">IOException</a></span></div>
<div class="block">Creates a picture from an existing file and adds it to the chart. <p>The picture is positioned relative to the upper-left corner of the chart area, and the returned  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> represents the newly created picture.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape picture = null;
 try {
     String imagePath = java.nio.file.Paths.get("Users", "DefaultApps", "Documents", "logo.png").toString();
     picture = chart.addPicture(imagePath, 40, 30, 120, 80);
 } catch (IOException e) {
 }
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>filename</code> - The file from which the picture is created. Must not be <code>null</code>.</dd>
<dd><code>left</code> - The distance from the left edge of the picture to the left edge of the chart area, in points.</dd>
<dd><code>top</code> - The distance from the top edge of the picture to the top edge of the chart area, in points.</dd>
<dd><code>width</code> - The width of the picture, in points.</dd>
<dd><code>height</code> - The height of the picture, in points.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new picture.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io">IOException</a></code> - if the file cannot be read.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addPicture(java.io.InputStream,com.grapecity.documents.excel.drawing.ImageType,double,double,double,double)">
<h3>addPicture</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addPicture</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io">InputStream</a>&nbsp;stream,
 <a href="ImageType.html" title="enum class in com.grapecity.documents.excel.drawing">ImageType</a>&nbsp;type,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</span>
           throws <span class="exceptions"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io">IOException</a></span></div>
<div class="block">Creates a picture from an existing stream and adds it to the chart. <p>The picture is positioned relative to the chart area. The  <code>left</code>,  <code>top</code>,  <code>width</code>, and  <code>height</code> values are measured in points.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 byte[] pictureBytes = java.util.Base64.getDecoder().decode("iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIHWP4////fwAJ+wP9KobjigAAAABJRU5ErkJggg==");
 IShape picture = null;
 try (java.io.ByteArrayInputStream stream = new java.io.ByteArrayInputStream(pictureBytes)) {
     picture = chart.addPicture(stream, ImageType.PNG, 40, 30, 120, 80);
 } catch (java.io.IOException e) {
 }
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>stream</code> - The stream that provides the picture data. Must not be <code>null</code>.</dd>
<dd><code>type</code> - The type of the picture data in the stream.</dd>
<dd><code>left</code> - The distance from the left edge of the picture to the left edge of the chart area, in points.</dd>
<dd><code>top</code> - The distance from the top edge of the picture to the top edge of the chart area, in points.</dd>
<dd><code>width</code> - The width of the picture, in points.</dd>
<dd><code>height</code> - The height of the picture, in points.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new picture.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io">IOException</a></code> - if an I/O error occurs while reading the stream.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addShapeInPixel(com.grapecity.documents.excel.drawing.AutoShapeType,double,double,double,double)">
<h3>addShapeInPixel</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addShapeInPixel</span><wbr><span class="parameters">(<a href="AutoShapeType.html" title="enum class in com.grapecity.documents.excel.drawing">AutoShapeType</a>&nbsp;type,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</span></div>
<div class="block">Creates an AutoShape in this chart using pixel-based coordinates. <p>The shape is positioned relative to the upper-left corner of the chart area,  and the returned  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> represents the newly created AutoShape.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape autoShape = chart.addShapeInPixel(AutoShapeType.Chevron, 30, 25, 120, 80);
 autoShape.getFill().getColor().setRGB(Color.GetBlue());
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - The type of AutoShape to create.</dd>
<dd><code>left</code> - The distance from the left edge of the AutoShape's boundary box to the left edge of the chart area, in pixels.</dd>
<dd><code>top</code> - The distance from the top edge of the AutoShape's boundary box to the top edge of the chart area, in pixels.</dd>
<dd><code>width</code> - The width of the AutoShape's boundary box, in pixels.</dd>
<dd><code>height</code> - The height of the AutoShape's boundary box, in pixels.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new AutoShape.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>type</code> is <a href="AutoShapeType.html#None"><code>AutoShapeType.None</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addChartInPixel(com.grapecity.documents.excel.drawing.ChartType,double,double,double,double)">
<h3>addChartInPixel</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addChartInPixel</span><wbr><span class="parameters">(<a href="ChartType.html" title="enum class in com.grapecity.documents.excel.drawing">ChartType</a>&nbsp;chartType,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</span></div>
<div class="block">Creates a chart at the specified location in this chart using pixel-based coordinates. <p>The new chart is positioned relative to the upper-left corner of the chart area,  and the returned  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> represents the created chart shape.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape insetChart = chart.addChartInPixel(ChartType.Line, 40, 30, 160, 100);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>chartType</code> - The type of chart to create.</dd>
<dd><code>left</code> - The distance from the left edge of the new chart to the left edge of the chart area, in pixels.</dd>
<dd><code>top</code> - The distance from the top edge of the new chart to the top edge of the chart area, in pixels.</dd>
<dd><code>width</code> - The width of the new chart, in pixels.</dd>
<dd><code>height</code> - The height of the new chart, in pixels.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new chart.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addConnectorInPixel(com.grapecity.documents.excel.drawing.ConnectorType,double,double,double,double)">
<h3>addConnectorInPixel</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addConnectorInPixel</span><wbr><span class="parameters">(<a href="ConnectorType.html" title="enum class in com.grapecity.documents.excel.drawing">ConnectorType</a>&nbsp;type,
 double&nbsp;beginX,
 double&nbsp;beginY,
 double&nbsp;endX,
 double&nbsp;endY)</span></div>
<div class="block">Creates a connector in the chart using pixel-based coordinates. <p>The connector's start and end points are measured from the upper-left corner  of the chart area in pixels. This method returns the  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the newly created connector.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape connector = chart.addConnectorInPixel(ConnectorType.Straight, 30, 40, 180, 120);
 connector.getLine().setWeight(2);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - The <a href="ConnectorType.html" title="enum class in com.grapecity.documents.excel.drawing"><code>ConnectorType</code></a> of the connector to create.</dd>
<dd><code>beginX</code> - The horizontal position of the connector's starting point relative to the upper-left corner of the chart area, in pixels.</dd>
<dd><code>beginY</code> - The vertical position of the connector's starting point relative to the upper-left corner of the chart area, in pixels.</dd>
<dd><code>endX</code> - The horizontal position of the connector's end point relative to the upper-left corner of the chart area, in pixels.</dd>
<dd><code>endY</code> - The vertical position of the connector's end point relative to the upper-left corner of the chart area, in pixels.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new connector.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addPictureInPixel(java.lang.String,double,double,double,double)">
<h3>addPictureInPixel</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addPictureInPixel</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;filename,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</span>
                  throws <span class="exceptions"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io">IOException</a></span></div>
<div class="block">Creates a picture from an existing file and adds it to the chart using pixel-based coordinates. <p>The picture is positioned relative to the upper-left corner of the chart area,  and the returned  <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> represents the newly created picture.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 IShape picture = null;
 try {
     String imagePath = java.nio.file.Paths.get("Users", "DefaultApps", "Documents", "logo.png").toString();
     picture = chart.addPictureInPixel(imagePath, 30, 25, 80, 60);
     picture.setName("Logo");
 } catch (IOException e) {
 }
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>filename</code> - The file from which the picture is created. Must not be <code>null</code>.</dd>
<dd><code>left</code> - The distance from the left edge of the picture to the left edge of the chart area, in pixels.</dd>
<dd><code>top</code> - The distance from the top edge of the picture to the top edge of the chart area, in pixels.</dd>
<dd><code>width</code> - The width of the picture, in pixels.</dd>
<dd><code>height</code> - The height of the picture, in pixels.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new picture.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io">IOException</a></code> - if the file cannot be read.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addPictureInPixel(java.io.InputStream,com.grapecity.documents.excel.drawing.ImageType,double,double,double,double)">
<h3>addPictureInPixel</h3>
<div class="member-signature"><span class="return-type"><a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing">IShape</a></span>&nbsp;<span class="element-name">addPictureInPixel</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io">InputStream</a>&nbsp;stream,
 <a href="ImageType.html" title="enum class in com.grapecity.documents.excel.drawing">ImageType</a>&nbsp;type,
 double&nbsp;left,
 double&nbsp;top,
 double&nbsp;width,
 double&nbsp;height)</span>
                  throws <span class="exceptions"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io">IOException</a></span></div>
<div class="block">Creates a picture from an existing stream at the specified position and size, measured in pixels, and returns the shape that represents the picture. <p>The picture is added relative to the chart area. Use this method when the image content is available as a stream and the picture position and size need to be specified in pixel units.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 byte[] imageData = java.util.Base64.getDecoder().decode("iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+jmioAAAAASUVORK5CYII=");
 IShape picture = null;
 try (java.io.InputStream stream = new java.io.ByteArrayInputStream(imageData)) {
     picture = chart.addPictureInPixel(stream, ImageType.PNG, 30, 25, 80, 60);
     picture.setName("Logo");
 } catch (IOException e) {
 }
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>stream</code> - The stream that provides the image data. Must not be <code>null</code>.</dd>
<dd><code>type</code> - The image type of the stream data.</dd>
<dd><code>left</code> - The distance from the left edge of the picture to the left edge of the chart area, in pixels.</dd>
<dd><code>top</code> - The distance from the top edge of the picture to the top edge of the chart area, in pixels.</dd>
<dd><code>width</code> - The width of the picture, in pixels.</dd>
<dd><code>height</code> - The height of the picture, in pixels.</dd>
<dt>Returns:</dt>
<dd>The <a href="IShape.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShape</code></a> object that represents the new picture.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io">IOException</a></code> - if an I/O error occurs while reading the image stream.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setSourceData(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.drawing.RowCol)">
<h3>setSourceData</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setSourceData</span><wbr><span class="parameters">(<a href="../IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;source,
 <a href="RowCol.html" title="enum class in com.grapecity.documents.excel.drawing">RowCol</a>&nbsp;plotBy)</span></div>
<div class="block">Sets the source data range for the chart and specifies whether each data series is taken from rows or columns. <p>Use the  <code>plotBy</code> parameter to control how the chart interprets the source range when creating series and categories.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:C4").setValue(new Object[][] {
     {"Month", "North", "South"},
     {"Jan", 10, 12},
     {"Feb", 15, 18},
     {"Mar", 13, 16}
 });
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setSourceData(worksheet.getRange("A1:C4"), RowCol.Columns);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>source</code> - The range that contains the source data. Must not be <code>null</code>.</dd>
<dd><code>plotBy</code> - Specifies whether the chart reads each data series from <a href="RowCol.html#Columns"><code>RowCol.Columns</code></a> or <a href="RowCol.html#Rows"><code>RowCol.Rows</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setSourceData(com.grapecity.documents.excel.IRange)">
<h3>setSourceData</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setSourceData</span><wbr><span class="parameters">(<a href="../IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;source)</span></div>
<div class="block">Sets the source data range for the chart. <p>The specified range is used as the chart's data source.</p>
<pre><code data-language="Java">
 IRange range = worksheet.getRange("A1:B4");
 range.setValue(new Object[][] {{"Month", "Sales"}, {"Jan", 10}, {"Feb", 15}, {"Mar", 12}});
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.setSourceData(range);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>source</code> - The range that contains the source data. Must not be <code>null</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="delete()">
<h3>delete</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">delete</span>()</div>
<div class="block">Deletes the chart from the worksheet. <p>After this method is called, the chart is removed from the worksheet's shapes collection.</p>
<pre><code data-language="Java">
 IChart chart = worksheet.getShapes().addChart(ChartType.ColumnClustered, 20, 20, 300, 200).getChart();
 chart.delete();
 </code></pre></div>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
<script>var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";

function show(tableId, selected, columns) {
    if (tableId !== selected) {
        document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')')
            .forEach(function (elem) {
                elem.style.display = 'none';
            });
    }
    document.querySelectorAll('div.' + selected)
        .forEach(function (elem, index) {
            elem.style.display = '';
            var isEvenRow = index % (columns * 2) < columns;
            elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor);
            elem.classList.add(isEvenRow ? evenRowColor : oddRowColor);
        });
    updateTabs(tableId, selected);
}

function updateTabs(tableId, selected) {
    document.querySelector('div#' + tableId + ' .summary-table')
        .setAttribute('aria-labelledby', selected);
    document.querySelectorAll('button[id^="' + tableId + '"]')
        .forEach(function (tab, index) {
            if (selected === tab.id || (tableId === selected && index === 0)) {
                tab.className = activeTableTab;
                tab.setAttribute('aria-selected', true);
                tab.setAttribute('tabindex', 0);
            } else {
                tab.className = tableTab;
                tab.setAttribute('aria-selected', false);
                tab.setAttribute('tabindex', -1);
            }
        });
}

function switchTab(e) {
    var selected = document.querySelector('[aria-selected=true]');
    if (selected) {
        if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) {
            // left or up arrow key pressed: move focus to previous tab
            selected.previousSibling.click();
            selected.previousSibling.focus();
            e.preventDefault();
        } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) {
            // right or down arrow key pressed: move focus to next tab
            selected.nextSibling.click();
            selected.nextSibling.focus();
            e.preventDefault();
        }
    }
}
</script></div>