📄 piechart.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#getSelectionStyle()">getSelectionStyle</A></B>()</CODE>
<BR>
Gets the current selection style.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Polygon</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#getSlicePolygon(int, int)">getSlicePolygon</A></B>(int serie, int sample)</CODE>
<BR>
Gets the polygon describing the pie slice.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.awt.Color</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#getSliceSeperatorColor()">getSliceSeperatorColor</A></B>()</CODE>
<BR>
Gets the current pie slice seperator line color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#isPercentLabelsOn()">isPercentLabelsOn</A></B>()</CODE>
<BR>
Checks if the percent labels are turned on.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#isPieLabelsOn()">isPieLabelsOn</A></B>()</CODE>
<BR>
Checks if the pie lablels are turned on.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#isPieRotationOn()">isPieRotationOn</A></B>()</CODE>
<BR>
Checks if the pie rotation is on or off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#isSliceSeperatorOn()">isSliceSeperatorOn</A></B>()</CODE>
<BR>
Checks if the pie slice seperators are on.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#processEvent(java.awt.AWTEvent)">processEvent</A></B>(java.awt.AWTEvent e)</CODE>
<BR>
Handles the chart events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#render(java.awt.Graphics)">render</A></B>(java.awt.Graphics g)</CODE>
<BR>
Renders the pie chart according to the current chart attributes and GUI state values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#renderData(java.awt.Graphics, java.awt.Rectangle, java.awt.Rectangle)">renderData</A></B>(java.awt.Graphics g, java.awt.Rectangle grid, java.awt.Rectangle dataBounds)</CODE>
<BR>
Renders the pies for the chart.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#reset()">reset</A></B>()</CODE>
<BR>
Resets the chart data and features.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setAngle(int)">setAngle</A></B>(int angle)</CODE>
<BR>
Sets the angle of the pie chart. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setDepth(double)">setDepth</A></B>(double depth)</CODE>
<BR>
Sets the depth of the pie. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setDetachedDistance(double)">setDetachedDistance</A></B>(double distance)</CODE>
<BR>
Sets the default detach distance when detached selection style is set. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setDetachedSlice(int, int, double)">setDetachedSlice</A></B>(int serie, int index, double distance)</CODE>
<BR>
Detaches a pie slice. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setFont(java.lang.String, java.awt.Font)">setFont</A></B>(java.lang.String label, java.awt.Font font)</CODE>
<BR>
Sets the font for the title, legend, pie labels, sample labels, percent labels, or value labels.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setInsideLabelColor(int, java.awt.Color)">setInsideLabelColor</A></B>(int index, java.awt.Color color)</CODE>
<BR>
Sets the color of the inside labels for the specified pie. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setOutsideLabelColor(int, java.awt.Color)">setOutsideLabelColor</A></B>(int index, java.awt.Color color)</CODE>
<BR>
Sets the color of the outside labels for the specified pie. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setPercentDecimalCount(int)">setPercentDecimalCount</A></B>(int count)</CODE>
<BR>
Sets the number of decimals to use with the percent values. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setPercentLabelsOn(boolean)">setPercentLabelsOn</A></B>(boolean on)</CODE>
<BR>
Display percent labels when the mouse pointer is above the pie segment. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/objectplanet/chart/PieChart.html#setPercentLabelStyle(int)">setPercentLabelStyle</A></B>(int style)</CODE>
<BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -