public class CircularGauge extends Circular
Series.MarkTextResolver
Modifier and Type | Field and Description |
---|---|
protected float |
iAngleInc |
protected Point |
iCenter |
protected Rectangle |
iNewRectangle |
java.util.ArrayList |
iPoints |
protected double |
iRange |
protected float |
iStartAngle |
protected double |
totalAngle |
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 |
---|
CircularGauge() |
CircularGauge(IBaseChart c) |
adjustCircleRect, angleToPos, associatedToAxis, calcCircleBackColor, calcCircleGradient, calcRadius, clicked, getAutoPenColor, getCircleBackColor, getCircled, getCircleGradient, getCircleHeight, getCircleRect, getCircleWidth, getCircleXCenter, getCircleYCenter, getCustomXRadius, getCustomYRadius, getRotationAngle, getUniqueCustomRadius, getXRadius, getYRadius, onDisposing, pointToAngle, pointToRadius, prepareLegendCanvas, readResolve, 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, addSeriesMouseListener, addSeriesPaintListener, addValues, assignDispose, assignValues, beginUpdate, calcFirstLastVisibleIndex, calcHorizMargins, calcPercentSt, calcPosValue, calculateMarkPosition, calcVerticalMargins, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, calcZOrder, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, createSubGallery, dataSourceArray, delete, delete, delete, doAfterDrawValues, doBeforeDrawChart, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawLegendShape, drawMark, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValue, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getBitmapEditor, getBrush, 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, numSampleValues, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setColor, 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
protected Point iCenter
protected double iRange
protected float iStartAngle
protected float iAngleInc
protected Rectangle iNewRectangle
public java.util.ArrayList iPoints
protected double totalAngle
public CircularGauge()
public CircularGauge(IBaseChart c)
public void dispose()
public void assign(Series source)
Series
protected void addSampleValues(int numValues)
addSampleValues
in class Series
public void doBeforeDrawValues()
doBeforeDrawValues
in class Circular
public void setChart(IBaseChart value)
TeeBase
protected void setCircleRect()
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Series
public LinearGauge getLinearGauge()
public NumericGauge getNumericGauge()
public void setNumericGauge(NumericGauge value)
public void setLinearGauge(LinearGauge value)
public boolean getAutoValueNumericGauge()
public void setAutoValueNumericGauge(boolean value)
public boolean getAutoValueLinearGauge()
public void setAutoValueLinearGauge(boolean value)
public boolean getAutoPositionLinearGauge()
public void setAutoPositionLinearGauge(boolean value)
public boolean getAutoPositionNumericGauge()
public void setAutoPositionNumericGauge(boolean value)
public int getDisplayTotalAngle()
public void setDisplayTotalAngle(int value)
public int getDisplayRotationAngle()
public void setDisplayRotationAngle(int value)
protected void drawFace(Graphics3D g)
protected void drawColorLines(Graphics3D g)
protected void setValues()
protected double calcAngleFromLength(Point Point, double Length)
protected void drawAxisTick(Graphics3D g, Point inner, Point innerPlus, Point innerMinus, Point outer, Point outerPlus, Point outerMinus)
protected void drawAxisMinorTick(Graphics3D g, Point Inner, Point Outer)
protected void drawAxis(Graphics3D g)
protected float calcSweepAngle()
protected int calcValue(double value)
public Rectangle getCustomBounds()
public void setCustomBounds(Rectangle value)
protected void calcOrigRectangle()
protected void drawCenter(Graphics3D g)
protected void onValueChanged()
public java.lang.String getDescription()
Series
getDescription
in class Series
public int getHandOffset()
public void setHandOffset(int value)
public Color[] getGaugeColorPalette()
public void setGaugeColorPalette(Color[] value)
public double getGreenLineEndValue()
public void setGreenLineEndValue(double value)
public double getGreenLineStartValue()
public void setGreenLineStartValue(double value)
public double getRedLineEndValue()
public void setRedLineEndValue(double value)
public double getRedLineStartValue()
public void setRedLineStartValue(double value)
public GaugeSeriesPointer getRedLine()
public void setRedLine(GaugeSeriesPointer value)
public GaugeSeriesPointer getGreenLine()
public void setGreenLine(GaugeSeriesPointer value)
public GaugeSeriesPointer getMinorTicks()
public void setMinorTicks(GaugeSeriesPointer value)
public GaugeSeriesPointer getTicks()
public void setTicks(GaugeSeriesPointer value)
public CFrame getFrame()
public void setFrame(CFrame value)
public boolean getRotateLabels()
public void setRotateLabels(boolean value)
public GaugeSeriesPointer getHand()
public void setHand(GaugeSeriesPointer value)
public ChartBrush getFaceBrush()
public void setFaceBrush(ChartBrush value)
public boolean getFillToSemiCircle()
public void setFillToSemiCircle(boolean value)
public int getMinorTickDistance()
public void setMinorTickDistance(int value)
public double getMinimum()
public void setMinimum(double value)
public double getMaximum()
public void setMaximum(double value)
public double getTotalAngle()
public void setTotalAngle(double value)
public double getValue()
public void setValue(double value)
public boolean getLabelsInside()
public void setLabelsInside(boolean value)
public boolean getLabelsVisible()
public void setLabelsVisible(boolean value)
public Axis getAxis()
public GaugeSeriesPointer getCenter()
public void setCenter(GaugeSeriesPointer value)
public SeriesPointer getEndPoint()
public void setEndPoint(SeriesPointer value)
public int getHandDistance()
public void setHandDistance(int value)
public static double truncate(double x)