|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.Shape
com.steema.teechart.TextShape
com.steema.teechart.styles.SeriesMarks
public class SeriesMarks
Title: SeriesMarks
Description: Series Marks characteristics.
Copyright (c) 2005-2012 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
protected boolean |
bClip
|
boolean |
checkMarkArrowColor
When True, Marks arrow pen color is changed if the point has the same color. |
protected ISeries |
iSeries
|
protected MarksStyle |
markerStyle
|
protected MarkPositions |
pPositions
|
Fields inherited from class com.steema.teechart.TextShape |
---|
defaultText, drawText |
Fields inherited from class com.steema.teechart.Shape |
---|
bBevel, bBorderRound, bBrush, bImageBevel, bTransparent, defaultVisible, pPen, shadow, shapeBounds, visible |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart, InternalUse |
Constructor Summary | |
---|---|
SeriesMarks(ISeries s)
|
Method Summary | |
---|---|
boolean |
allSeriesVisible()
|
protected void |
antiOverlap(int first,
int valueIndex,
SeriesMarksPosition aPos)
|
protected SeriesMarksPosition |
applyArrowLength(SeriesMarksPosition aPos)
|
void |
clear()
Removes all mark positions and mark items. |
int |
clicked(int x,
int y)
Determines which Mark contains the XY pixel point parameters. |
int |
clicked(Point p)
Determines which Mark contains the p point parameters. |
protected Point |
convertTo2D(SeriesMarksPosition aPos,
Point p)
|
double |
getAngle()
The angle from 0 to 360 to rotate Marks. |
ChartPen |
getArrow()
The Pen used to draw a line connecting Marks to Series points. |
int |
getArrowLength()
The length in pixels for the line connecting the Mark to Series point. |
Color |
getBackColor()
Obsolete. |
MarksCallout |
getCallout()
Marks Callout characteristics. |
boolean |
getClip()
Restricts Marks to Chart axes space, when true. |
int |
getDrawEvery()
The number of Marks to skip. |
ChartPen |
getFrame()
Obsolete. |
MarksItems |
getItems()
Returns a collection of mark items. |
java.lang.String[] |
getLines()
Contains the list of lines drawn on the chart by the user at run-time. |
boolean |
getMultiLine()
Characters in Mark texts are split into multiple lines, when true. |
boolean |
getOnTop()
Series Marks are always drawn on top of all other Series in the Chart, when true. |
MarkPositions |
getPositions()
Accesses Custom position characteristics for Series Marks. |
ISeries |
getSeries()
Series is a read-only runtime method. |
MarksStyle |
getStyle()
Defines how Series Marks are static finalructed. |
SeriesMarksSymbols |
getSymbol()
|
int |
getZPosition()
The Position in pixels on the Z axis. |
protected void |
internalDraw(int index,
Color aColor,
java.lang.String st,
SeriesMarksPosition aPos)
|
protected TextShape |
markItem(int valueIndex)
|
java.lang.String |
percentString(int valueIndex,
boolean addTotal)
Returns the String showing a "percent" value for a given point. |
protected java.lang.Object |
readResolve()
|
void |
resetPositions()
Tells chart to repaint using automatically positioned marks. |
void |
setAngle(double value)
Sets angle from 0 to 360 to rotate Marks. |
void |
setArrowLength(int value)
Stes the length in pixels of the line connecting the Mark to Series point. |
void |
setBackColor(Color value)
Obsolete. |
void |
setChart(IBaseChart value)
Chart associated with this object. |
void |
setClip(boolean value)
Restricts Marks to Chart axes space, when true. |
void |
setDrawEvery(int value)
Sets the number of Marks to skip. |
void |
setItems(MarksItems value)
|
void |
setMultiLine(boolean value)
Characters in Mark texts are split into multiple lines, when true. |
void |
setOnTop(boolean value)
Series Marks are always drawn on top of all other Series in the Chart, when true. |
void |
setStyle(MarksStyle value)
Defines how Series Marks are constructed. |
void |
setZPosition(int value)
Sets Position in pixels on the Z axis. |
int |
textWidth(int valueIndex)
Returns the length in pixels for the ValueIndex th mark text String. |
Methods inherited from class com.steema.teechart.TextShape |
---|
assign, drawRectRotated, drawString, drawText, getAutoSize, getFont, getLinesLength, getShadowSize, getShapeStyle, getText, getTextFormat, paint, paint, paint, setAutoSize, setDrawText, setLines, setShadowSize, setShapeStyle, setText, setTextFormat |
Methods inherited from class com.steema.teechart.Shape |
---|
assign, getBevel, getBevelInner, getBevelOuter, getBevelWidth, getBorderRound, getBottom, getBrush, getColor, getGradient, getHeight, getImage, getImageBevel, getImageMode, getImageTransparent, getLeft, getPen, getRight, getShadow, getShapeBounds, getTop, getTransparency, getTransparent, getVisible, getWidth, setBevel, setBevelInner, setBevelOuter, setBevelWidth, setBorderRound, setBottom, setBrush, setColor, setDefaultVisible, setHeight, setImage, setImageMode, setImageTransparent, setLeft, setPen, setRight, setShapeBounds, setTop, setTransparency, setTransparent, setVisible, setWidth |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean checkMarkArrowColor
protected transient ISeries iSeries
protected transient MarkPositions pPositions
protected boolean bClip
protected MarksStyle markerStyle
Constructor Detail |
---|
public SeriesMarks(ISeries s)
Method Detail |
---|
protected java.lang.Object readResolve()
readResolve
in class TextShape
public MarksCallout getCallout()
public MarksItems getItems()
public void setItems(MarksItems value)
public MarkPositions getPositions()
public java.lang.String[] getLines()
getLines
in class TextShape
public ISeries getSeries()
public MarksStyle getStyle()
public void setStyle(MarksStyle value)
value
- MarksStylepublic SeriesMarksSymbols getSymbol()
public void setChart(IBaseChart value)
Shape
setChart
in class TextShape
value
- IBaseChartpublic void resetPositions()
public void clear()
public int clicked(Point p)
p
- Point
public int clicked(int x, int y)
x
- inty
- int
public Color getBackColor()
public void setBackColor(Color value)
value
- Colorpublic ChartPen getFrame()
public ChartPen getArrow()
public int getArrowLength()
public void setArrowLength(int value)
value
- intpublic boolean getClip()
public void setClip(boolean value)
value
- booleanpublic boolean getOnTop()
public void setOnTop(boolean value)
public boolean getMultiLine()
public void setMultiLine(boolean value)
value
- booleanpublic int getDrawEvery()
public void setDrawEvery(int value)
value
- intpublic double getAngle()
public void setAngle(double value)
value
- doublepublic int getZPosition()
public void setZPosition(int value)
value
- intpublic boolean allSeriesVisible()
protected SeriesMarksPosition applyArrowLength(SeriesMarksPosition aPos)
public java.lang.String percentString(int valueIndex, boolean addTotal)
valueIndex
- intaddTotal
- boolean
public int textWidth(int valueIndex)
valueIndex
- int
protected Point convertTo2D(SeriesMarksPosition aPos, Point p)
protected void antiOverlap(int first, int valueIndex, SeriesMarksPosition aPos)
protected TextShape markItem(int valueIndex)
protected void internalDraw(int index, Color aColor, java.lang.String st, SeriesMarksPosition aPos)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |