⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bichartpresentation.html

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><!--Generated using api.website.xsl version 2003-07-17--><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><title>BiChartPresentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type="text/css" rel="stylesheet" href="api.css"><script type="text/javascript">				function showDerivedClasses() {					var ul = document.getElementById("api-derived-classes");					var lis = ul.childNodes;					var l = lis.length;					for (var i = 1; i < l; i++)						lis[i].style.display = "";					lis[0].style.display = "none";				}			</script></head><body><h1 id="BiChartPresentation">BiChartPresentation</h1><p>		This class is used to define the presentation attributes for a chart.	</p><p>This class extends		<code><a href="BiObject.html">BiObject</a></code>		and therefore all methods and fields available for		<code><a href="BiObject.html">BiObject</a></code>		are also available for <code>BiChartPresentation</code>.</p><ul class="partial-class-tree"><li><code><a href="BiObject.html">BiObject</a></code><ul><li><code>BiChartPresentation</code><ul id="api-derived-classes"></ul></li></ul></li></ul><h2>Constructor</h2><p><code>	new BiChartPresentation(<span class="methodArgument">oGraph</span>, <span class="methodArgument">oSeries</span>)</code></p><h3>Parameters</h3><table><thead><tr><td>Name</td><td>Type</td><td class="optional-header">Optional</td><td>Default</td><td>Descripton</td></tr></thead><tbody><tr><td><code>oGraph</code></td><td><code class="type"><code><a href="BiGraph.html">BiGraph</a></code></code></td><td class="optional-column"></td><td></td><td>The graph that the chart presentation is part of</td></tr><tr><td><code>oSeries</code></td><td><code class="type"><code><a href="BiChartSeries.html">BiChartSeries</a></code></code></td><td class="optional-column"></td><td></td><td>The series that the chart presentation is representing</td></tr></tbody></table><h2>Properties</h2><table><thead><tr><td>Name</td><td>Type</td><td class="get-header">get</td><td class="set-header">set</td><td>Descripton</td></tr></thead><tbody><tr><td><a name="barSpacing"></a><code>barSpacing</code></td><td><code class="type">Number</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>				This is the relative distance between the bars or columns of different categories.				<code>1</code> means that the distance is the same as the width/height of the column/bar.				<code>0</code> means that there is no spacing.			</td></tr><tr><td><a name="explode"></a><code>explode</code></td><td><code class="type">Number</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>The amount to move the pie chart sections from the middle</td></tr><tr><td><a name="fillAngle"></a><code>fillAngle</code></td><td><code class="type">Number</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>The fill angle used when painting the chart.</td></tr><tr><td><a name="fillColor"></a><code>fillColor</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>The fill color for the chart</td></tr><tr><td><a name="fillColor2"></a><code>fillColor2</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>The alternate fill color used when fill type is gradient</td></tr><tr><td><a name="fillOpacity"></a><code>fillOpacity</code></td><td><code class="type">Number</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>The fill opacity for the chart</td></tr><tr><td><a name="fillType"></a><code>fillType</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>The fill type used when painting the chart</td></tr><tr><td><a name="markerType"></a><code>markerType</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>The marker type for the line chart. Valid values are<br>				<br>				circle<br>				square<br>				trianle<br>				diamond			</td></tr><tr><td><a name="markerVisible"></a><code>markerVisible</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>Whether markers are visible for the chart</td></tr><tr><td><a name="strokeColor"></a><code>strokeColor</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>The stroke color for the chart</td></tr><tr><td><a name="strokeOpacity"></a><code>strokeOpacity</code></td><td><code class="type">Number</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"><img src="check.png" alt="checked"></td><td>The stroke opacity for the chart</td></tr></tbody></table><h2>Methods</h2><table><thead><tr><td>Name</td><td>Description</td></tr></thead><tbody><tr><td><code><a href="#fromXmlElement">fromXmlElement</a></code></td><td>Gets the properties of the chart presentation an XML element</td></tr><tr><td><code><a href="#hasBarSpacing">hasBarSpacing</a></code></td><td>Returns true if the <code><a href="#barSpacing">barSpacing</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasExplode">hasExplode</a></code></td><td>Returns true if the <code><a href="#explode">explode</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasFillAngle">hasFillAngle</a></code></td><td>Returns true if the <code><a href="#fillAngle">fillAngle</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasFillColor">hasFillColor</a></code></td><td>Returns true if the <code><a href="#fillColor">fillColor</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasFillColor2">hasFillColor2</a></code></td><td>Returns true if the <code><a href="#fillColor2">fillColor2</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasFillOpacity">hasFillOpacity</a></code></td><td>Returns true if the <code><a href="#fillOpacity">fillOpacity</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasFillType">hasFillType</a></code></td><td>Returns true if the <code><a href="#fillType">fillType</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasMarkerType">hasMarkerType</a></code></td><td>Returns true if the <code><a href="#markerType">markerType</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasMarkerVisible">hasMarkerVisible</a></code></td><td>Returns true if the <code><a href="#markerVisible">markerVisible</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasStrokeColor">hasStrokeColor</a></code></td><td>Returns true if the <code><a href="#strokeColor">strokeColor</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#hasStrokeOpacity">hasStrokeOpacity</a></code></td><td>Returns true if the <code><a href="#strokeOpacity">strokeOpacity</a></code> property has been set on the chart presentation</td></tr><tr><td><code><a href="#toXmlElement">toXmlElement</a></code></td><td>Serializes the chart presentation to an XML element</td></tr></tbody></table><h2>Events</h2><p>None.</p><h2>Static Methods</h2><table><thead><tr><td>Name</td><td>Description</td></tr></thead><tbody><tr><td><code><a href="#fromXmlElement">fromXmlElement</a></code></td><td>Creates a new chart presentation object from an XML element</td></tr></tbody></table><h2>Static Fields</h2><p>None.</p><h2>Remarks</h2><p>		Changes to this might not become updated until the chart is updated. It		is therefore bettter to use the <code><a href="BiChartPresentationManager.html">BiChartPresentationManager</a></code>	</p><h2>Method Details</h2><h3><a name="fromXmlElement"></a>fromXmlElement</h3><p>Gets the properties of the chart presentation an XML element</p><h4>Syntax</h4><pre class="method-syntax">object.fromXmlElement(<span class="methodArgument">oNode</span>)</pre><h4>Parameters</h4><table><thead><tr><td>Name</td><td>Type</td><td class="optional-header">Optional</td><td>Default</td><td>Descripton</td></tr></thead><tbody><tr><td><code>oNode</code></td><td><code class="type">XmlElement</code></td><td class="optional-column"></td><td></td><td>The element describing the chart presentation</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="hasBarSpacing"></a>hasBarSpacing</h3><p>Returns true if the <code><a href="#barSpacing">barSpacing</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasBarSpacing()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasExplode"></a>hasExplode</h3><p>Returns true if the <code><a href="#explode">explode</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasExplode()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasFillAngle"></a>hasFillAngle</h3><p>Returns true if the <code><a href="#fillAngle">fillAngle</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasFillAngle()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasFillColor"></a>hasFillColor</h3><p>Returns true if the <code><a href="#fillColor">fillColor</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasFillColor()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasFillColor2"></a>hasFillColor2</h3><p>Returns true if the <code><a href="#fillColor2">fillColor2</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasFillColor2()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasFillOpacity"></a>hasFillOpacity</h3><p>Returns true if the <code><a href="#fillOpacity">fillOpacity</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasFillOpacity()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasFillType"></a>hasFillType</h3><p>Returns true if the <code><a href="#fillType">fillType</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasFillType()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasMarkerType"></a>hasMarkerType</h3><p>Returns true if the <code><a href="#markerType">markerType</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasMarkerType()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasMarkerVisible"></a>hasMarkerVisible</h3><p>Returns true if the <code><a href="#markerVisible">markerVisible</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasMarkerVisible()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasStrokeColor"></a>hasStrokeColor</h3><p>Returns true if the <code><a href="#strokeColor">strokeColor</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasStrokeColor()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="hasStrokeOpacity"></a>hasStrokeOpacity</h3><p>Returns true if the <code><a href="#strokeOpacity">strokeOpacity</a></code> property has been set on the chart presentation</p><h4>Syntax</h4><pre class="method-syntax">object.hasStrokeOpacity()</pre><h4>Parameters</h4><h4>Return Type</h4><p><code class="type">Boolean</code></p><h3><a name="toXmlElement"></a>toXmlElement</h3><p>Serializes the chart presentation to an XML element</p><h4>Syntax</h4><pre class="method-syntax">object.toXmlElement(<span class="methodArgument">oDoc</span>)</pre><h4>Parameters</h4><table><thead><tr><td>Name</td><td>Type</td><td class="optional-header">Optional</td><td>Default</td><td>Descripton</td></tr></thead><tbody><tr><td><code>oDoc</code></td><td><code class="type"><code><a href="BiXmlDocument.html">BiXmlDocument</a></code></code></td><td class="optional-column"></td><td></td><td>The XML document to create the element in</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">XmlElement</code></p><h2>Static Method Details</h2><h3><a name="fromXmlElement"></a>fromXmlElement</h3><p>Creates a new chart presentation object from an XML element</p><h4>Syntax</h4><pre class="method-syntax">BiChartPresentation.fromXmlElement(<span class="methodArgument">oGraph</span>, <span class="methodArgument">oNode</span>)</pre><h4>Parameters</h4><table><thead><tr><td>Name</td><td>Type</td><td class="optional-header">Optional</td><td>Default</td><td>Descripton</td></tr></thead><tbody><tr><td><code>oGraph</code></td><td><code class="type"><code><a href="BiGraph.html">BiGraph</a></code></code></td><td class="optional-column"></td><td></td><td>The graph that the presentationchart belongs to</td></tr><tr><td><code>oNode</code></td><td><code class="type">XmlElement</code></td><td class="optional-column"></td><td></td><td>The element describing the chart presentation</td></tr></tbody></table><h4>Return Type</h4><p><code class="type"><code><a href="BiChartPresentation.html">BiChartPresentation</a></code></code></p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -