public class Gauges extends Circular
Title: Gauges class
Description: Gauges Series.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Series.MarkTextResolver
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 |
---|
Gauges() |
Gauges(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener l) |
protected void |
addSampleValues(int numValues) |
protected void |
draw() |
protected void |
fireChange() |
SeriesPointer |
getCenter()
Returns a sub-object with properties that control the appearance of a shape at the middle of gauge.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
SeriesPointer |
getEndPoint()
Returns a sub-object with properties that control the appearance of a shape at the end of the gauge arrow.
|
boolean |
getForceCenter()
If true, the pie will be centered even when totalAngle is smaller than 360 degrees.
Default value: false |
int |
getHandDistance()
The amount in pixels that define a gap between the gauge axis and the
end of the gauge arrow line.
Default value: 30 |
HandStyle |
getHandStyle()
Style of Gauge hand.
The gauge can display its arrow as a simple line ( hsLine style ) or as a filled triangle ( hsTriangle style ). Default value: hsLine |
boolean |
getLabelsInside()
Defines where to display gauge axis labels.
|
double |
getMaximum()
The maximum value for the gauge.
Default value: 100 |
double |
getMinimum()
The minimum value for the gauge.
Default value: 0 |
int |
getMinorTickDistance()
Set to a value bigger than zero to display the axis minor ticks (ticks
inside normal ticks) displaced from the axis line the specified number
of pixels.
Default value: 0 pixels |
ChartPen |
getPen()
Line pen for Gauge.
|
double |
getTotalAngle()
Controls the size in degrees for the gauge axis.
Use together with RotationAngle property. Default value: 90 |
double |
getValue()
Gets or sets the position of gauge arrow line.
Must be a number between gauge Minimum and Maximum. |
void |
prepareForGallery(boolean isEnabled) |
void |
removeChangeListener(ChangeListener l) |
void |
setChart(IBaseChart c)
Chart associated with this object.
|
void |
setForceCenter(boolean value)
If true, the pie will be centered even when totalAngle is smaller than 360 degrees.
Default value: false |
void |
setHandDistance(int value)
Sets the amount in pixels that define a gap between the gauge axis and the
end of the gauge arrow line.
Default value: 30 |
void |
setHandStyle(HandStyle value)
Sets the Style of Gauge hand.
Default value: hsLine |
void |
setLabelsInside(boolean value)
Defines where to display gauge axis labels.
|
void |
setMaximum(double value)
Sets the maximum value for the gauge.
Default value: 100 |
void |
setMinimum(double value)
Sets the minimum value for the gauge.
Default value: 0 |
void |
setMinorTickDistance(int value)
Sets the number of pixels to displace the axis minor ticks from the axis
line.
Default value: 0 pixels |
void |
setTotalAngle(double value)
Controls the size in degrees for the gauge axis.
Default value: 90 |
void |
setValue(double value)
Sets the position of gauge arrow line.
Default value: 0 |
adjustCircleRect, angleToPos, assign, associatedToAxis, calcCircleBackColor, calcCircleGradient, calcRadius, clicked, doBeforeDrawValues, 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, dispose, 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
public Gauges()
public Gauges(IBaseChart c)
public void addChangeListener(ChangeListener l)
public void removeChangeListener(ChangeListener l)
protected void fireChange()
public ChartPen getPen()
public HandStyle getHandStyle()
public void setHandStyle(HandStyle value)
value
- HandStylepublic double getTotalAngle()
Circular.getRotationAngle()
public void setTotalAngle(double value)
value
- doublepublic int getHandDistance()
public void setHandDistance(int value)
value
- intpublic double getValue()
public void setValue(double value)
value
- doublepublic double getMinimum()
public void setMinimum(double value)
value
- doublepublic double getMaximum()
public void setMaximum(double value)
value
- doublepublic SeriesPointer getCenter()
public boolean getForceCenter()
public void setForceCenter(boolean value)
value
- booleanpublic SeriesPointer getEndPoint()
public int getMinorTickDistance()
public void setMinorTickDistance(int value)
value
- intpublic boolean getLabelsInside()
public void setLabelsInside(boolean value)
value
- booleanprotected void addSampleValues(int numValues)
addSampleValues
in class Series
public void setChart(IBaseChart c)
TeeBase
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Series
public java.lang.String getDescription()
getDescription
in class Series