| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="de"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_03) on Fri Feb 22 10:35:17 CET 2013 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>DataSet (Simple ODF API v0.8-incubating - http://incubator.apache.org/odftoolkit/)</title> |
| <meta name="date" content="2013-02-22"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="DataSet (Simple ODF API v0.8-incubating - http://incubator.apache.org/odftoolkit/)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DataSet.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/odftoolkit/simple/chart/ChartType.html" title="enum in org.odftoolkit.simple.chart"><span class="strong">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/odftoolkit/simple/chart/DataSet.html" target="_top">Frames</a></li> |
| <li><a href="DataSet.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.odftoolkit.simple.chart</div> |
| <h2 title="Class DataSet" class="title">Class DataSet</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.odftoolkit.simple.chart.DataSet</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">DataSet</span> |
| extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">DataSet is wrapper class for chart data. Generally it is a 2 dimensional data |
| container, a set of chart data series. Each data series has a key, i.e. chart |
| label. The data may be a 2 dimensional double array, or a cell range address |
| of a sheet in Spreadsheet document. DataSet provides some convenient methods |
| for users to manipulate specific data series in the chart data.</div> |
| <dl><dt><span class="strong">Since:</span></dt> |
| <dd>0.6</dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#DataSet()">DataSet</a></strong>()</code> |
| <div class="block">Creates a new DataSet without argument.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#DataSet(org.odftoolkit.odfdom.type.CellRangeAddressList, org.odftoolkit.simple.SpreadsheetDocument, boolean, boolean, boolean)">DataSet</a></strong>(org.odftoolkit.odfdom.type.CellRangeAddressList cellRangeAddress, |
| <a href="../../../../org/odftoolkit/simple/SpreadsheetDocument.html" title="class in org.odftoolkit.simple">SpreadsheetDocument</a> spreadsheet, |
| boolean bFirstRowAsLabel, |
| boolean bFirstColumnAsLabel, |
| boolean rowAsDataSeries)</code> |
| <div class="block">Creates a new DataSet.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#DataSet(java.lang.String[], java.lang.String[], double[][])">DataSet</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] labels, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] legends, |
| double[][] data)</code> |
| <div class="block">Creates a new DataSet.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#appendDataSeries(java.lang.String, double[])">appendDataSeries</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| double[] values)</code> |
| <div class="block">Adds a data series at the end of current data set.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.odftoolkit.odfdom.type.CellRangeAddressList</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getCellRangeAddress()">getCellRangeAddress</a></strong>()</code> |
| <div class="block">Gets the cell range address list.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>double[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getDataSeriesByIndex(int)">getDataSeriesByIndex</a></strong>(int index)</code> |
| <div class="block">Gets the values of a data series by its index in the data set.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getDataSeriesByLegend(java.lang.String, int)">getDataSeriesByLegend</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex)</code> |
| <div class="block">Gets the values of a data series by its legend, if multiple data series |
| have duplicated legends, return the values of the first matched data |
| series. we do not recommend the duplicated legends, but practically, some |
| ODF editors allow users to do that.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getDataSeriesCount()">getDataSeriesCount</a></strong>()</code> |
| <div class="block">Gets the count of data series in the data set.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getIndexOfDataSeries(java.lang.String, int)">getIndexOfDataSeries</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex)</code> |
| <div class="block">Gets the index of the data series by its legend.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLabelByIndex(int)">getLabelByIndex</a></strong>(int index)</code> |
| <div class="block">Gets the legend of the data series by its index in the data set.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLabels()">getLabels</a></strong>()</code> |
| <div class="block">Gets the string array of labels.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLegendByIndex(int)">getLegendByIndex</a></strong>(int index)</code> |
| <div class="block">Gets the legend of the data series by its index in the data set.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLegends()">getLegends</a></strong>()</code> |
| <div class="block">Gets the string array of legends.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLengthOfDataSeries(int)">getLengthOfDataSeries</a></strong>(int index)</code> |
| <div class="block">Gets the data item count of the data series given by the index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLengthOfDataSeries(java.lang.String, int)">getLengthOfDataSeries</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex)</code> |
| <div class="block">Gets the data item count of the data series given by the label.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLocalTableCellRanges(int, int, java.util.Vector, java.util.Vector)">getLocalTableCellRanges</a></strong>(int seriesCount, |
| int labelLength, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a><<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> seriesCellRange, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a><<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> legendCellAddr)</code> |
| <div class="block">Gets the local table cell range.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[][]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLocalTableData()">getLocalTableData</a></strong>()</code> |
| <div class="block">Gets the values of a data set as a double dimension array.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLocalTableFirstColumn()">getLocalTableFirstColumn</a></strong>()</code> |
| <div class="block">Gets the first column labels of the local table.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getLocalTableFirstRow()">getLocalTableFirstRow</a></strong>()</code> |
| <div class="block">Gets the first row labels of the local table.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#getMaxLengthOfDataSeries()">getMaxLengthOfDataSeries</a></strong>()</code> |
| <div class="block">Gets the maximal data item count</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#insertDataSeries(int, java.lang.String, double[])">insertDataSeries</a></strong>(int index, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| double[] values)</code> |
| <div class="block">Adds a data series at the index in current data set.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#isFirstColumnAsLabel()">isFirstColumnAsLabel</a></strong>()</code> |
| <div class="block">Gets whether this data set uses first column as chart label.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#isFirstRowAsLabel()">isFirstRowAsLabel</a></strong>()</code> |
| <div class="block">Gets whether this data set uses first row as chart label.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#isLocalTable()">isLocalTable</a></strong>()</code> |
| <div class="block">Gets whether this data set uses local table.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#isRowAsDataSeries()">isRowAsDataSeries</a></strong>()</code> |
| <div class="block">Gets whether this data set uses row as data series.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#removeDataSeries(int)">removeDataSeries</a></strong>(int index)</code> |
| <div class="block">Removes a data series by the index of the data series in the data set.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#removeDataSeries(java.lang.String, int)">removeDataSeries</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex)</code> |
| <div class="block">Remove a data series by the legend of the data series.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#setLabelByIndex(int, java.lang.String)">setLabelByIndex</a></strong>(int index, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> label)</code> |
| <div class="block">Sets or change the legend of the data series by its index in the data |
| set.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#setLegendByIndex(int, java.lang.String)">setLegendByIndex</a></strong>(int index, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend)</code> |
| <div class="block">Sets or change the legend of the data series by its index in the data |
| set.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#setLocalTable(boolean)">setLocalTable</a></strong>(boolean isLocalTable)</code> |
| <div class="block">Sets this data set uses local table or not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#setValues(org.odftoolkit.odfdom.type.CellRangeAddressList, org.odftoolkit.simple.SpreadsheetDocument, boolean, boolean, boolean)">setValues</a></strong>(org.odftoolkit.odfdom.type.CellRangeAddressList cellRangeAddress, |
| <a href="../../../../org/odftoolkit/simple/SpreadsheetDocument.html" title="class in org.odftoolkit.simple">SpreadsheetDocument</a> spreadsheet, |
| boolean bFirstRowAsLabel, |
| boolean bFirstColumnAsLabel, |
| boolean rowAsDataSeries)</code> |
| <div class="block">Sets data for the data set with cell range address of sheet in |
| spreadsheet document or internal chart table in other chart containers.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#setValues(java.lang.String[], java.lang.String[], double[][])">setValues</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] labels, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] legends, |
| double[][] data)</code> |
| <div class="block">Sets or updates data for the data set with 2 dimensional double array, |
| the first dimension represents the index of data series, the second |
| dimension represents the index of data item in each data series.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#updateDataSeries(int, double[])">updateDataSeries</a></strong>(int index, |
| double[] values)</code> |
| <div class="block">Updates the data series values according to the index of the data series.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/odftoolkit/simple/chart/DataSet.html#updateDataSeries(java.lang.String, int, double[])">updateDataSeries</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex, |
| double[] values)</code> |
| <div class="block">Updates the data series values according to the legend of the data |
| series.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DataSet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DataSet</h4> |
| <pre>public DataSet()</pre> |
| <div class="block">Creates a new DataSet without argument.</div> |
| </li> |
| </ul> |
| <a name="DataSet(java.lang.String[], java.lang.String[], double[][])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DataSet</h4> |
| <pre>public DataSet(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] labels, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] legends, |
| double[][] data)</pre> |
| <div class="block">Creates a new DataSet.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>labels</code> - the label strings of this DataSet.</dd><dd><code>legends</code> - the legend strings of this DataSet.</dd><dd><code>data</code> - the data of this DataSet, which stores in 2 dimensional double |
| array.</dd></dl> |
| </li> |
| </ul> |
| <a name="DataSet(org.odftoolkit.odfdom.type.CellRangeAddressList, org.odftoolkit.simple.SpreadsheetDocument, boolean, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DataSet</h4> |
| <pre>public DataSet(org.odftoolkit.odfdom.type.CellRangeAddressList cellRangeAddress, |
| <a href="../../../../org/odftoolkit/simple/SpreadsheetDocument.html" title="class in org.odftoolkit.simple">SpreadsheetDocument</a> spreadsheet, |
| boolean bFirstRowAsLabel, |
| boolean bFirstColumnAsLabel, |
| boolean rowAsDataSeries)</pre> |
| <div class="block">Creates a new DataSet.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cellRangeAddress</code> - the cell range address, which is used as the data source.</dd><dd><code>spreadsheet</code> - the data source SpreadsheetDocument.</dd><dd><code>bFirstRowAsLabel</code> - whether this data set uses first row as chart label.</dd><dd><code>bFirstColumnAsLabel</code> - whether this data set uses first column as chart label.</dd><dd><code>rowAsDataSeries</code> - whether this data set uses row as data series.</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getLocalTableCellRanges(int, int, java.util.Vector, java.util.Vector)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalTableCellRanges</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getLocalTableCellRanges(int seriesCount, |
| int labelLength, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a><<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> seriesCellRange, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a><<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> legendCellAddr)</pre> |
| <div class="block">Gets the local table cell range.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the local table cell range,</dd></dl> |
| </li> |
| </ul> |
| <a name="getCellRangeAddress()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCellRangeAddress</h4> |
| <pre>public org.odftoolkit.odfdom.type.CellRangeAddressList getCellRangeAddress()</pre> |
| <div class="block">Gets the cell range address list.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the cell range address list.</dd></dl> |
| </li> |
| </ul> |
| <a name="appendDataSeries(java.lang.String, double[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendDataSeries</h4> |
| <pre>public void appendDataSeries(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| double[] values)</pre> |
| <div class="block">Adds a data series at the end of current data set.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>legend</code> - legend for the data series.</dd><dd><code>values</code> - data series values corresponding to the legend.</dd></dl> |
| </li> |
| </ul> |
| <a name="insertDataSeries(int, java.lang.String, double[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>insertDataSeries</h4> |
| <pre>public void insertDataSeries(int index, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| double[] values)</pre> |
| <div class="block">Adds a data series at the index in current data set.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index the added data series will be located.</dd><dd><code>legend</code> - legend for the data series.</dd><dd><code>values</code> - data series values corresponding to the legend.</dd></dl> |
| </li> |
| </ul> |
| <a name="updateDataSeries(int, double[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateDataSeries</h4> |
| <pre>public void updateDataSeries(int index, |
| double[] values)</pre> |
| <div class="block">Updates the data series values according to the index of the data series.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index of the data series in the data set.</dd><dd><code>values</code> - data series values.</dd></dl> |
| </li> |
| </ul> |
| <a name="updateDataSeries(java.lang.String, int, double[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateDataSeries</h4> |
| <pre>public void updateDataSeries(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex, |
| double[] values)</pre> |
| <div class="block">Updates the data series values according to the legend of the data |
| series.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>legend</code> - the chart legend of the data series.</dd><dd><code>values</code> - data series values.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeDataSeries(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeDataSeries</h4> |
| <pre>public void removeDataSeries(int index)</pre> |
| <div class="block">Removes a data series by the index of the data series in the data set.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - index of the data series in the data set.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeDataSeries(java.lang.String, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeDataSeries</h4> |
| <pre>public void removeDataSeries(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex)</pre> |
| <div class="block">Remove a data series by the legend of the data series.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>legend</code> - the legend of the data series.</dd></dl> |
| </li> |
| </ul> |
| <a name="getIndexOfDataSeries(java.lang.String, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIndexOfDataSeries</h4> |
| <pre>public int getIndexOfDataSeries(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex)</pre> |
| <div class="block">Gets the index of the data series by its legend.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>legend</code> - the legend of the data series.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>index of the data series in the data set.</dd></dl> |
| </li> |
| </ul> |
| <a name="getLegendByIndex(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLegendByIndex</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getLegendByIndex(int index)</pre> |
| <div class="block">Gets the legend of the data series by its index in the data set.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - index of the data series in the data set.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the legend of the data series.</dd></dl> |
| </li> |
| </ul> |
| <a name="setLegendByIndex(int, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLegendByIndex</h4> |
| <pre>public void setLegendByIndex(int index, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend)</pre> |
| <div class="block">Sets or change the legend of the data series by its index in the data |
| set.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - index of the data series in the data set.</dd><dd><code>legend</code> - the legend of the data series.</dd></dl> |
| </li> |
| </ul> |
| <a name="getLabelByIndex(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLabelByIndex</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getLabelByIndex(int index)</pre> |
| <div class="block">Gets the legend of the data series by its index in the data set.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - index of the data series in the data set.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the label of the data series.</dd></dl> |
| </li> |
| </ul> |
| <a name="setLabelByIndex(int, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLabelByIndex</h4> |
| <pre>public void setLabelByIndex(int index, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> label)</pre> |
| <div class="block">Sets or change the legend of the data series by its index in the data |
| set.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - index of the data series in the data set.</dd><dd><code>label</code> - the label of the data series.</dd></dl> |
| </li> |
| </ul> |
| <a name="getLabels()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLabels</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] getLabels()</pre> |
| <div class="block">Gets the string array of labels.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the string array of labels.</dd></dl> |
| </li> |
| </ul> |
| <a name="getLegends()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLegends</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] getLegends()</pre> |
| <div class="block">Gets the string array of legends.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the string array of legends.</dd></dl> |
| </li> |
| </ul> |
| <a name="isFirstRowAsLabel()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFirstRowAsLabel</h4> |
| <pre>public boolean isFirstRowAsLabel()</pre> |
| <div class="block">Gets whether this data set uses first row as chart label.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>if return <code>true</code>, this data set uses first row as |
| chart label.</dd></dl> |
| </li> |
| </ul> |
| <a name="isFirstColumnAsLabel()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFirstColumnAsLabel</h4> |
| <pre>public boolean isFirstColumnAsLabel()</pre> |
| <div class="block">Gets whether this data set uses first column as chart label.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>if return <code>true</code>, this data set uses first row as |
| chart label.</dd></dl> |
| </li> |
| </ul> |
| <a name="isRowAsDataSeries()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRowAsDataSeries</h4> |
| <pre>public boolean isRowAsDataSeries()</pre> |
| <div class="block">Gets whether this data set uses row as data series.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>if return <code>true</code>, this data set uses row as data |
| series.</dd></dl> |
| </li> |
| </ul> |
| <a name="isLocalTable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLocalTable</h4> |
| <pre>public boolean isLocalTable()</pre> |
| <div class="block">Gets whether this data set uses local table.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>if return <code>true</code>, this data set uses uses local table.</dd></dl> |
| </li> |
| </ul> |
| <a name="setLocalTable(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLocalTable</h4> |
| <pre>public void setLocalTable(boolean isLocalTable)</pre> |
| <div class="block">Sets this data set uses local table or not.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>isLocalTable</code> - if the value is <code>true</code>, this data set uses uses |
| local table.</dd></dl> |
| </li> |
| </ul> |
| <a name="getDataSeriesByIndex(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDataSeriesByIndex</h4> |
| <pre>public double[] getDataSeriesByIndex(int index)</pre> |
| <div class="block">Gets the values of a data series by its index in the data set.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - index of the data series in the data set.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the values of the data series.</dd></dl> |
| </li> |
| </ul> |
| <a name="getDataSeriesByLegend(java.lang.String, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDataSeriesByLegend</h4> |
| <pre>public double[] getDataSeriesByLegend(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex)</pre> |
| <div class="block">Gets the values of a data series by its legend, if multiple data series |
| have duplicated legends, return the values of the first matched data |
| series. we do not recommend the duplicated legends, but practically, some |
| ODF editors allow users to do that.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>legend</code> - the legend of the data series</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the values of the data series</dd></dl> |
| </li> |
| </ul> |
| <a name="getLocalTableData()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalTableData</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[][] getLocalTableData()</pre> |
| <div class="block">Gets the values of a data set as a double dimension array.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the values of the whole data set.</dd></dl> |
| </li> |
| </ul> |
| <a name="getLocalTableFirstRow()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalTableFirstRow</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] getLocalTableFirstRow()</pre> |
| <div class="block">Gets the first row labels of the local table.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the first row labels of the local table.</dd></dl> |
| </li> |
| </ul> |
| <a name="getLocalTableFirstColumn()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocalTableFirstColumn</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] getLocalTableFirstColumn()</pre> |
| <div class="block">Gets the first column labels of the local table.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the first column labels of the local table.</dd></dl> |
| </li> |
| </ul> |
| <a name="getLengthOfDataSeries(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLengthOfDataSeries</h4> |
| <pre>public int getLengthOfDataSeries(int index)</pre> |
| <div class="block">Gets the data item count of the data series given by the index.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - index of the data series in the data set</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the data item count of the data series</dd></dl> |
| </li> |
| </ul> |
| <a name="getLengthOfDataSeries(java.lang.String, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLengthOfDataSeries</h4> |
| <pre>public int getLengthOfDataSeries(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> legend, |
| int beginindex)</pre> |
| <div class="block">Gets the data item count of the data series given by the label.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>legend</code> - the legend of the data series</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the data item count of the data series</dd></dl> |
| </li> |
| </ul> |
| <a name="getMaxLengthOfDataSeries()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxLengthOfDataSeries</h4> |
| <pre>public int getMaxLengthOfDataSeries()</pre> |
| <div class="block">Gets the maximal data item count</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the maximal data item count</dd></dl> |
| </li> |
| </ul> |
| <a name="getDataSeriesCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDataSeriesCount</h4> |
| <pre>public int getDataSeriesCount()</pre> |
| <div class="block">Gets the count of data series in the data set.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the count of data series</dd></dl> |
| </li> |
| </ul> |
| <a name="setValues(java.lang.String[], java.lang.String[], double[][])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setValues</h4> |
| <pre>public void setValues(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] labels, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] legends, |
| double[][] data)</pre> |
| <div class="block">Sets or updates data for the data set with 2 dimensional double array, |
| the first dimension represents the index of data series, the second |
| dimension represents the index of data item in each data series.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>labels</code> - the chart labels, which is corresponding to the first |
| dimension of data array.</dd><dd><code>data</code> - a 2 dimensional double array.</dd></dl> |
| </li> |
| </ul> |
| <a name="setValues(org.odftoolkit.odfdom.type.CellRangeAddressList, org.odftoolkit.simple.SpreadsheetDocument, boolean, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setValues</h4> |
| <pre>public void setValues(org.odftoolkit.odfdom.type.CellRangeAddressList cellRangeAddress, |
| <a href="../../../../org/odftoolkit/simple/SpreadsheetDocument.html" title="class in org.odftoolkit.simple">SpreadsheetDocument</a> spreadsheet, |
| boolean bFirstRowAsLabel, |
| boolean bFirstColumnAsLabel, |
| boolean rowAsDataSeries)</pre> |
| <div class="block">Sets data for the data set with cell range address of sheet in |
| spreadsheet document or internal chart table in other chart containers.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cellRangeAddress</code> - cell range address of sheet or table.</dd><dd><code>spreadsheet</code> - the spreadsheet document instance, the cell address is |
| relative to the spreadsheet document.</dd><dd><code>bFirstRowAsLabel</code> - whether this data set uses first row as chart label.</dd><dd><code>bFirstColumnAsLabel</code> - whether this data set uses first column as chart label.</dd><dd><code>rowAsDataSeries</code> - whether this data set uses row as data series.</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DataSet.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/odftoolkit/simple/chart/ChartType.html" title="enum in org.odftoolkit.simple.chart"><span class="strong">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/odftoolkit/simple/chart/DataSet.html" target="_top">Frames</a></li> |
| <li><a href="DataSet.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2010-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |