public class Clock extends Custom2DPolar
Title: Clock class
Description: Clock Series
Example:
clock = new Clock(myChart.getChart()); clock.setColor(Color.RED); clock.setShowInLegend(false); clock.getBrush().setColor(Color.WHITE); clock.getBrush().setColor(Color.RED); clock.getPenHours().setColor(Color.BLACK); clock.getPenMinutes().setColor(Color.BLACK); clock.getPenSeconds().setColor(Color.BLACK);
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Series.MarkTextResolver
iMaxValuesCount, iPointer, treatnulls
circleHeight, circleWidth, iAdjustCircleForMarks, iCircleXCenter, iCircleYCenter, iXRadius, iYRadius, PIDEGREE, rCircleRect, rotDegree
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, oldDataSource, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory
chart, InternalUse
Constructor and Description |
---|
Clock() |
Clock(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
assign(Series source)
Copies all properties from one Series component to another.
Only the common properties shared by both source and destination Series are copied. |
void |
dispose() |
protected void |
draw() |
protected java.lang.String |
getCircleLabel(double angle,
int index) |
java.lang.String |
getDescription()
Gets descriptive text.
|
ChartPen |
getPenHours()
Sets the Pen for the Clock's hour hand.
|
ChartPen |
getPenMinutes()
Sets the Pen for the Clock's minute hand.
|
ChartPen |
getPenSeconds()
Sets the Pen for the Clock's second hand.
|
ClockStyle |
getStyle()
The style of the clock figures, Roman or Decimal.
Default value: ClockStyle.Roman |
protected int |
numSampleValues() |
protected java.lang.Object |
readResolve() |
void |
setChart(IBaseChart c)
Chart associated with this object.
|
void |
setStyle(ClockStyle value)
Sets the style of the clock figures, Roman or Decimal.
Default value: ClockStyle.Roman |
galleryChanged3D, prepareForGallery
calcXPos, calcYPos, clicked, clickedSegment, doAfterDrawValues, doBeforeDrawValues, drawLegendShape, drawMark, drawRing, drawValue, drawZone, getAngleIncrement, getAngleValues, getBrush, getCircleCenter, getCircleLabels, getCircleLabelsFont, getCircleLabelsInside, getCircleLabelsRotated, getCirclePen, getClockWiseLabels, getCloseCircle, getFont, getPen, getPointer, getRadiusIncrement, getRadiusValues, getTransparency, getTreatNulls, getXValue, internalDrawValue, onGetPointerStyle, removePointerStyleResolver, setAngleIncrement, setCircleLabels, setCircleLabelsInside, setCircleLabelsRotated, setClockWiseLabels, setCloseCircle, setColor, setPointerStyleResolver, setRadiusIncrement, setTransparency, setTreatNulls
adjustCircleRect, angleToPos, associatedToAxis, calcCircleBackColor, calcCircleGradient, calcRadius, getAutoPenColor, getCircleBackColor, getCircled, getCircleGradient, getCircleHeight, getCircleRect, getCircleWidth, getCircleXCenter, getCircleYCenter, getCustomXRadius, getCustomYRadius, getRotationAngle, getUniqueCustomRadius, getXRadius, getYRadius, onDisposing, pointToAngle, pointToRadius, prepareLegendCanvas, reCalcCircleRect, rotate, setActive, setAutoPenColor, setCircleBackColor, setCircled, setCustomXRadius, setCustomYRadius, setParentProperties, setRotationAngle, setUniqueCustomRadius, shouldSerializeCircleBackColor
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addChartValue, added, addedValue, addNull, addNullXY, addSampleValues, addSeriesMouseListener, addSeriesPaintListener, addValues, assignDispose, assignValues, beginUpdate, calcFirstLastVisibleIndex, calcHorizMargins, calcPercentSt, calcPosValue, calculateMarkPosition, calcVerticalMargins, calcXPosValue, calcXSizeValue, calcYPosValue, calcYSizeValue, calcZOrder, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, createSubGallery, dataSourceArray, delete, delete, delete, doBeforeDrawChart, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, getActive, getAllowSinglePoint, getBitmapEditor, getColor, getColorEach, getColorMember, getColors, getCount, getCountLegendItems, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getLegendString, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxXValue, getMaxYValue, getMaxZValue, getMiddleZ, getMinXValue, getMinYValue, getMinZValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getPoint, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueColor, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasColors, hasDataSource, hasLabels, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, isValidSourceOf, lastDisplayed, lastVisibleMark, legendItemColor, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setColorEach, setColorMember, setColors, setCursor, setCustomHorizAxis, setCustomHorizAxis, setCustomVertAxis, setCustomVertAxis, setDataSource, setDefaultNullValue, setDepth, setEndZ, setFunction, setHorizontal, setHorizontalAxis, setLabelMember, setLabels, setMarks, setMarkTextResolver, setMiddleZ, setNull, setNull, setPercentFormat, setSeriesColor, setShowInLegend, setStartZ, setSubGallery, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, sortDrawSeries, swapValueIndex, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValue
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChart, invalidate
public Clock()
public Clock(IBaseChart c)
public void assign(Series source)
Series
assign
in class CustomPolar
source
- Seriesprotected java.lang.Object readResolve()
readResolve
in class Circular
public void setChart(IBaseChart c)
TeeBase
setChart
in interface ISeries
setChart
in class CustomPolar
c
- IBaseChartpublic void dispose()
protected void draw()
draw
in class CustomPolar
protected java.lang.String getCircleLabel(double angle, int index)
getCircleLabel
in class CustomPolar
protected int numSampleValues()
numSampleValues
in class Series
public java.lang.String getDescription()
getDescription
in class Series
public ChartPen getPenHours()
public ChartPen getPenMinutes()
public ChartPen getPenSeconds()
public ClockStyle getStyle()
public void setStyle(ClockStyle value)
value
- ClockStyle