Modifier and Type | Field and Description |
---|---|
protected Chart |
chart
the chart
|
protected SeriesSet |
seriesSet
the set of plots
|
Constructor and Description |
---|
PlotArea(Chart chart,
int style)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addCustomPaintListener(ICustomPaintListener listener)
Adds the custom paint listener.
|
void |
dispose() |
ISeriesSet |
getSeriesSet()
Gets the set of series.
|
void |
paintControl(PaintEvent e) |
void |
redraw() |
void |
removeCustomPaintListener(ICustomPaintListener listener)
Removes the custom paint listener
|
void |
setBackground(Color color) |
void |
setBounds(int x,
int y,
int width,
int height) |
void |
update() |
protected Chart chart
protected SeriesSet seriesSet
public PlotArea(Chart chart, int style)
chart
- the chartstyle
- the stylepublic ISeriesSet getSeriesSet()
public void setBounds(int x, int y, int width, int height)
public void setBackground(Color color)
public void addCustomPaintListener(ICustomPaintListener listener)
IPlotArea
addCustomPaintListener
in interface IPlotArea
listener
- the custom paint listenerpublic void removeCustomPaintListener(ICustomPaintListener listener)
IPlotArea
removeCustomPaintListener
in interface IPlotArea
listener
- the custom paint listenerpublic void paintControl(PaintEvent e)
public void update()
public void redraw()
public void dispose()