Property | Type | Description | |
---|---|---|---|
m_edgeColorType | EdgeColorType | ||
m_edgeLineWidth | float | ||
m_fitToBoundingRectangle | bool | ||
m_font | |||
m_foreColor | Color | ||
m_heightBoundingRect | float | ||
m_highlightedIndex | int | ||
m_initialAngle | float | ||
m_pieSlices | System.Drawing.PieChart.PieSlice[] | ||
m_pieSlicesMapping | |||
m_shadowStyle | ShadowStyle | ||
m_sliceColors | Color[] | ||
m_sliceRelativeDisplacements | float[] | ||
m_sliceRelativeHeight | float | ||
m_texts | string[] | ||
m_values | decimal[] | ||
m_widthBoundingRect | float | ||
m_xBoundingRect | float | ||
m_yBoundingRect | float |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes of all pie slices.
|
|
Draw ( |
Draws the chart.
|
|
FindPieSliceUnderPoint ( |
Searches the chart to find the index of the pie slice which contains point given. Search order goes in the direction opposite to drawing order.
|
|
PieChart3D ( |
Initializes a new instance of
|
|
PieChart3D ( |
Initializes a new instance of
|
|
PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values ) : System |
Initializes an instance of a flat
|
|
PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values, Color sliceColors, float sliceRelativeHeight ) : System |
Initializes a new instance of
|
|
PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values, Color sliceColors, float sliceRelativeHeight, string texts ) : System |
Initializes a new instance of
|
|
PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values, float sliceRelativeHeight ) : System |
Initializes an instance of
|
|
PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values, float sliceRelativeHeight, string texts ) : System |
Initializes a new instance of
|
|
PlaceTexts ( |
Draws strings by individual slices. Position of the text is calculated by overridable
|
Method | Description | |
---|---|---|
CreatePieSlice ( float boundingRectLeft, float boundingRectTop, float boundingRectWidth, float boundingRectHeight, float sliceHeight, float startAngle, float sweepAngle, Color color, ShadowStyle shadowStyle, EdgeColorType edgeColorType, float edgeLineWidth ) : |
Creates a
|
|
CreatePieSliceHighlighted ( float boundingRectLeft, float boundingRectTop, float boundingRectWidth, float boundingRectHeight, float sliceHeight, float startAngle, float sweepAngle, Color color, ShadowStyle shadowStyle, EdgeColorType edgeColorType, float edgeLineWidth ) : |
Creates highlighted
|
|
DrawBottoms ( |
Draws bottom sides of all pie slices.
|
|
DrawSliceSides ( |
Draws outer peripheries of all slices.
|
|
DrawTops ( |
Draws top sides of all pie slices.
|
|
GetFittingRectangle ( ) : |
Finds the smallest rectangle int which chart fits entirely.
|
|
GetSliceDisplacement ( float angle, float displacementFactor ) : |
Calculates the displacement for given angle.
|
|
InitializePieSlices ( ) : void |
Initializes pies.
|
|
PieChart3D ( ) : System |
Initializes an empty instance of
|
|
ReadjustSlices ( |
Readjusts each slice for new bounding rectangle.
|
Method | Description | |
---|---|---|
AreDisplacementsValid ( float displacements ) : bool |
Helper function used in assertions. Checks the validity of slice displacements.
|
|
GetForemostPieSlice ( |
Return the index of the foremost pie slice i.e. the one crossing 90 degrees boundary.
|
|
IsDisplacementValid ( float value ) : bool |
Helper function used in assertions. Checks the validity of a slice displacement.
|
protected CreatePieSlice ( float boundingRectLeft, float boundingRectTop, float boundingRectWidth, float boundingRectHeight, float sliceHeight, float startAngle, float sweepAngle, Color color, ShadowStyle shadowStyle, EdgeColorType edgeColorType, float edgeLineWidth ) : |
||
boundingRectLeft | float | /// x-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the slice. /// |
boundingRectTop | float | /// y-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the slice. /// |
boundingRectWidth | float | /// Width of the rectangle that is used to draw the top surface of /// the slice. /// |
boundingRectHeight | float | /// Height of the rectangle that is used to draw the top surface of /// the slice. /// |
sliceHeight | float | /// Slice height. /// |
startAngle | float | /// Starting angle. /// |
sweepAngle | float | /// Sweep angle. /// |
color | Color | /// Color used for slice rendering. /// |
shadowStyle | ShadowStyle | /// Shadow style used for slice rendering. /// |
edgeColorType | EdgeColorType | /// Edge lines color type. /// |
edgeLineWidth | float | /// Edge lines width. /// |
return |
protected CreatePieSliceHighlighted ( float boundingRectLeft, float boundingRectTop, float boundingRectWidth, float boundingRectHeight, float sliceHeight, float startAngle, float sweepAngle, Color color, ShadowStyle shadowStyle, EdgeColorType edgeColorType, float edgeLineWidth ) : |
||
boundingRectLeft | float | /// x-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the slice. /// |
boundingRectTop | float | /// y-coordinate of the upper-left corner of the rectangle that is /// used to draw the top surface of the slice. /// |
boundingRectWidth | float | /// Width of the rectangle that is used to draw the top surface of /// the slice. /// |
boundingRectHeight | float | /// Height of the rectangle that is used to draw the top surface of /// the slice. /// |
sliceHeight | float | /// Slice height. /// |
startAngle | float | /// Starting angle. /// |
sweepAngle | float | /// Sweep angle. /// |
color | Color | /// Color used for slice rendering. /// |
shadowStyle | ShadowStyle | /// Shadow style used for slice rendering. /// |
edgeColorType | EdgeColorType | /// Edge lines color type. /// |
edgeLineWidth | float | /// Edge lines width. /// |
return |
public Draw ( |
||
graphics |
/// |
|
return | void |
protected DrawBottoms ( |
||
graphics |
/// |
|
return | void |
protected DrawSliceSides ( |
||
graphics |
/// |
|
return | void |
protected DrawTops ( |
||
graphics |
/// |
|
return | void |
public FindPieSliceUnderPoint ( |
||
point |
/// |
|
return | int |
protected GetFittingRectangle ( ) : |
||
return |
protected GetSliceDisplacement ( float angle, float displacementFactor ) : |
||
angle | float | /// Angle (in degrees). /// |
displacementFactor | float | /// Displacement factor. /// |
return |
public PieChart3D ( |
||
boundingRectangle | /// Bounding rectangle. /// | |
values | decimal | /// Array of values to chart. /// |
sliceColors | Color | /// Colors used for rendering individual slices. /// |
sliceRelativeHeight | float | /// Pie slice relative height. /// |
return | System |
public PieChart3D ( |
||
boundingRectangle | /// Bounding rectangle. /// | |
values | decimal | /// Array of values to initialize with. /// |
sliceRelativeHeight | float | |
return | System |
public PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values ) : System | ||
xBoundingRect | float | /// x-coordinate of the upper-left corner of the rectangle that /// bounds the chart. /// |
yBoundingRect | float | /// y-coordinate of the upper-left corner of the rectangle that /// bounds the chart. /// |
widthBoundingRect | float | /// Width of the rectangle that bounds the chart. /// |
heightBoundingRect | float | /// Height of the rectangle that bounds the chart. /// |
values | decimal |
/// An array of |
return | System |
public PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values, Color sliceColors, float sliceRelativeHeight ) : System | ||
xBoundingRect | float | /// x-coordinate of the upper-left corner of the rectangle bounding /// the chart. /// |
yBoundingRect | float | /// y-coordinate of the upper-left corner of the rectangle bounding /// the chart. /// |
widthBoundingRect | float | /// Width of the rectangle bounding the chart. /// |
heightBoundingRect | float | /// Height of the rectangle bounding the chart. /// |
values | decimal |
/// An array of |
sliceColors | Color | /// An array of colors used to render slices. /// |
sliceRelativeHeight | float | /// Thickness of the slice to chart relative to the height of the /// bounding rectangle. /// |
return | System |
public PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values, Color sliceColors, float sliceRelativeHeight, string texts ) : System | ||
xBoundingRect | float | /// x-coordinate of the upper-left corner of the rectangle bounding /// the chart. /// |
yBoundingRect | float | /// y-coordinate of the upper-left corner of the rectangle bounding /// the chart. /// |
widthBoundingRect | float | /// Width of the rectangle bounding the chart. /// |
heightBoundingRect | float | /// Height of the rectangle bounding the chart. /// |
values | decimal |
/// An array of |
sliceColors | Color | /// An array of colors used to render slices. /// |
sliceRelativeHeight | float | /// Thickness of the slice to chart relative to the height of the /// bounding rectangle. /// |
texts | string | /// An array of strings that are displayed on corresponding slice. /// |
return | System |
public PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values, float sliceRelativeHeight ) : System | ||
xBoundingRect | float | /// x-coordinate of the upper-left corner of the rectangle bounding /// the chart. /// |
yBoundingRect | float | /// y-coordinate of the upper-left corner of the rectangle bounding /// the chart. /// |
widthBoundingRect | float | /// Width of the rectangle bounding the chart. /// |
heightBoundingRect | float | /// Height of the rectangle bounding the chart. /// |
values | decimal |
/// An array of |
sliceRelativeHeight | float | /// Thickness of the pie slice to chart relative to the height of the /// bounding rectangle. /// |
return | System |
public PieChart3D ( float xBoundingRect, float yBoundingRect, float widthBoundingRect, float heightBoundingRect, decimal values, float sliceRelativeHeight, string texts ) : System | ||
xBoundingRect | float | /// x-coordinate of the upper-left corner of the rectangle bounding /// the chart. /// |
yBoundingRect | float | /// y-coordinate of the upper-left corner of the rectangle bounding /// the chart. /// |
widthBoundingRect | float | /// Width of the rectangle bounding the chart. /// |
heightBoundingRect | float | /// Height of the rectangle bounding the chart. /// |
values | decimal |
/// An array of |
sliceRelativeHeight | float | /// Thickness of the slice to chart relative to the height of the /// bounding rectangle. /// |
texts | string | /// An array of strings that are displayed on corresponding slice. /// |
return | System |
public PlaceTexts ( |
||
graphics |
/// |
|
return | void |
protected ReadjustSlices ( |
||
newBoundingRectangle |
/// |
|
return | void |
protected PieSlice[],System.Drawing.PieChart m_pieSlices | ||
return | System.Drawing.PieChart.PieSlice[] |
protected ArrayList,System.Collections m_pieSlicesMapping | ||
return |
protected float[] m_sliceRelativeDisplacements | ||
return | float[] |