public class CustomGauge extends Series
Series.MarkTextResolver
Modifier and Type | Field and Description |
---|---|
static Color[] |
BlackPalette |
static Color[] |
BluesPalette |
protected double |
fgreenLineEndValue |
protected double |
fgreenLineStartValue |
protected double |
fmaximum |
protected double |
fminimum |
protected double |
fredLineEndValue |
protected double |
fredLineStartValue |
protected Rectangle |
iNewRectangle |
protected Rectangle |
iOrigRectangle |
protected double |
iRange |
static Color[] |
LCDPalette |
static Color[] |
LEDPalette |
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 |
---|
CustomGauge() |
CustomGauge(IBaseChart c) |
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, assign, assignDispose, assignValues, associatedToAxis, 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, doBeforeDrawValues, 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, getDescription, 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, onDisposing, prepareForGallery, prepareLegendCanvas, randomBounds, readResolve, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, setChart, 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 Rectangle iOrigRectangle
protected Rectangle iNewRectangle
protected double iRange
public static Color[] BluesPalette
public static Color[] BlackPalette
public static Color[] LCDPalette
public static Color[] LEDPalette
protected double fminimum
protected double fmaximum
protected double fredLineStartValue
protected double fredLineEndValue
protected double fgreenLineStartValue
protected double fgreenLineEndValue
public CustomGauge()
public CustomGauge(IBaseChart c)
protected void setValues()
protected void calcOrigRectangle()
protected void calcNewRectangle()
public Rectangle getCustomBounds()
public void setCustomBounds(Rectangle value)
public boolean customBoundsIsEmpty()
protected void addSampleValues(int numValues)
addSampleValues
in class Series
public void dispose()
protected void drawFace(IGraphics3D g)
protected void drawAxis(IGraphics3D g)
protected void drawHand(IGraphics3D g)
protected void drawColorLines(IGraphics3D g)
public Axis getAxis()
protected void drawFrame()
public void draw(IGraphics3D graphics)
protected IGraphics3D prepareGraphics(ChartPen pen, ChartBrush brush)
protected IGraphics3D prepareGraphics(IGraphics3D graphics, ChartPen pen, ChartBrush brush)
protected void drawFrame(IGraphics3D g)
protected void drawAxisTick(IGraphics3D g, Point inner, Point innerPlus, Point innerMinus, Point outer, Point outerPlus, Point outerMinus)
protected void drawAxisMinorTick(IGraphics3D g, Point inner, Point outer)
protected void setAxisOnce()
protected boolean isDefaultAxis()
public void doBeforeDrawChart()
doBeforeDrawChart
in class Series
public int clicked(int x, int y)
Series
public int getMinorTickDistance()
public void setMinorTickDistance(int 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 boolean getHorizontal()
public void setHorizontal(boolean value)
public GaugeSeriesPointer getGreenLine()
public void setGreenLine(GaugeSeriesPointer value)
public GaugeSeriesPointer getHand()
public void setHand(GaugeSeriesPointer value)
public GaugeSeriesPointer getMinorTicks()
public void setMinorTicks(GaugeSeriesPointer value)
public void setValue(double value)
public double getValue()
public double getMinimum()
public void setMinimum(double value)
public double getMaximum()
public void setMaximum(double value)
public GaugeSeriesPointer getTicks()
public void setTicks(GaugeSeriesPointer value)
public ChartBrush getFaceBrush()
public void setFaceBrush(ChartBrush value)
public Color[] getGaugeColorPalette()
public void setGaugeColorPalette(Color[] value)
public TFrame getFrame()
public void setFrame(TFrame value)