|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.odesys.chart.ChartView | +--com.odesys.chart.linechart.LineChartView
LineChartView draws a Line Chart in the Graphics context provided by its parent Chart Component.
Fields inherited from class com.odesys.chart.ChartView |
m_chart |
Constructor Summary | |
LineChartView(Chart chart)
Creates a new LineChartView instance for the specified Chart. |
Method Summary | |
Grid |
getGrid()
Gets the Grid instance used by this BubbleChartView. |
float |
getMaxX()
Gets the max X coordinate in this LineChartView's data model. |
float |
getMaxY()
Gets the max Y coordinate in this LineChartView's data model. |
float |
getMinX()
Gets the min X coordinate in this LineChartView's data model. |
float |
getMinY()
Gets the min Y coordinate in this LineChartView's data model. |
LineChartModel |
getModel()
|
Line |
lineFromPoint(java.awt.Point p)
Determines the Line instance associated with the specified Point. |
void |
paint(java.awt.Graphics g)
Draws the Line Chart in the specified Graphics context. |
PointData |
pointDataFromPoint(java.awt.Point p)
Determines the PointData instance associated with the specified Point. |
void |
setModel(ChartModel model)
Sets the data Model of this ChartView. |
void |
updateAggregates()
Recalculates the minX, maxX, minY and maxY values. |
void |
updateDrawables()
Used internally to update the DrawableLines of this LineChartView. |
Methods inherited from class com.odesys.chart.ChartView |
getBackground, getFont, getForeground, getPreferredSize, isAutoScaleToFit, isContoursVisible, isLabelsVisible, location, repaint, reshape, setAutoScaleToFit, setBackground, setContoursVisible, setFont, setForeground, setLabelsVisible, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LineChartView(Chart chart)
Method Detail |
public void updateDrawables()
updateDrawables
in class ChartView
public void paint(java.awt.Graphics g)
paint
in class ChartView
public Grid getGrid()
public PointData pointDataFromPoint(java.awt.Point p)
public Line lineFromPoint(java.awt.Point p)
public void setModel(ChartModel model) throws java.lang.IllegalArgumentException
ChartView
setModel
in class ChartView
public LineChartModel getModel()
public void updateAggregates()
updateAggregates
in class ChartView
public float getMaxX()
public float getMinX()
public float getMaxY()
public float getMinY()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |