pieplot.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,159 行 · 第 1/5 页
HTML
1,159 行
The default series label paint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#DEFAULT_SHOW_SERIES_LABELS">DEFAULT_SHOW_SERIES_LABELS</A></B></CODE><BR> The default for the show series labels flag</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#DEFAULT_START_ANGLE">DEFAULT_START_ANGLE</A></B></CODE><BR> The default starting angle for the pie chart.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.text.NumberFormat</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#DEFAULT_VALUE_FORMATTER">DEFAULT_VALUE_FORMATTER</A></B></CODE><BR> The default value label formatter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.util.ResourceBundle</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#localizationResources">localizationResources</A></B></CODE><BR> The resourceBundle for the localization.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#MAX_INTERIOR_GAP">MAX_INTERIOR_GAP</A></B></CODE><BR> The maximum interior gap (currently 40%).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#MAX_RADIUS">MAX_RADIUS</A></B></CODE><BR> The maximum radius (currently 100%).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#MAX_SECTION_LABEL_GAP">MAX_SECTION_LABEL_GAP</A></B></CODE><BR> The maximum interior gap (currently 30%).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#NAME_AND_PERCENT_LABELS">NAME_AND_PERCENT_LABELS</A></B></CODE><BR> Constant indicating percent labels on the pie sections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#NAME_AND_VALUE_LABELS">NAME_AND_VALUE_LABELS</A></B></CODE><BR> Constant indicating percent labels on the pie sections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#NAME_LABELS">NAME_LABELS</A></B></CODE><BR> Constant indicating name labels on the pie sections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#NO_LABELS">NO_LABELS</A></B></CODE><BR> Constant indicating no labels on the pie sections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#PER_COLUMN">PER_COLUMN</A></B></CODE><BR> A useful constant for multiple pie charts.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#PER_ROW">PER_ROW</A></B></CODE><BR> A useful constant for multiple pie charts.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#PERCENT_LABELS">PERCENT_LABELS</A></B></CODE><BR> Constant indicating percent labels on the pie sections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#VALUE_AND_PERCENT_LABELS">VALUE_AND_PERCENT_LABELS</A></B></CODE><BR> Constant indicating percent labels on the pie sections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#VALUE_LABELS">VALUE_LABELS</A></B></CODE><BR> Constant indicating value labels on the pie sections.</TD></TR></TABLE> <A NAME="fields_inherited_from_class_org.jfree.chart.plot.Plot"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class org.jfree.chart.plot.<A HREF="../../../../org/jfree/chart/plot/Plot.html">Plot</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html#DEFAULT_BACKGROUND_ALPHA">DEFAULT_BACKGROUND_ALPHA</A>, <A HREF="../../../../org/jfree/chart/plot/Plot.html#DEFAULT_BACKGROUND_PAINT">DEFAULT_BACKGROUND_PAINT</A>, <A HREF="../../../../org/jfree/chart/plot/Plot.html#DEFAULT_FOREGROUND_ALPHA">DEFAULT_FOREGROUND_ALPHA</A>, <A HREF="../../../../org/jfree/chart/plot/Plot.html#DEFAULT_INSETS">DEFAULT_INSETS</A>, <A HREF="../../../../org/jfree/chart/plot/Plot.html#DEFAULT_OUTLINE_PAINT">DEFAULT_OUTLINE_PAINT</A>, <A HREF="../../../../org/jfree/chart/plot/Plot.html#DEFAULT_OUTLINE_STROKE">DEFAULT_OUTLINE_STROKE</A>, <A HREF="../../../../org/jfree/chart/plot/Plot.html#MINIMUM_HEIGHT_TO_DRAW">MINIMUM_HEIGHT_TO_DRAW</A>, <A HREF="../../../../org/jfree/chart/plot/Plot.html#MINIMUM_WIDTH_TO_DRAW">MINIMUM_WIDTH_TO_DRAW</A>, <A HREF="../../../../org/jfree/chart/plot/Plot.html#ZERO">ZERO</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_org.jfree.chart.axis.AxisConstants"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface org.jfree.chart.axis.<A HREF="../../../../org/jfree/chart/axis/AxisConstants.html">AxisConstants</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_AXIS_LABEL_FONT">DEFAULT_AXIS_LABEL_FONT</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_AXIS_LABEL_INSETS">DEFAULT_AXIS_LABEL_INSETS</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_AXIS_LABEL_PAINT">DEFAULT_AXIS_LABEL_PAINT</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_AXIS_VISIBLE">DEFAULT_AXIS_VISIBLE</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_TICK_LABEL_FONT">DEFAULT_TICK_LABEL_FONT</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_TICK_LABEL_INSETS">DEFAULT_TICK_LABEL_INSETS</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_TICK_LABEL_PAINT">DEFAULT_TICK_LABEL_PAINT</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_TICK_LABELS_VISIBLE">DEFAULT_TICK_LABELS_VISIBLE</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_TICK_MARK_INSIDE_LENGTH">DEFAULT_TICK_MARK_INSIDE_LENGTH</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_TICK_MARK_OUTSIDE_LENGTH">DEFAULT_TICK_MARK_OUTSIDE_LENGTH</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_TICK_MARK_PAINT">DEFAULT_TICK_MARK_PAINT</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_TICK_MARK_STROKE">DEFAULT_TICK_MARK_STROKE</A>, <A HREF="../../../../org/jfree/chart/axis/AxisConstants.html#DEFAULT_TICK_MARKS_VISIBLE">DEFAULT_TICK_MARKS_VISIBLE</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#PiePlot()">PiePlot</A></B>()</CODE><BR> Creates a new plot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#PiePlot(org.jfree.data.CategoryDataset, int)">PiePlot</A></B>(<A HREF="../../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> dataset, int type)</CODE><BR> Creates a new plot that will draw multiple pie charts, one for each row or column (as requested) in the dataset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#PiePlot(org.jfree.data.PieDataset)">PiePlot</A></B>(<A HREF="../../../../org/jfree/data/PieDataset.html">PieDataset</A> dataset)</CODE><BR> Creates a pie chart.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected java.awt.geom.Point2D</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#calculateLabelLocation(java.awt.geom.Rectangle2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, double, double, double)">calculateLabelLocation</A></B>(java.awt.geom.Rectangle2D labelBounds, double ascent, java.awt.geom.Rectangle2D unexploded, java.awt.geom.Rectangle2D exploded, double startAngle, double extent, double explodePercent)</CODE><BR> Returns the location for a label, taking into account whether or not the pie section is exploded.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/plot/PiePlot.html#clone()">clone</A></B>()</CODE><BR> Returns a clone of the plot.</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="../../../../org/jfree/chart/plot/PiePlot.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo)">draw</A></B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, <A HREF="../../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A> info)</CODE><BR> Draws the plot on a Java 2D graphics device (such as the screen or a printer).</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="../../../../org/jfree/chart/plot/PiePlot.html#drawLabel(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.data.PieDataset, double, int, double, double)">drawLabel</A></B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D pieArea, java.awt.geom.Rectangle2D explodedPieArea, <A HREF="../../../../org/jfree/data/PieDataset.html">PieDataset</A> data, double value, int section, double startAngle, double extent)</CODE>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?