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

📄 bichartpresentation.html

📁 在流览器上仿CS界面的JAVASCRIPT脚本
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!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>

⌨️ 快捷键说明

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