com.steema.teechart.styles
Class Donut

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.styles.Series
          extended by com.steema.teechart.styles.Circular
              extended by com.steema.teechart.styles.Pie
                  extended by com.steema.teechart.styles.Donut
All Implemented Interfaces:
ISeries

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


Nested Class Summary
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.Pie
Pie.CompareSlice, Pie.ExplodedSliceList, Pie.PieOtherSlice, Pie.PieShadow, Pie.SliceValueList
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series
Series.MarkTextResolver
 
Field Summary
 
Fields inherited from class com.steema.teechart.styles.Pie
angles, BelongsToOther, iDonutPercent, iniX, iniY
 
Fields inherited from class com.steema.teechart.styles.Circular
circleHeight, circleWidth, iAdjustCircleForMarks, iCircleXCenter, iCircleYCenter, iXRadius, iYRadius, PIDEGREE, rCircleRect, rotDegree
 
Fields inherited from class com.steema.teechart.styles.Series
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
Donut()
           
Donut(IBaseChart c)
           
 
Method Summary
 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.
 
Methods inherited from class com.steema.teechart.styles.Pie
addSampleValues, belongsToOtherSlice, calcExplodedRadius, calcXPos, clearLists, clicked, createSubGallery, doAfterDrawValues, doBeforeDrawChart, doBeforeDrawValues, draw, drawMark, 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, swapValueIndex
 
Methods inherited from class com.steema.teechart.styles.Circular
adjustCircleRect, angleToPos, associatedToAxis, calcCircleBackColor, calcCircleGradient, calcRadius, getCircleBackColor, getCircled, getCircleGradient, getCircleHeight, getCircleRect, getCircleWidth, getCircleXCenter, getCircleYCenter, getCustomXRadius, getCustomYRadius, getRotationAngle, getUniqueCustomRadius, getXRadius, getYRadius, onDisposing, pointToAngle, pointToRadius, readResolve, reCalcCircleRect, rotate, setActive, setCircleBackColor, setCircled, setCustomXRadius, setCustomYRadius, setParentProperties, setRotationAngle, setUniqueCustomRadius, shouldSerializeCircleBackColor
 
Methods inherited from class com.steema.teechart.styles.Series
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, 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, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, getActive, getAllowSinglePoint, 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, hasDataSource, 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, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValue
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.steema.teechart.styles.ISeries
getChart, invalidate
 

Constructor Detail

Donut

public Donut()

Donut

public Donut(IBaseChart c)
Method Detail

galleryChanged3D

public void galleryChanged3D(boolean is3D)
Overrides:
galleryChanged3D in class Pie

getDonutPercent

public int getDonutPercent()
The dimension of the middle hole. Default value: DefaultDonutPercent

Returns:
int

setDonutPercent

public void setDonutPercent(int value)
Sets the dimension of the middle hole. Default value: DefaultDonutPercent

Example:


 series.setDonutPercent(75);
 

Overrides:
setDonutPercent in class Pie
Parameters:
value - int

getDescription

public java.lang.String getDescription()
Gets descriptive text.

Overrides:
getDescription in class Pie
Returns:
String