📄 cyclicnumberaxis.html
字号:
<A NAME="getAdvanceLineStroke()"><!-- --></A><H3>getAdvanceLineStroke</H3><PRE>public java.awt.Stroke <B>getAdvanceLineStroke</B>()</PRE><DL><DD>The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.<P><DD><DL><DT><B>Returns:</B><DD>the advance line Stroke.</DL></DD></DL><HR><A NAME="setAdvanceLineStroke(java.awt.Stroke)"><!-- --></A><H3>setAdvanceLineStroke</H3><PRE>public void <B>setAdvanceLineStroke</B>(java.awt.Stroke advanceLineStroke)</PRE><DL><DD>The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>advanceLineStroke</CODE> - The advance line Stroke to set.</DL></DD></DL><HR><A NAME="isAdvanceLineVisible()"><!-- --></A><H3>isAdvanceLineVisible</H3><PRE>public boolean <B>isAdvanceLineVisible</B>()</PRE><DL><DD>The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.<P><DD><DL><DT><B>Returns:</B><DD>true if the the advance line is visible.</DL></DD></DL><HR><A NAME="setAdvanceLineVisible(boolean)"><!-- --></A><H3>setAdvanceLineVisible</H3><PRE>public void <B>setAdvanceLineVisible</B>(boolean advanceLineVisible)</PRE><DL><DD>The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>advanceLineVisible</CODE> - The advance line will show if set to true</DL></DD></DL><HR><A NAME="isBoundMappedToLastCycle()"><!-- --></A><H3>isBoundMappedToLastCycle</H3><PRE>public boolean <B>isBoundMappedToLastCycle</B>()</PRE><DL><DD>The cycle bound can be associated either with the current or with the last cycle. It's up to the user's choice to decide which, as this is just a convention. By default, the cycle bound is mapped to the current cycle. <br> Note that this has no effect on visual appearance, as the cycle bound is mapped successively for both axis ends. Use this function for correct results in translateValueToJava2D.<P><DD><DL><DT><B>Returns:</B><DD>true if the cycle bound is mapped to the last cycle, false if it is bound to the current cycle (default)</DL></DD></DL><HR><A NAME="setBoundMappedToLastCycle(boolean)"><!-- --></A><H3>setBoundMappedToLastCycle</H3><PRE>public void <B>setBoundMappedToLastCycle</B>(boolean boundMappedToLastCycle)</PRE><DL><DD>The cycle bound can be associated either with the current or with the last cycle. It's up to the user's choice to decide which, as this is just a convention. By default, the cycle bound is mapped to the current cycle. <br> Note that this has no effect on visual appearance, as the cycle bound is mapped successively for both axis ends. Use this function for correct results in translateValueToJava2D.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>boundMappedToLastCycle</CODE> - Set it to true to map the cycle bound to the last cycle.</DL></DD></DL><HR><A NAME="selectHorizontalAutoTickUnit(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>selectHorizontalAutoTickUnit</H3><PRE>protected void <B>selectHorizontalAutoTickUnit</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D drawArea, java.awt.geom.Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">NumberAxis</A></CODE></B></DD><DD>Selects an appropriate tick value for the axis. The strategy is to display as many ticks as possible (selected from an array of 'standard' tick units) without the labels overlapping.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html#selectHorizontalAutoTickUnit(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">selectHorizontalAutoTickUnit</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">NumberAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>drawArea</CODE> - the area in which the plot and axes should be drawn.<DD><CODE>dataArea</CODE> - the area defined by the axes.<DD><CODE>edge</CODE> - the axis location.</DL></DD></DL><HR><A NAME="selectVerticalAutoTickUnit(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>selectVerticalAutoTickUnit</H3><PRE>protected void <B>selectVerticalAutoTickUnit</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D drawArea, java.awt.geom.Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">NumberAxis</A></CODE></B></DD><DD>Selects an appropriate tick value for the axis. The strategy is to display as many ticks as possible (selected from an array of 'standard' tick units) without the labels overlapping.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html#selectVerticalAutoTickUnit(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">selectVerticalAutoTickUnit</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">NumberAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>drawArea</CODE> - the area in which the plot and axes should be drawn.<DD><CODE>dataArea</CODE> - the area in which the plot should be drawn.<DD><CODE>edge</CODE> - the axis location.</DL></DD></DL><HR><A NAME="calculateAnchorPoint(org.jfree.chart.axis.ValueTick, double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>calculateAnchorPoint</H3><PRE>protected float[] <B>calculateAnchorPoint</B>(<A HREF="../../../../org/jfree/chart/axis/ValueTick.html" title="class in org.jfree.chart.axis">ValueTick</A> tick, double cursor, java.awt.geom.Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A></CODE></B></DD><DD>Calculates the anchor point for a tick label.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html#calculateAnchorPoint(org.jfree.chart.axis.ValueTick, double, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">calculateAnchorPoint</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tick</CODE> - the tick.<DD><CODE>cursor</CODE> - the cursor.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>edge</CODE> - the edge on which the axis is drawn.<DT><B>Returns:</B><DD>the x and y coordinates of the anchor point.</DL></DD></DL><HR><A NAME="refreshHorizontalTicks(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshHorizontalTicks</H3><PRE>public java.util.List <B>refreshHorizontalTicks</B>(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Builds a list of ticks for the axis. This method is called when the axis is at the top or bottom of the chart (so the axis is "horizontal").<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html#refreshHorizontalTicks(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">refreshHorizontalTicks</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">NumberAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>cursor</CODE> - the cursor position.<DD><CODE>plotArea</CODE> - the plot area.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>edge</CODE> - the edge.<DT><B>Returns:</B><DD>a list of ticks.</DL></DD></DL><HR><A NAME="refreshVerticalTicks(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)"><!-- --></A><H3>refreshVerticalTicks</H3><PRE>public java.util.List <B>refreshVerticalTicks</B>(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Builds a list of ticks for the axis. This method is called when the axis is at the left or right of the chart (so the axis is "vertical").<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html#refreshVerticalTicks(java.awt.Graphics2D, double, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, org.jfree.ui.RectangleEdge)">refreshVerticalTicks</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis">NumberAxis</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>cursor</CODE> - the cursor position.<DD><CODE>plotArea</CODE> - the plot area.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>edge</CODE> - the edge.<DT><B>Returns:</B><DD>a list of ticks.</DL></DD></DL><HR><A NA
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -