public class Donut extends Pie
Title: Donut class
Description: Donut series.
Example:
series = new com.steema.teechart.styles.Donut(myChart.getChart()); series.fillSampleValues(8); series.setDonutPercent(50); series.setCircled(true);
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Pie.CompareSlice, Pie.ExplodedSliceList, Pie.PieOtherSlice, Pie.PieShadow, Pie.SliceValueListSeries.MarkTextResolverangles, BelongsToOther, iDonutPercent, iniX, iniYcircleHeight, circleWidth, iAdjustCircleForMarks, iCircleXCenter, iCircleYCenter, iXRadius, iYRadius, PIDEGREE, rCircleRect, rotDegreeAUTODEPTH, 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, yMandatorychart, InternalUse| Constructor and Description |
|---|
Donut() |
Donut(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 |
galleryChanged3D(boolean is3D) |
java.lang.String |
getDescription()
Gets descriptive text.
|
int |
getDonutPercent()
The dimension of the middle hole.
|
void |
setDonutPercent(int value)
Sets the dimension of the middle hole.
|
addSampleValues, belongsToOtherSlice, calcExplodedRadius, calcXPos, clearLists, clicked, createSubGallery, doAfterDrawValues, doBeforeDrawChart, doBeforeDrawValues, draw, drawMark, drawMarksSeries, drawOutlineSlice, drawPie, drawValue, getAngleSize, getAutoMarkPosition, getBevelPercent, getBrush, getColorEach, getCountLegendItems, getDark3D, getDarkPen, getEdgeStyle, getExplodeBiggest, getExplodedSlice, getMarksPie, getOtherSlice, getPen, getPieValues, getShadow, getTransparency, getUsePatterns, legendToValueIndex, numSampleValues, prepareForGallery, prepareLegendCanvas, setAngleSize, setAutoMarkPosition, setBevelPercent, setChart, setColorEach, setDark3D, setDarkPen, setEdgeStyle, setExplodeBiggest, setMarksPie, setSubGallery, setTransparency, setUsePatterns, SliceHeight, swapValueIndexadjustCircleRect, angleToPos, associatedToAxis, calcCircleBackColor, calcCircleGradient, calcRadius, getAutoPenColor, getCircleBackColor, getCircled, getCircleGradient, getCircleHeight, getCircleRect, getCircleWidth, getCircleXCenter, getCircleYCenter, getCustomXRadius, getCustomYRadius, getRotationAngle, getUniqueCustomRadius, getXRadius, getYRadius, onDisposing, pointToAngle, pointToRadius, readResolve, reCalcCircleRect, rotate, setActive, setAutoPenColor, setCircleBackColor, setCircled, setCustomXRadius, setCustomYRadius, setParentProperties, setRotationAngle, setUniqueCustomRadius, shouldSerializeCircleBackColoradd, 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, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, calcZOrder, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, dataSourceArray, delete, delete, delete, dispose, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawLegendShape, drawMarks, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, getActive, getAllowSinglePoint, getBitmapEditor, getColor, getColorMember, getColors, getCount, 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, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setColor, 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, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, sortDrawSeries, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValuegetChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChart, invalidatepublic Donut()
public Donut(IBaseChart c)
public void assign(Series source)
Seriespublic void galleryChanged3D(boolean is3D)
galleryChanged3D in class Piepublic int getDonutPercent()
public void setDonutPercent(int value)
Example:
series.setDonutPercent(75);
setDonutPercent in class Pievalue - intpublic java.lang.String getDescription()
getDescription in class Pie