Serialized Form
firstPaint
boolean firstPaint
- This flag controls the execution of time-consuming routines, which are related to the
calculation of margins, labels and values coordinates, legend position and so on.
These routines must be executed only the first time chart is painted, or if certain events
happened during execution and they require a chart refresh, like margins adjustment,
labels/series values change, etc. Before painting chart for the first time or if a
refresh is requested, this flag is set to true. The chart is painted on an Image
object. If firstPaint is true, the Image object is created and chart is painted on
it. If not, all initialization routines are bypassed, and the image is repainted.
supportsMultipleSeries
boolean supportsMultipleSeries
- This flag indicates that the chart context supports the addition of multiple series.
It is tested in some classes to avoid unecessary loops across the 'series' Vector.
isMovingLegend
boolean isMovingLegend
isChartVisible
boolean isChartVisible
- The first time chart is painted this flag is set to true. It controls execution of
mouse event handlers, because sometimes if chart has not been painted yet but mouse cursor
is moved over the chart area, a mouse event is dispatched, even if the chart
is not visible. This causes the paint() method to be invoked when some variables were not
initialized yet, raising null pointer exceptions. The flag below is set to
true at the end of the paint method of subclasses of GenericGraph and it is checked in
the mouse dispatching methods(processMouseEvent() and processMouseMotionEvent()).
series
java.util.Vector series
legends
java.util.Vector legends
currentClickedLegend
Legend currentClickedLegend
leftMargin
int leftMargin
rightMargin
int rightMargin
topMargin
int topMargin
bottomMargin
int bottomMargin
title
java.lang.String[] title
isDraggingChart
boolean isDraggingChart
titleFont
java.awt.Font titleFont
is3DEnabled
boolean is3DEnabled
isLegendEnabled
boolean isLegendEnabled
isAxisTitleOpaque
boolean isAxisTitleOpaque
movingX
int movingX
movingY
int movingY
toolTipThread
com.jinsight.jetchart.ToolTipThread toolTipThread
canPaintToolTip
boolean canPaintToolTip
backgroundImage
java.awt.Image backgroundImage
labelsQuery
java.lang.String labelsQuery
hasChangedLabels
boolean hasChangedLabels
imagePosition
int imagePosition
lock
com.jinsight.jetchart.Lock lock
- This object controls synchronization of methods that are concurrently
accessed by different threads. It basically controls tooltip display if
tooltip timer is enabled.
mainLegend
Legend mainLegend
toolTip
ToolTip toolTip
bottomTitle
BottomTitle bottomTitle
leftTitle
LeftTitle leftTitle
rightTitle
RightTitle rightTitle
isSVGEncoding
boolean isSVGEncoding
svgString
java.lang.String svgString
calc
com.jinsight.jetchart.Calc calc
notes
java.util.Vector notes
titleForeground
java.awt.Color titleForeground
isDraggingEnabled
boolean isDraggingEnabled
posX
int posX
posY
int posY
oldTopMargin
int oldTopMargin
oldBottomMargin
int oldBottomMargin
oldLeftMargin
int oldLeftMargin
oldRightMargin
int oldRightMargin
titleGap
int titleGap
chartArea
java.awt.Rectangle chartArea
- A Rectangle object that retains chart dimensions, including the
scale values and labels dimensions. This object dimension is checked in
the beginning of the void paint() method when chart is being dragged
and a box is painted with the drawRect() method. The box represents
the new size or position of the chart after dragging.
draggingBoxColor
java.awt.Color draggingBoxColor
isOverNoteArea
boolean isOverNoteArea
currentNote
Note currentNote
isAxisFixed
boolean isAxisFixed
oldWidth
int oldWidth
oldHeight
int oldHeight
exited
boolean exited
serieListeners
java.util.Vector serieListeners
noteOffsetX
int noteOffsetX
- These variables are checked while dragging a Note object to adjust its
coordinates.
noteOffsetY
int noteOffsetY
- These variables are checked while dragging a Note object to adjust its
coordinates.
startedMovingLegend
boolean startedMovingLegend
drawImage
java.awt.Image drawImage
imageCopy
java.awt.Image imageCopy
movingLegendImage
java.awt.Image movingLegendImage
g
java.awt.Graphics g
currentActiveSerie
AbstractSerie currentActiveSerie
- This variable controls dispatch of series events. It is assigned a reference
to a non-null series when mouse cursor is moved within the bounds of a series
data point.
toolTipChartLabelContent
java.lang.String toolTipChartLabelContent
- Sets data point label to be displayed inside respective tooltip.
isOffScreenGraphEnabled
boolean isOffScreenGraphEnabled
isBufferedImageEnabled
boolean isBufferedImageEnabled
bufferedImageType
int bufferedImageType
legendRightArea
java.awt.Rectangle legendRightArea
legendBottomArea
java.awt.Rectangle legendBottomArea
legendLeftArea
java.awt.Rectangle legendLeftArea
xDistanceToLegendLeftUpperCorner
int xDistanceToLegendLeftUpperCorner
yDistanceToLegendLeftUpperCorner
int yDistanceToLegendLeftUpperCorner
defaultCursor
java.awt.Cursor defaultCursor
jdbcDriver
java.lang.String jdbcDriver
jdbcURL
java.lang.String jdbcURL
user
java.lang.String user
password
java.lang.String password
xmlParser
com.jinsight.jetchart.XMLParser xmlParser
gradientColorsBounds
java.awt.Rectangle gradientColorsBounds
initialColor
java.awt.Color initialColor
finalColor
java.awt.Color finalColor
orientation
int orientation
vDepth
int vDepth
hDepth
int hDepth
isSerieDraggingEnabled
boolean isSerieDraggingEnabled
isDraggingSerie
boolean isDraggingSerie
wasDraggingSerie
boolean wasDraggingSerie
isLastPaintAfterDraggingSerie
boolean isLastPaintAfterDraggingSerie
repaintWithoutRefreshing
boolean repaintWithoutRefreshing
canDragSerie
boolean canDragSerie
isMonthLabelsEnabled
boolean isMonthLabelsEnabled
isAutoScalePositioningEnabled
boolean isAutoScalePositioningEnabled
scalesGap
float scalesGap
labelsFont
java.awt.Font labelsFont
previousHighlitSerie
AbstractSerie previousHighlitSerie
existSerieWithHighlightEnabled
boolean existSerieWithHighlightEnabled
isZoomEnabled
boolean isZoomEnabled
isZoomed
boolean isZoomed
zoomAreaColor
java.awt.Color zoomAreaColor
isSelectingZoomArea
boolean isSelectingZoomArea
isZoomingOut
boolean isZoomingOut
isZoomingIn
boolean isZoomingIn
firstZoomCoordinate
int firstZoomCoordinate
lastZoomCoordinate
int lastZoomCoordinate
firstZoomOffset
int firstZoomOffset
lastZoomOffset
int lastZoomOffset
exited
boolean exited
mousePressed
boolean mousePressed
isMouseDragHandlerLocked
boolean isMouseDragHandlerLocked
SCROLLING_LABEL
int SCROLLING_LABEL
SCROLLING_BAR
int SCROLLING_BAR
isMultipleHighlightEnabled
boolean isMultipleHighlightEnabled
isMultipleSerieEventsEnabled
boolean isMultipleSerieEventsEnabled
isHorizontalGraphEnabled
boolean isHorizontalGraphEnabled
isStartOnAxisEnabled
boolean isStartOnAxisEnabled
is3DSeriesInLineEnabled
boolean is3DSeriesInLineEnabled
isVerticalLabelsEnabled
boolean isVerticalLabelsEnabled
isVerticalLabelsOpaque
boolean isVerticalLabelsOpaque
isAutoLabelSpacingEnabled
boolean isAutoLabelSpacingEnabled
isZoomAreaSplit
boolean isZoomAreaSplit
isDisplayingSeriesDraggingCursor
boolean isDisplayingSeriesDraggingCursor
startDate
java.lang.String startDate
dateIncrementType
int dateIncrementType
dateIncrement
int dateIncrement
labelsAxisStartGap
int labelsAxisStartGap
labelsAxisEndGap
int labelsAxisEndGap
labelSections
int labelSections
labelsStep
int labelsStep
gel
GraphEventListener gel
graphCalc
com.jinsight.jetchart.GraphCalc graphCalc
scrollingLabel
ScrollingLabel scrollingLabel
wall
Wall wall
mainGraphSet
GraphSet mainGraphSet
graphSets
java.util.Vector graphSets
zoomListeners
java.util.Vector zoomListeners
graphObservers
java.util.Vector graphObservers
labelsStatus
int[] labelsStatus
originalLabelsStatus
int[] originalLabelsStatus
mouseSensitivity
int mouseSensitivity
toolTipAreaDecr
int toolTipAreaDecr
toolTipAreaWidth
int toolTipAreaWidth
mouseMovedSerie
GraphSerie mouseMovedSerie
draggedSerie
GraphSerie draggedSerie
largestCharWidthInMultiLineLabels
int largestCharWidthInMultiLineLabels
maxNrOfLinesInMultiLabels
int maxNrOfLinesInMultiLabels
labels
java.lang.String[] labels
originalLabels
java.lang.String[] originalLabels
multiLabels
com.jinsight.jetchart.MultiLineText[] multiLabels
originalMultiLabels
com.jinsight.jetchart.MultiLineText[] originalMultiLabels
originalDateLabels
java.lang.String[] originalDateLabels
originalStartDate
java.lang.String originalStartDate
dataSetStartIndex
int dataSetStartIndex
dataSetEndIndex
int dataSetEndIndex
hasChangedDataSetRange
boolean hasChangedDataSetRange
maximumNrOfLabelsAxisTicks
int maximumNrOfLabelsAxisTicks
shiftScope
int shiftScope
seriesTitleShiftScope
int seriesTitleShiftScope
backgroundImageArea
int backgroundImageArea
gradientColorsArea
int gradientColorsArea
isTrendLinesDrawingEnabled
boolean isTrendLinesDrawingEnabled
isDrawingTrendLine
boolean isDrawingTrendLine
hasJustFinishedDrawingTrendLine
boolean hasJustFinishedDrawingTrendLine
trendLineGraphSet
GraphSet trendLineGraphSet
tLineX1
int tLineX1
tLineY1
int tLineY1
tLineX2
int tLineX2
tLineY2
int tLineY2
trendLineColor
java.awt.Color trendLineColor
pieCalc
com.jinsight.jetchart.PieCalc pieCalc
draggedSlice
Slice draggedSlice
pGel
PieGraphEventListener pGel
repaintWithoutRefreshing
boolean repaintWithoutRefreshing
exited
boolean exited
mousePressed
boolean mousePressed
isMouseDragHandlerLocked
boolean isMouseDragHandlerLocked
sgel
ScatterGraphEventListener sgel
scatterCalc
com.jinsight.jetchart.ScatterCalc scatterCalc
wall
Wall wall
backgroundImageArea
int backgroundImageArea
gradientColorsArea
int gradientColorsArea
hScale
Scale hScale
vScale
Scale vScale
hSeriesBase
SeriesBase hSeriesBase
vSeriesBase
SeriesBase vSeriesBase
grid
Grid grid
gridCrossedLines
GridCrossedLines gridCrossedLines
xAxis
XAxis xAxis
tXAxis
XAxis tXAxis
yAxis
YAxis yAxis
rYAxis
YAxis rYAxis
firstQuadrant
Quadrant firstQuadrant
secondQuadrant
Quadrant secondQuadrant
thirdQuadrant
Quadrant thirdQuadrant
fourthQuadrant
Quadrant fourthQuadrant
hasScaleOnTheLeftSide
boolean hasScaleOnTheLeftSide
hasScaleOnTheRightSide
boolean hasScaleOnTheRightSide
mouseMovedSerie
ScatterSerie mouseMovedSerie
as
AbstractSerie as
x
int x
y
int y
clickCount
int clickCount
isOverLegend
boolean isOverLegend
elementIndex
int elementIndex
genericGraph
GenericGraph genericGraph
svg
SVGGraphics svg
svgLine
java.lang.String svgLine
lineNr
int lineNr
- The line number in the source code where the error occurred, or
NO_LINE
if the line number is unknown.
- Invariants:
-
lineNr > 0 || lineNr == NO_LINE
graph
Graph graph
value
int value
visibleAmount
int visibleAmount
maximum
int maximum
zoomType
int zoomType