public interface Curve
Hints
are used to determine additional
properties of the symbol. This is especially important for
charts with bars.
In accordance with the Factory Method Pattern
the symbols are created by a SymbolFactory
.
Modifier and Type | Method and Description |
---|---|
Hint |
addPoint(GraphPoint point,
Hint hintFromPreviousCurve)
Appends a new point to the curve.
|
GraphicalElement |
getLegendSymbol()
Returns a symbol which can be used to create the legend for the curve.
|
GraphicalElement |
getView()
Returns the graphical representation of a curve.
|
void |
removeAllPoints()
Removes all points from the curve.
|
GraphicalElement getView()
GraphicalElement getLegendSymbol()
Hint addPoint(GraphPoint point, Hint hintFromPreviousCurve)
point
- Position in device-independent coordinates.hintFromPreviousCurve
- Hint which may be used to calculate
the corresponding GraphicalElement
.void removeAllPoints()
Copyright © 2015. All Rights Reserved.