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

📄 biabstractchartsectionbase.html

📁 在流览器上仿CS界面的JAVASCRIPT脚本
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<td>Name</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="#getIconHtml">getIconHtml</a></code></td>
<td>
				Returns the HTML code needed to display an icon representing the chart.
				Implementing this function allows the component to act as an icon for a label.
			</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 section</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 section</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 section</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 section</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 section</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 section</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 section</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 section</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 section</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 section</td>
</tr>
</tbody>
</table>
<h2>Events</h2>
<p>None.</p>
<h2>Static Methods</h2>
<p>None.</p>
<h2>Static Fields</h2>
<p>None.</p>
<h2>Remarks</h2>
<p>
		It is preferred to set the properties on the graph
		<code><a href="BiChartPresentationManager.html">presentation manager</a></code>
		instead of directly setting it on the section. Setting the property on
		the <code><a href="BiChartPresentationManager.html">presentation manager</a></code>
		makes it persist when changing the type of the chart and other changes
		that require the sections to be recreated.
	</p>
<h2>Method Details</h2>
<h3><a name="getIconHtml"></a>getIconHtml</h3>
<p>
				Returns the HTML code needed to display an icon representing the chart.
				Implementing this function allows the component to act as an icon for a label.
			</p>
<h4>Syntax</h4>
<pre class="method-syntax">object.getIconHtml(<span class="methodArgument">bHasText</span>, <span class="methodArgument">bEnabled</span>, <span class="methodArgument">sIconPosition</span>, <span class="methodArgument">nIconTextGap</span> [, <span class="methodArgument">sClassName</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>bHasText</code></td>
<td><code class="type">Boolean</code></td>
<td class="optional-column"></td>
<td></td>
<td>Boolean whether the icon should be used with text</td>
</tr>
<tr>
<td><code>bEnabled</code></td>
<td><code class="type">Boolean</code></td>
<td class="optional-column"></td>
<td></td>
<td>Whether the icon is enabled</td>
</tr>
<tr>
<td><code>sIconPosition</code></td>
<td><code class="type">String</code></td>
<td class="optional-column"></td>
<td></td>
<td>
						The position of the icon. Valid values are "left", "right"
						"top" and "bottom".
					</td>
</tr>
<tr>
<td><code>nIconTextGap</code></td>
<td><code class="type">Number</code></td>
<td class="optional-column"></td>
<td></td>
<td>
						The gap between the text and the icon.
					</td>
</tr>
<tr>
<td><code>sClassName</code></td>
<td><code class="type">String</code></td>
<td class="optional-column"><img src="check.png" alt="checked"></td>
<td></td>
<td>
						Optional class name to put on the HTML element representing
						the icon.
					</td>
</tr>
</tbody>
</table>
<h4>Return Type</h4>
<p><code class="type">String</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 section</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 section</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 section</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 section</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 section</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 section</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 section</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 section</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 section</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 section</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>
</body>
</html>

⌨️ 快捷键说明

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