List<E> m_axesXBottom
The first element is always existing and is the downward compatible result
of the call
.
Chart2D.getAxisX()
List<E> m_axesXTop
If empty no top x axes are shown.
List<E> m_axesYLeft
The first element is always existing and is the downward compatible result
of the call
.
Chart2D.getAxisY()
List<E> m_axesYRight
If empty no right y axes are shown.
IAxisTickPainter m_axisTickPainter
Color m_gridcolor
Stroke m_majorGridstroke
Stroke m_minorGridstroke
int m_minPaintLatency
boolean m_paintLabels
IPointFinder m_pointFinder
info.monitorenter.gui.chart.Chart2D.PointHighlighter m_pointHighlighter
ITrace2D.getPointHighlighters()
).
Also removes highlighters (potentially if they are exclusive) from the previous highlighted point.
List<E> m_pointHighlightListeners
These will get informed about highlighted points.
Timer m_repainter
Chart2D.m_minPaintLatency
ms.
boolean m_requestedRepaint
will always have at least have an interval of
Chart2D.m_minPaintLatency
ms.
Access to it has to be synchronized!
boolean m_synchronizedXStart
Chart2D m_synchronizedXStartChart
IToolTipType m_toolTip
int m_traceHighlighterCount
boolean m_useAntialiasing
int m_xChartEnd
int m_xChartStart
int m_yChartEnd
The px coordinates in awt / swing start from top and increase towards the bottom.
int m_yChartStart
boolean firstPaint
Chart2D.PROPERTY_VISIBLE
has to be fired.PropertyChangeSupport m_propertyChangeSupport
String m_title
Color m_titleColor
Color.BLACK
.Font m_titleFont
IAxisTitlePainter m_titlePainter
double m_distance
ITracePoint2D m_point
boolean m_isMajorTick
String m_label
double m_value
int m_lastPressedButton
Point2D m_startPoint
IRangePolicy m_zoomAllRangePolicy
Rectangle2D m_zoomArea
IAxisScalePolicy m_axisScalePolicy
SortedMap<K,V> m_propertyReactors
This is done for better performance - an old endless
..else if(propertyName.equals(..))..
has been replaced by
this.
AAxis.AChart2DDataAccessor m_accessor
It determines, which axis (x or y) this instance is representing.
int m_axisPosition
IAxis.AxisTitle m_axisTitle
AxisTitlePainterDefault
.IAxisLabelFormatter m_formatter
double m_majorTickSpacing
AAxis.setMajorTickSpacing(double)
double m_max
double m_min
double m_minorTickSpacing
AAxis.setMinorTickSpacing(double)
boolean m_needsFullRescale
It is set to false in
which is triggered from
the painting Thread. Whenever a bound change is detected in
AAxis.scale()
this is set to
true.
AAxis.propertyChange(PropertyChangeEvent)
Please remind: In previous versions there was only a test if the bounds had changed since the last scaling. This was not always correct: If in between two paint cycles the bounds were changed and new points added but at the point in time when the 2nd paint cycle starts the bounds would be equal no full rescaling would be performed even if the added points would have been scaled in relation to the changed bounds at their adding time: Bounds checks are not sufficient!
boolean m_paintGrid
boolean m_paintScale
int m_pixelXLeft
int m_pixelXRight
int m_pixelYBottom
int m_pixelYTop
PropertyChangeSupport m_propertyChangeSupport
IRangePolicy m_rangePolicy
Range m_rangePreviousScaling
This is used for detection of dirty scaling.
Range m_reusedRange
AAxis.getRange()
.boolean m_startMajorTick
Default is false.
Set<E> m_traces
Set
used to store the different
ITrace2d
instances to paint with z-index ordering based on
ITrace2D.getZIndex()
.
It is crucial to use a set implementation here that is not backed by a map. To be more precise: It is crucial to use an implementation that will use equals whenever operations like contains are invoked instead of searching by a computed key. In the latter case you could add traces here (at that point in time a key is computed from the trace state) then modify the traces (e.g. adding points) and later when trying to remove the trace the given traces's key would be computed but no key for it found.
boolean m_visible
Chart2D m_chart
long m_outputErrorTstamp
Chart2D m_chart
Chart2D m_chart
Chart2D m_chart
Chart2D m_chart
Trace2DLtd m_trace
Chart2D m_chart
Chart2D m_chart
JComponent m_chooserPanel
boolean m_ok
Set<E> m_errorBarPainters
boolean m_isEnded
ITracePoint2D m_lastPoint
AErrorBarPolicyConfigurable.paintPoint(int, int, int, int, Graphics, ITracePoint2D)
.
It will be needed at AErrorBarPolicyConfigurable.endPaintIteration(Graphics)
as the former
method only uses the first set of coordinates to store in the internal list
to avoid duplicates.
int m_lastX
AErrorBarPolicyConfigurable.paintPoint(int, int, int, int, Graphics, ITracePoint2D)
.
It will be needed at AErrorBarPolicyConfigurable.endPaintIteration(Graphics)
as the former
method only uses the first set of coordinates to store in the internal list
to avoid duplicates.
int m_lastY
AErrorBarPolicyConfigurable.paintPoint(int, int, int, int, Graphics, ITracePoint2D)
.
It will be needed at AErrorBarPolicyConfigurable.endPaintIteration(Graphics)
as the former
method only uses the first set of coordinates to store in the internal list
to avoid duplicates.
PropertyChangeSupport m_propertyChangeSupport
PropertyChangeEvents
and maintaining PropertyChangeListeners
.
PropertyChangeListener
instances.ErrorBarPixel m_reusedErrorBarPixel
boolean m_showNegativeXErrors
boolean m_showNegativeYErrors
boolean m_showPositiveXErrors
boolean m_showPositiveYErrors
ITrace2D m_trace
IPointPainterConfigurableUI<T extends IPointPainter<T>> m_connectionPainter
IPointPainterConfigurableUI<T extends IPointPainter<T>> m_endPointPainter
PropertyChangeSupport m_propertyChangeSupport
PropertyChangeEvents
and maintaining PropertyChangeListeners
.
IErrorBarPainter.ISegment m_segmentConnection
IErrorBarPainter.ISegment m_segmentEnd
IErrorBarPainter.ISegment m_segmentStart
IPointPainterConfigurableUI<T extends IPointPainter<T>> m_startPointPainter
int m_negativeXErrorPixel
int m_negativeYErrorPixel
int m_positiveXErrorPixel
int m_positiveYErrorPixel
ITrace2D m_trace
IErrorBarPolicy
is assigned to. This is
needed for the transformation. Although for the transformation the
underlying chart instance is needed the trace has to be stored as
reassigning the trace to another chart would break the chain and transform
values based upon the wrong chart.double m_xError
double m_yError
double m_relativeXError
double m_relativeYError
Chart2D m_chart
JFileChooser m_filechooser
JFileChooser
used to choose the location for saving snapshot images.
PropertyChangeSupport m_propertyChangeSupport
ALabelFormatter m_delegate
AUnit m_unit
In this implementation it is only used for finding labels that match the ticks.
int m_cachedMaxAmountChars
SimpleDateFormat m_dateFormat
double m_cachedMinValueShift
LabelFormatterNumber.format(double)
. This value is
computed once and cached because it's computation is expensive.NumberFormat m_numberFormat
ALabelFormatter m_delegate
AUnit m_unit
In this implementation it is only used for finding labels that match the ticks.
ColorMutable m_color
ColorMutable m_colorFill
Stroke m_stroke
boolean m_drawLowerWickDash
boolean m_drawUpperWickDash
int m_width
int m_discSize
int m_halfDiscSize
Chart2D m_chart
int m_halfWidth
PropertyChangeSupport m_propertyChangeSupport
PropertyChangeEvents
and maintaining PropertyChangeListeners
.
PropertyChangeListener
instances.Range m_range
IRangePolicy.getMax(double, double)
and
IRangePolicy.getMax(double, double)
.
double m_highestValueRangeToShow
double m_highestValueRangeToShow
double m_marginRatio
double m_marginMin
info.monitorenter.gui.chart.tracepoints.CandleStick.NEAREST_SPOT m_cachedNearestSpot
double m_high
double m_low
double m_end
Set<E> m_additionalPointPainters
ITrace2D m_listener
ITrace
who owns this point.
A trace point should be contained only in one trace!
double m_scaledX
double m_scaledY
double m_x
double m_y
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOException
- if there is an I/O error.ClassNotFoundException
- if there is a classpath problem.private void writeObject(ObjectOutputStream stream) throws IOException
IOException
- if there is an I/O error.IAccumulationStrategy m_accumulationStrategy
By default it is AccumulationStrategyByPass
: No accumulation takes
place, no overhead is spent on this.
List<E> m_changeListeners
ChangeListener
instances (mainly
Char2D
instances that are interested in changes of internal
ITracePoint2D
instances.Color m_color
List<E> m_computingTraces
Set<E> m_errorBarPolicies
boolean m_firsttime
double m_maxX
double m_maxXErrorBar
double m_maxY
double m_maxYErrorBar
double m_minX
double m_minXErrorBar
double m_minY
double m_minYErrorBar
String m_name
int m_paintersThatNeedsAdditionalSpace
int m_paintersThatNeedsPixelTranslation
String m_physicalUnitsX
String m_physicalUnitsY
Set<E> m_pointHighlighters
PropertyChangeSupport m_propertyChangeSupport
PropertyChangeEvents
and maintaining PropertyChangeListeners
.
Object m_renderer
Chart2D
this trace is added to. Needed for
synchronization.Set<E> m_tracePainters
ITracePointProvider m_tracePointProvider
boolean m_visible
Integer m_zIndex
ITrace2D m_delegate
ITrace2D m_delegate
int m_candleStickWidth
ITrace2D m_delegate
Range m_xRange
IllegalArgumentException
will be thrown.Range m_yRange
IllegalArgumentException
will be thrown.IRingBuffer<T> m_buffer
int m_maxsize
LinkedList<E> m_points
ITrace2D m_delegate
ITracePoint2D m_accumulatedPointCurrent
AAccumulationFunction.getAccumulatedPoint()
is called.ITracePoint2D m_accumulatedPointPrevious
int m_accumulatedPointsCount
AccumulationFunctionArithmeticMeanXY.getAccumulatedPoint()
is called to divide
the summation of all previous accumulated point which is tricky kept in
AAccumulationFunction.getAccumulatedPointCurrent()
.double m_accumulatedSumX
double m_accumulatedSumY
Set<E> m_collectedPointPainters
ITracePoint2D.getAdditionalPointPainters()
) are collected here to
finally be added to the outgoing point.IAccumulationFunction m_accumulationFunction
PropertyChangeSupport m_propertyChangeSupport
PropertyChangeEvents
and maintaining
PropertyChangeListeners
.
IRingBuffer<T> m_pointBuffer
LinkedList<E> m_points
IRingBuffer<T> m_pointBuffer
LinkedList<E> m_points
IRingBuffer<T> m_pointBuffer
LinkedList<E> m_points
boolean m_isEnded
ITracePoint2D m_previousPoint
ATracePainter.paintPoint(int, int, int, int, Graphics, ITracePoint2D)
.
It will be needed at ATracePainter.endPaintIteration(Graphics)
as the former
method only uses the first set of coordinates to store in the internal list
to avoid duplicates.
int m_previousX
ATracePainter.paintPoint(int, int, int, int, Graphics, ITracePoint2D)
.
It will be needed at ATracePainter.endPaintIteration(Graphics)
as the former
method only uses the first set of coordinates to store in the internal list
to avoid duplicates.
int m_previousY
ATracePainter.paintPoint(int, int, int, int, Graphics, ITracePoint2D)
.
It will be needed at ATracePainter.endPaintIteration(Graphics)
as the former
method only uses the first set of coordinates to store in the internal list
to avoid duplicates.
IPointPainterConfigurableUI<T extends IPointPainter<T>> m_pointPainter
Chart2D m_chart
double m_hue
double m_lum
double m_sat
double m_alpha
double m_max
double m_min
List<E> m_pendingremove
RingBufferArray.setBufferSize(int)
with a smaller argument than the amount of
elements stored.Object[] m_buffer
boolean m_empty
headpointer | +---+---+---+---+ | 0 | 1 | 2 | 3 | +---+---+---+---+ | tailpointer From where to where are the elements? Where is empty space? empty == true: 0 elements are contained: buffer empty empty == false: 4 elements are contained: buffer full remember: -the headpointer points to the space where the next element will be inserted. -the tailpointer points to the space to read the next element from.
int m_headpointer
int m_size
For performance reasons the size of the buffer -1!
int m_tailpointer
int m_decimals
double m_factor
AUnit.getValue(double)
had to be multiplied with
if the real (unitless) value has to be calculated.AUnit m_nexLowerUnit
IUnitSystem
.
AUnit m_nextHigherUnit
IUnitSystem
.
String m_unitName
AUnit.getValue(double)
has
to be related with to know the this result is displayed in a unit.
Copyright © 2018. All rights reserved.