java.lang.Object | |||||
↳ | java.awt.Component | ||||
↳ | java.awt.Container | ||||
↳ | javax.swing.JComponent | ||||
↳ | javax.swing.JPanel | ||||
↳ | org.jfree.chart.ChartPanel |
![]() |
A Swing GUI component for displaying a JFreeChart
object.
The panel registers with the chart to receive notification of changes to any component of the chart. The chart is redrawn automatically whenever this notification is received.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | COPY_COMMAND | Copy action command. | |||||||||
boolean | DEFAULT_BUFFER_USED | Default setting for buffer usage. | |||||||||
int | DEFAULT_HEIGHT | The default panel height. | |||||||||
int | DEFAULT_MAXIMUM_DRAW_HEIGHT | The default limit above which chart scaling kicks in. | |||||||||
int | DEFAULT_MAXIMUM_DRAW_WIDTH | The default limit above which chart scaling kicks in. | |||||||||
int | DEFAULT_MINIMUM_DRAW_HEIGHT | The default limit below which chart scaling kicks in. | |||||||||
int | DEFAULT_MINIMUM_DRAW_WIDTH | The default limit below which chart scaling kicks in. | |||||||||
int | DEFAULT_WIDTH | The default panel width. | |||||||||
int | DEFAULT_ZOOM_TRIGGER_DISTANCE | The minimum size required to perform a zoom on a rectangle | |||||||||
String | PRINT_COMMAND | Print action command. | |||||||||
String | PROPERTIES_COMMAND | Properties action command. | |||||||||
String | SAVE_COMMAND | Save action command. | |||||||||
String | ZOOM_IN_BOTH_COMMAND | Zoom in (both axes) action command. | |||||||||
String | ZOOM_IN_DOMAIN_COMMAND | Zoom in (domain axis only) action command. | |||||||||
String | ZOOM_IN_RANGE_COMMAND | Zoom in (range axis only) action command. | |||||||||
String | ZOOM_OUT_BOTH_COMMAND | Zoom out (both axes) action command. | |||||||||
String | ZOOM_OUT_DOMAIN_COMMAND | Zoom out (domain axis only) action command. | |||||||||
String | ZOOM_OUT_RANGE_COMMAND | Zoom out (range axis only) action command. | |||||||||
String | ZOOM_RESET_BOTH_COMMAND | Zoom reset (both axes) action command. | |||||||||
String | ZOOM_RESET_DOMAIN_COMMAND | Zoom reset (domain axis only) action command. | |||||||||
String | ZOOM_RESET_RANGE_COMMAND | Zoom reset (range axis only) action command. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
localizationResources | The resourceBundle for the localization. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a panel that displays the specified chart.
| |||||||||||
Constructs a panel containing a chart.
| |||||||||||
Constructs a JFreeChart panel.
| |||||||||||
Constructs a JFreeChart panel.
| |||||||||||
Constructs a JFreeChart panel.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Handles action events generated by the popup menu.
| |||||||||||
Adds a listener to the list of objects listening for chart mouse events.
| |||||||||||
Add an overlay to the panel.
| |||||||||||
Receives notification of changes to the chart, and redraws the chart.
| |||||||||||
Receives notification of a chart progress event.
| |||||||||||
Creates a print job for the chart.
| |||||||||||
Copies the current chart to the system clipboard.
| |||||||||||
Displays a dialog that allows the user to edit the properties for the
current chart.
| |||||||||||
Opens a file chooser and gives the user an opportunity to save the chart
in PNG format.
| |||||||||||
Returns the anchor point.
| |||||||||||
Returns the chart contained in the panel.
| |||||||||||
Returns the chart rendering info from the most recent chart redraw.
| |||||||||||
Returns the default directory for the "save as" option.
| |||||||||||
Returns the dismissal tooltip delay value used inside this chart panel.
| |||||||||||
Returns the chart entity at a given point.
| |||||||||||
Returns the flag that controls whether or not the zoom rectangle is
filled when drawn.
| |||||||||||
Returns the flag that controls whether or not a horizontal axis trace
line is drawn over the plot area at the current mouse location.
| |||||||||||
Returns the initial tooltip delay value used inside this chart panel.
| |||||||||||
Returns an array of the listeners of the given type registered with the
panel.
| |||||||||||
Returns the maximum drawing height for charts.
| |||||||||||
Returns the maximum drawing width for charts.
| |||||||||||
Returns the minimum drawing height for charts.
| |||||||||||
Returns the minimum drawing width for charts.
| |||||||||||
Returns the popup menu.
| |||||||||||
Returns the flag that controls whether or not the offscreen buffer
needs to be refreshed.
| |||||||||||
Returns the reshow tooltip delay value used inside this chart panel.
| |||||||||||
Returns the X scale factor for the chart.
| |||||||||||
Returns the Y scale factory for the chart.
| |||||||||||
Returns the data area (the area inside the axes) for the plot or subplot,
with the current scaling applied.
| |||||||||||
Returns the data area for the chart (the area inside the axes) with the
current scaling applied (that is, the area as it appears on screen).
| |||||||||||
Returns a string for the tooltip.
| |||||||||||
Returns the flag that controls whether or not a vertical axis trace
line is drawn over the plot area at the current mouse location.
| |||||||||||
Returns the flag that controls whether or not zoom operations are
centered around the current anchor point.
| |||||||||||
Returns the zoom rectangle fill paint.
| |||||||||||
Returns the zoom in factor.
| |||||||||||
Returns the zoom out factor.
| |||||||||||
Returns the zoom rectangle outline paint.
| |||||||||||
Returns the zoom trigger distance.
| |||||||||||
Returns the flag that determines whether or not zooming is enabled for
the domain axis.
| |||||||||||
Returns
true if file extensions should be enforced, and
false otherwise. | |||||||||||
Returns
true if the mouse wheel handler is enabled, and
false otherwise. | |||||||||||
Returns the flag that determines whether or not zooming is enabled for
the range axis.
| |||||||||||
Receives notification of mouse clicks on the panel.
| |||||||||||
Handles a 'mouse dragged' event.
| |||||||||||
Handles a 'mouse entered' event.
| |||||||||||
Handles a 'mouse exited' event.
| |||||||||||
Implementation of the MouseMotionListener's method.
| |||||||||||
Handles a 'mouse pressed' event.
| |||||||||||
Handles a 'mouse released' event.
| |||||||||||
Handles a change to an overlay by repainting the panel.
| |||||||||||
Paints the component by drawing the chart to fill the entire component,
but allowing for the insets (which will be non-zero if a border has been
set for this component).
| |||||||||||
Prints the chart on a single page.
| |||||||||||
Removes a listener from the list of objects listening for chart mouse
events.
| |||||||||||
Removes an overlay from the panel.
| |||||||||||
Restores the auto-range calculation on both axes.
| |||||||||||
Restores the auto-range calculation on the domain axis.
| |||||||||||
Restores the auto-range calculation on the range axis.
| |||||||||||
Applies any scaling that is in effect for the chart drawing to the
given rectangle.
| |||||||||||
Sets the chart that is displayed in the panel.
| |||||||||||
Sets the default directory for the "save as" option.
| |||||||||||
Specifies the dismissal delay value for this chart panel.
| |||||||||||
Switches the display of tooltips for the panel on or off.
| |||||||||||
Sets the flag that controls whether or not zooming is enable for the
domain axis.
| |||||||||||
Sets a flag that controls whether or not file extensions are enforced.
| |||||||||||
A flag that controls how the zoom rectangle is drawn.
| |||||||||||
A flag that controls trace lines on the horizontal axis.
| |||||||||||
Specifies the initial delay value for this chart panel.
| |||||||||||
Sets the maximum drawing height for the chart on this panel.
| |||||||||||
Sets the maximum drawing width for the chart on this panel.
| |||||||||||
Sets the minimum drawing height for the chart on this panel.
| |||||||||||
Sets the minimum drawing width for the chart on this panel.
| |||||||||||
Enables or disables mouse wheel support for the panel.
| |||||||||||
A convenience method that switches on mouse-based zooming.
| |||||||||||
A convenience method that switches on mouse-based zooming.
| |||||||||||
Sets the popup menu for the panel.
| |||||||||||
A flag that controls mouse-based zooming on the vertical axis.
| |||||||||||
Sets the refresh buffer flag.
| |||||||||||
Specifies the amount of time before the user has to wait initialDelay
milliseconds before a tooltip will be shown.
| |||||||||||
A flag that controls trace lines on the vertical axis.
| |||||||||||
Sets the flag that controls whether or not zoom operations are
centered around the current anchor point.
| |||||||||||
Sets the zoom rectangle fill paint.
| |||||||||||
Sets the zoom in factor.
| |||||||||||
Sets the zoom out factor.
| |||||||||||
Sets the zoom rectangle outline paint.
| |||||||||||
Sets the zoom trigger distance.
| |||||||||||
Translates a Java2D point on the chart to a screen location.
| |||||||||||
Translates a panel (component) location to a Java2D point.
| |||||||||||
Updates the UI for a LookAndFeel change.
| |||||||||||
Zooms in on a selected region.
| |||||||||||
Zooms in on an anchor point (specified in screen coordinate space).
| |||||||||||
Decreases the length of the domain axis, centered about the given
coordinate on the screen.
| |||||||||||
Decreases the length of the range axis, centered about the given
coordinate on the screen.
| |||||||||||
Zooms out on an anchor point (specified in screen coordinate space).
| |||||||||||
Increases the length of the domain axis, centered about the given
coordinate on the screen.
| |||||||||||
Increases the length the range axis, centered about the given
coordinate on the screen.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a popup menu for the panel.
| |||||||||||
Creates a popup menu for the panel.
| |||||||||||
The idea is to modify the zooming options depending on the type of chart
being displayed by the panel.
| |||||||||||
Returns the horizontal trace line.
| |||||||||||
Returns the vertical trace line.
| |||||||||||
Sets the anchor point.
| |||||||||||
Sets the horizontal trace line.
| |||||||||||
Sets the vertical trace line.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Default setting for buffer usage. The default has been changed to
true
from version 1.0.13 onwards, because of a severe
performance problem with drawing the zoom rectangle using XOR (which
now happens only when the buffer is NOT used).
The default panel height.
The default limit above which chart scaling kicks in.
The default limit above which chart scaling kicks in.
The default limit below which chart scaling kicks in.
The default limit below which chart scaling kicks in.
The default panel width.
The minimum size required to perform a zoom on a rectangle
Properties action command.
Zoom in (both axes) action command.
Zoom in (domain axis only) action command.
Zoom in (range axis only) action command.
Zoom out (both axes) action command.
Zoom out (domain axis only) action command.
Zoom out (range axis only) action command.
Zoom reset (both axes) action command.
Zoom reset (domain axis only) action command.
Zoom reset (range axis only) action command.
Constructs a panel that displays the specified chart.
chart | the chart. |
---|
Constructs a panel containing a chart. The useBuffer
flag
controls whether or not an offscreen BufferedImage
is
maintained for the chart. If the buffer is used, more memory is
consumed, but panel repaints will be a lot quicker in cases where the
chart itself hasn't changed (for example, when another frame is moved
to reveal the panel). WARNING: If you set the useBuffer
flag to false, note that the mouse zooming rectangle will (in that case)
be drawn using XOR, and there is a SEVERE performance problem with that
on JRE6 on Windows.
chart | the chart. |
---|---|
useBuffer | a flag controlling whether or not an off-screen buffer
is used (read the warning above before setting this
to false ).
|
Constructs a JFreeChart panel.
chart | the chart. |
---|---|
properties | a flag indicating whether or not the chart property editor should be available via the popup menu. |
save | a flag indicating whether or not save options should be available via the popup menu. |
a flag indicating whether or not the print option should be available via the popup menu. | |
zoom | a flag indicating whether or not zoom options should be added to the popup menu. |
tooltips | a flag indicating whether or not tooltips should be enabled for the chart. |
Constructs a JFreeChart panel.
chart | the chart. |
---|---|
width | the preferred width of the panel. |
height | the preferred height of the panel. |
minimumDrawWidth | the minimum drawing width. |
minimumDrawHeight | the minimum drawing height. |
maximumDrawWidth | the maximum drawing width. |
maximumDrawHeight | the maximum drawing height. |
useBuffer | a flag that indicates whether to use the off-screen buffer to improve performance (at the expense of memory). |
properties | a flag indicating whether or not the chart property editor should be available via the popup menu. |
save | a flag indicating whether or not save options should be available via the popup menu. |
a flag indicating whether or not the print option should be available via the popup menu. | |
zoom | a flag indicating whether or not zoom options should be added to the popup menu. |
tooltips | a flag indicating whether or not tooltips should be enabled for the chart. |
Constructs a JFreeChart panel.
chart | the chart. |
---|---|
width | the preferred width of the panel. |
height | the preferred height of the panel. |
minimumDrawWidth | the minimum drawing width. |
minimumDrawHeight | the minimum drawing height. |
maximumDrawWidth | the maximum drawing width. |
maximumDrawHeight | the maximum drawing height. |
useBuffer | a flag that indicates whether to use the off-screen buffer to improve performance (at the expense of memory). |
properties | a flag indicating whether or not the chart property editor should be available via the popup menu. |
copy | a flag indicating whether or not a copy option should be available via the popup menu. |
save | a flag indicating whether or not save options should be available via the popup menu. |
a flag indicating whether or not the print option should be available via the popup menu. | |
zoom | a flag indicating whether or not zoom options should be added to the popup menu. |
tooltips | a flag indicating whether or not tooltips should be enabled for the chart. |
Handles action events generated by the popup menu.
event | the event. |
---|
Adds a listener to the list of objects listening for chart mouse events.
listener | the listener (null not permitted).
|
---|
Add an overlay to the panel.
overlay | the overlay (null not permitted). |
---|
Receives notification of changes to the chart, and redraws the chart.
event | details of the chart change event. |
---|
Receives notification of a chart progress event.
event | the event. |
---|
Creates a print job for the chart.
Copies the current chart to the system clipboard.
Displays a dialog that allows the user to edit the properties for the current chart.
Opens a file chooser and gives the user an opportunity to save the chart in PNG format.
IOException | if there is an I/O error. |
---|
Returns the chart contained in the panel.
null
).
Returns the chart rendering info from the most recent chart redraw.
Returns the default directory for the "save as" option.
null
).Returns the dismissal tooltip delay value used inside this chart panel.
Returns the chart entity at a given point.
This method will return null if there is (a) no entity at the given point, or (b) no entity collection has been generated.
viewX | the x-coordinate. |
---|---|
viewY | the y-coordinate. |
null
).
Returns the flag that controls whether or not the zoom rectangle is filled when drawn.
Returns the flag that controls whether or not a horizontal axis trace line is drawn over the plot area at the current mouse location.
Returns the initial tooltip delay value used inside this chart panel.
Returns an array of the listeners of the given type registered with the panel.
listenerType | the listener type. |
---|
Returns the maximum drawing height for charts.
If the height available on the panel is greater than this, then the chart is drawn at the maximum height then scaled up to fit.
Returns the maximum drawing width for charts.
If the width available on the panel is greater than this, then the chart is drawn at the maximum width then scaled up to fit.
Returns the minimum drawing height for charts.
If the height available on the panel is less than this, then the chart is drawn at the minimum height then scaled down to fit.
Returns the minimum drawing width for charts.
If the width available on the panel is less than this, then the chart is drawn at the minimum width then scaled down to fit.
Returns the flag that controls whether or not the offscreen buffer needs to be refreshed.
Returns the reshow tooltip delay value used inside this chart panel.
Returns the X scale factor for the chart. This will be 1.0 if no scaling has been used.
Returns the Y scale factory for the chart. This will be 1.0 if no scaling has been used.
Returns the data area (the area inside the axes) for the plot or subplot, with the current scaling applied.
x | the x-coordinate (for subplot selection). |
---|---|
y | the y-coordinate (for subplot selection). |
Returns the data area for the chart (the area inside the axes) with the current scaling applied (that is, the area as it appears on screen).
Returns a string for the tooltip.
e | the mouse event. |
---|
null
if no tooltip is available.
Returns the flag that controls whether or not a vertical axis trace line is drawn over the plot area at the current mouse location.
Returns the flag that controls whether or not zoom operations are centered around the current anchor point.
Returns the zoom rectangle fill paint.
null
).Returns the zoom rectangle outline paint.
null
).Returns the zoom trigger distance. This controls how far the mouse must move before a zoom action is triggered.
Returns the flag that determines whether or not zooming is enabled for the domain axis.
Returns true
if file extensions should be enforced, and
false
otherwise.
Returns true
if the mouse wheel handler is enabled, and
false
otherwise.
Returns the flag that determines whether or not zooming is enabled for the range axis.
Receives notification of mouse clicks on the panel. These are
translated and passed on to any registered ChartMouseListener
s.
event | Information about the mouse event. |
---|
Handles a 'mouse dragged' event.
e | the mouse event. |
---|
Handles a 'mouse entered' event. This method changes the tooltip delays of ToolTipManager.sharedInstance() to the possibly different values set for this chart panel.
e | the mouse event. |
---|
Handles a 'mouse exited' event. This method resets the tooltip delays of ToolTipManager.sharedInstance() to their original values in effect before mouseEntered()
e | the mouse event. |
---|
Implementation of the MouseMotionListener's method.
e | the event. |
---|
Handles a 'mouse pressed' event.
This event is the popup trigger on Unix/Linux. For Windows, the popup trigger is the 'mouse released' event.
e | The mouse event. |
---|
Handles a 'mouse released' event. On Windows, we need to check if this is a popup trigger, but only if we haven't already been tracking a zoom rectangle.
e | information about the event. |
---|
Handles a change to an overlay by repainting the panel.
event | the event. |
---|
Paints the component by drawing the chart to fill the entire component, but allowing for the insets (which will be non-zero if a border has been set for this component). To increase performance (at the expense of memory), an off-screen buffer image can be used.
g | the graphics device for drawing on. |
---|
Prints the chart on a single page.
g | the graphics context. |
---|---|
pf | the page format to use. |
pageIndex | the index of the page. If not 0 , nothing
gets print. |
Removes a listener from the list of objects listening for chart mouse events.
listener | the listener. |
---|
Removes an overlay from the panel.
overlay | the overlay to remove (null not permitted). |
---|
Restores the auto-range calculation on both axes.
Restores the auto-range calculation on the domain axis.
Restores the auto-range calculation on the range axis.
Applies any scaling that is in effect for the chart drawing to the given rectangle.
rect | the rectangle (null not permitted). |
---|
Sets the chart that is displayed in the panel.
chart | the chart (null permitted).
|
---|
Sets the default directory for the "save as" option. If you set this
to null
, the user's default directory will be used.
directory | the directory (null permitted). |
---|
Specifies the dismissal delay value for this chart panel.
delay | the number of milliseconds to delay before taking away the tooltip |
---|
Switches the display of tooltips for the panel on or off. Note that tooltips can only be displayed if the chart has been configured to generate tooltip items.
flag | true to enable tooltips, false to
disable tooltips.
|
---|
Sets the flag that controls whether or not zooming is enable for the domain axis. A check is made to ensure that the current plot supports zooming for the domain values.
flag | true enables zooming if possible.
|
---|
Sets a flag that controls whether or not file extensions are enforced.
enforce | the new flag value. |
---|
A flag that controls how the zoom rectangle is drawn.
flag | true instructs to fill the rectangle on
zoom, otherwise it will be outlined.
|
---|
A flag that controls trace lines on the horizontal axis.
flag | true enables trace lines for the mouse
pointer on the horizontal axis.
|
---|
Specifies the initial delay value for this chart panel.
delay | the number of milliseconds to delay (after the cursor has paused) before displaying. |
---|
Sets the maximum drawing height for the chart on this panel.
At the time the chart is drawn on the panel, if the available height is greater than this amount, the chart will be drawn using the maximum height then scaled up to fit the available space.
height | The height. |
---|
Sets the maximum drawing width for the chart on this panel.
At the time the chart is drawn on the panel, if the available width is greater than this amount, the chart will be drawn using the maximum width then scaled up to fit the available space.
width | The width. |
---|
Sets the minimum drawing height for the chart on this panel.
At the time the chart is drawn on the panel, if the available height is less than this amount, the chart will be drawn using the minimum height then scaled down to fit the available space.
height | The height. |
---|
Sets the minimum drawing width for the chart on this panel.
At the time the chart is drawn on the panel, if the available width is less than this amount, the chart will be drawn using the minimum width then scaled down to fit the available space.
width | The width. |
---|
Enables or disables mouse wheel support for the panel. Note that this method does nothing when running JFreeChart on JRE 1.3.1, because that older version of the Java runtime does not support mouse wheel events.
flag | a boolean. |
---|
A convenience method that switches on mouse-based zooming.
flag | true enables zooming and rectangle fill on
zoom.
|
---|
A convenience method that switches on mouse-based zooming.
flag | true if zooming enabled |
---|---|
fillRectangle | true if zoom rectangle is filled,
false if rectangle is shown as outline only.
|
Sets the popup menu for the panel.
popup | the popup menu (null permitted).
|
---|
A flag that controls mouse-based zooming on the vertical axis.
flag | true enables zooming.
|
---|
Sets the refresh buffer flag. This flag is used to avoid unnecessary redrawing of the chart when the offscreen image buffer is used.
flag | true indicates that the buffer should be
refreshed.
|
---|
Specifies the amount of time before the user has to wait initialDelay milliseconds before a tooltip will be shown.
delay | time in milliseconds |
---|
A flag that controls trace lines on the vertical axis.
flag | true enables trace lines for the mouse
pointer on the vertical axis.
|
---|
Sets the flag that controls whether or not zoom operations are centered around the current anchor point.
zoomAroundAnchor | the new flag value. |
---|
Sets the zoom rectangle fill paint.
paint | the paint (null not permitted). |
---|
Sets the zoom rectangle outline paint.
paint | the paint (null not permitted). |
---|
Sets the zoom trigger distance. This controls how far the mouse must move before a zoom action is triggered.
distance | the distance (in Java2D units). |
---|
Translates a Java2D point on the chart to a screen location.
java2DPoint | the Java2D point. |
---|
Translates a panel (component) location to a Java2D point.
screenPoint | the screen location (null not
permitted). |
---|
Updates the UI for a LookAndFeel change.
Zooms in on a selected region.
selection | the selected region. |
---|
Zooms in on an anchor point (specified in screen coordinate space).
x | the x value (in screen coordinates). |
---|---|
y | the y value (in screen coordinates). |
Decreases the length of the domain axis, centered about the given
coordinate on the screen. The length of the domain axis is reduced
by the value of getZoomInFactor()
.
x | the x coordinate (in screen coordinates). |
---|---|
y | the y-coordinate (in screen coordinates). |
Decreases the length of the range axis, centered about the given
coordinate on the screen. The length of the range axis is reduced by
the value of getZoomInFactor()
.
x | the x-coordinate (in screen coordinates). |
---|---|
y | the y coordinate (in screen coordinates). |
Zooms out on an anchor point (specified in screen coordinate space).
x | the x value (in screen coordinates). |
---|---|
y | the y value (in screen coordinates). |
Increases the length of the domain axis, centered about the given
coordinate on the screen. The length of the domain axis is increased
by the value of getZoomOutFactor()
.
x | the x coordinate (in screen coordinates). |
---|---|
y | the y-coordinate (in screen coordinates). |
Increases the length the range axis, centered about the given
coordinate on the screen. The length of the range axis is increased
by the value of getZoomOutFactor()
.
x | the x coordinate (in screen coordinates). |
---|---|
y | the y-coordinate (in screen coordinates). |
Creates a popup menu for the panel.
properties | include a menu item for the chart property editor. |
---|---|
copy | include a menu item for copying to the clipboard. |
save | include a menu item for saving the chart. |
include a menu item for printing the chart. | |
zoom | include menu items for zooming. |
Creates a popup menu for the panel.
properties | include a menu item for the chart property editor. |
---|---|
save | include a menu item for saving the chart. |
include a menu item for printing the chart. | |
zoom | include menu items for zooming. |
The idea is to modify the zooming options depending on the type of chart being displayed by the panel.
x | horizontal position of the popup. |
---|---|
y | vertical position of the popup. |
Returns the horizontal trace line.
null
).
Returns the vertical trace line.
null
).
Sets the anchor point. This method is provided for the use of subclasses, not end users.
anchor | the anchor point (null permitted).
|
---|
Sets the horizontal trace line.
line | the line (null permitted).
|
---|
Sets the vertical trace line.
line | the line (null permitted).
|
---|