<html> <head> <title>Service StockDiagram</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="StockDiagram-xref.html" class="navimain">Use</a></td> <td class="navimain"><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Charts/Stock_Charts" class="navimain">Devguide</a></td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#IncludedServices" class="navisub">Included Services</a></td> <td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td> <td class="navisub"><a href="#PropertiesSummary" class="navisub">Properties' Summary</a></td> <td class="navisub"><a href="#PropertiesDetails" class="navisub">Properties' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">chart</a> :: </p> </td> </tr> <tr> <td class="title">service StockDiagram</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>specifies a diagram which can be used for presenting stock quotes. </dd> <dd><p>Note that the data must have a specific structure for stock diagrams. Let us assume that data is interpreted, such that series are taken from columns (see property <a href="Diagram.html">Diagram</a>::<a href="Diagram.html#DataRowSource">DataRowSource</a>). Then you need tables of the following structures for different types:</p> <p><strong> <a href="StockDiagram.html#Volume">Volume</a> is <b>false</b><br> <a href="StockDiagram.html#UpDown">UpDown</a> is <b>false</b> </strong> <table border> <tr><td>Low</td><td>High</td><td>Close</td></tr> <tr><td>…</td><td>…</td><td>…</td></tr> </table></p> <p><strong> <a href="StockDiagram.html#Volume">Volume</a> is <b>true</b><br> <a href="StockDiagram.html#UpDown">UpDown</a> is <b>false</b> </strong> <table border> <tr><td><strong>Volume</strong></td><td>Low</td><td>High</td><td>Close</td></tr> <tr><td>…</td><td>…</td><td>…</td><td>…</td></tr> </table></p> <p><strong> <a href="StockDiagram.html#Volume">Volume</a> is <b>false</b><br> <a href="StockDiagram.html#UpDown">UpDown</a> is <b>true</b> </strong> <table border> <tr><td><strong>Open</strong></td><td>Low</td><td>High</td><td>Close</td></tr> <tr><td>…</td><td>…</td><td>…</td><td>…</td></tr> </table></p> <p><strong> <a href="StockDiagram.html#Volume">Volume</a> is <b>true</b><br> <a href="StockDiagram.html#UpDown">UpDown</a> is <b>true</b> </strong> <table border> <tr><td><strong>Volume</strong></td><td><strong>Open</strong></td><td>Low</td><td>High</td><td>Close</td></tr> <tr><td>…</td><td>…</td><td>…</td><td>…</td><td>…</td></tr> </table></p> </dd> </dl> <a name="devmanual"> </a><dl> <dt><b>Developers Guide</b></dt> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Charts/Stock_Charts">Charts - Stock Charts</a></dd> </dl> </td> </tr> </table> <hr> <a name="IncludedServices"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services</td> </tr> <tr> <td class="imsum_left"><a href="ChartStatistics.html">ChartStatistics</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>offers statistical properties for the data in the chart. It is available for a single data row and for the whole diagram. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="Diagram.html">Diagram</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>the base service for the diagram of the chart document. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="ChartAxisXSupplier.html">ChartAxisXSupplier</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>has to be supported by charts providing the cpabilities of a horizontal axis, i.e., an <em>x</em>-axis. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="ChartTwoAxisYSupplier.html">ChartTwoAxisYSupplier</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>a helper service for chart documents which supply primary and secondary y-axes. </dd> </dl> </td> </tr> </table> <a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces</td> </tr> <tr> <td class="imsum_left"><a href="XStatisticDisplay.html">XStatisticDisplay</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>gives access to statistical elements for the chart. </dd> </dl> </td> </tr> </table> <a name="PropertiesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Properties' Summary</td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#Volume">Volume</a></td> <td class="imsum_right">indicates if a stock chart contains data representing the volume of stocks. </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#UpDown">UpDown</a></td> <td class="imsum_right">indicates if a stock chart contains data representing the value of stocks on the opening and closing date. </td> </tr> </table> <a name="PropertiesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Properties' Details</td> </tr> <tr> <td class="imdetail"><a name="Volume" class="membertitle">Volume</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Volume</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>indicates if a stock chart contains data representing the volume of stocks. </dd> <dd><p>The values of the volume are represented as columns like those of a <a href="BarDiagram.html">BarDiagram</a>.</p> <p>If this property is set to <b>true</b>, the values of the first series of the chart data are interpreted as volume.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="UpDown" class="membertitle">UpDown</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>UpDown</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>indicates if a stock chart contains data representing the value of stocks on the opening and closing date. </dd> <dd><p>The difference will be indicated by bars. The color of the bar will be significant for positive or negative differences between open and closed data.</p> <p>If this property is <b>false</b>, the values of the first series (or second if <a href="StockDiagram.html">StockDiagram</a>::<a href="StockDiagram.html#Volume">Volume</a> is <b>true</b>) of the chart data are interpreted as the day's lowest value. The next series is interpreted as the day's highest value, and the last series is interpreted as the closing value.</p> <p>If this property is set to <b>true</b>, one additional series is needed with the opening value of the stocks. It is assumed as the series before the series with the day's lowest value.</p> </dd> </dl> </td> </tr> </table> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>