ChartShapeType
Contents
[
Hide
]ChartShapeType enumeration
Specifies the shape type of chart elements.
public enum ChartShapeType
Values
Name | Value | Description |
---|---|---|
Default | 0 | Indicates that a shape is not defined for the chart element. |
Rectangle | 1 | Rectangle. |
RoundRectangle | 2 | Rounded rectangle. |
Ellipse | 3 | Ellipse. |
Diamond | 4 | Diamond. |
Triangle | 5 | Triangle. |
RightTriangle | 6 | Right triangle. |
Parallelogram | 7 | Parallelogram. |
Trapezoid | 8 | Trapezoid. |
Hexagon | 9 | Hexagon. |
Octagon | 10 | Octagon. |
Plus | 11 | Plus. |
Star | 12 | Star. |
Arrow | 13 | Arrow. |
HomePlate | 14 | Home plate. |
Cube | 15 | Cube. |
Arc | 16 | Arc. |
Line | 17 | Line. |
Plaque | 18 | Plaque. |
Can | 19 | Can. |
Donut | 20 | Donut. |
StraightConnector1 | 21 | Straight connector 1. |
BentConnector2 | 22 | Bent connector 2. |
BentConnector3 | 23 | Bent connector 3. |
BentConnector4 | 24 | Bent connector 4. |
BentConnector5 | 25 | Bent connector 5. |
CurvedConnector2 | 26 | Curved connector 2. |
CurvedConnector3 | 27 | Curved connector 3. |
CurvedConnector4 | 28 | Curved connector 4. |
CurvedConnector5 | 29 | Curved connector 5. |
Callout1 | 30 | Callout 1. |
Callout2 | 31 | Callout 2. |
Callout3 | 32 | Callout 3. |
AccentCallout1 | 33 | Accent callout 1. |
AccentCallout2 | 34 | Accent callout 2. |
AccentCallout3 | 35 | Accent callout 3. |
BorderCallout1 | 36 | Callout with border 1. |
BorderCallout2 | 37 | Callout with border 2. |
BorderCallout3 | 38 | Callout with border 3. |
AccentBorderCallout1 | 39 | Accent callout with border 1. |
AccentBorderCallout2 | 40 | Accent callout with border 2. |
AccentBorderCallout3 | 41 | Accent callout with border 3. |
Ribbon | 42 | Ribbon. |
Ribbon2 | 43 | Ribbon 2. |
Chevron | 44 | Chevron. |
Pentagon | 45 | Pentagon. |
NoSmoking | 46 | No smoking. |
Seal4 | 47 | Four pointed star. |
Seal6 | 48 | Six pointed star. |
Seal7 | 49 | Seven pointed star. |
Seal8 | 50 | Eight pointed star. |
Seal10 | 51 | Ten pointed star. |
Seal12 | 52 | Twelve pointed star. |
Seal16 | 53 | Sixteen pointed star. |
Seal24 | 54 | Twenty-four pointed star. |
Seal32 | 55 | Thirty-two pointed star. |
WedgeRectCallout | 56 | Callout wedge rectangle. |
WedgeRRectCallout | 57 | Callout wedge round rectangle. |
WedgeEllipseCallout | 58 | Callout wedge ellipse. |
Wave | 59 | Wave. |
FoldedCorner | 60 | Folded corner. |
LeftArrow | 61 | Left arrow. |
DownArrow | 62 | Down arrow. |
UpArrow | 63 | Up arrow. |
LeftRightArrow | 64 | Left and right arrow. |
UpDownArrow | 65 | Up and down arrow. |
IrregularSeal1 | 66 | Irregular seal 1. |
IrregularSeal2 | 67 | Irregular seal 2. |
LightningBolt | 68 | Lightning bolt. |
Heart | 69 | Heart. |
QuadArrow | 70 | Quad arrow. |
LeftArrowCallout | 71 | Callout left arrow. |
RightArrowCallout | 72 | Callout right arrow. |
UpArrowCallout | 73 | Callout up arrow. |
DownArrowCallout | 74 | Callout down arrow. |
LeftRightArrowCallout | 75 | Callout left and right arrow. |
UpDownArrowCallout | 76 | Callout up and down arrow. |
QuadArrowCallout | 77 | Callout quad arrow. |
Bevel | 78 | Bevel. |
LeftBracket | 79 | Left bracket. |
RightBracket | 80 | Right bracket. |
LeftBrace | 81 | Left brace. |
RightBrace | 82 | Right brace. |
LeftUpArrow | 83 | Left up arrow. |
BentUpArrow | 84 | Bent up arrow. |
BentArrow | 85 | Bent arrow. |
StripedRightArrow | 86 | Striped right arrow. |
NotchedRightArrow | 87 | Notched right arrow. |
BlockArc | 88 | Block arc. |
SmileyFace | 89 | Smiley face. |
VerticalScroll | 90 | Vertical scroll. |
HorizontalScroll | 91 | Horizontal scroll. |
CircularArrow | 92 | Circular arrow. |
UturnArrow | 93 | U-turn arrow. |
CurvedRightArrow | 94 | Curved right arrow. |
CurvedLeftArrow | 95 | Curved left arrow. |
CurvedUpArrow | 96 | Curved up arrow. |
CurvedDownArrow | 97 | Curved down arrow. |
CloudCallout | 98 | Callout cloud. |
EllipseRibbon | 99 | Ellipse ribbon. |
EllipseRibbon2 | 100 | Ellipse ribbon 2. |
FlowChartProcess | 101 | Process flow. |
FlowChartDecision | 102 | Decision flow. |
FlowChartInputOutput | 103 | Input output flow. |
FlowChartPredefinedProcess | 104 | Predefined process flow. |
FlowChartInternalStorage | 105 | Internal storage flow. |
FlowChartDocument | 106 | Document flow. |
FlowChartMultidocument | 107 | Multi-document flow. |
FlowChartTerminator | 108 | Terminator flow. |
FlowChartPreparation | 109 | Preparation flow. |
FlowChartManualInput | 110 | Manual input flow. |
FlowChartManualOperation | 111 | Manual operation flow. |
FlowChartConnector | 112 | Connector flow. |
FlowChartPunchedCard | 113 | Punched card flow. |
FlowChartPunchedTape | 114 | Punched tape flow. |
FlowChartSummingJunction | 115 | Summing junction flow. |
FlowChartOr | 116 | Or flow. |
FlowChartCollate | 117 | Collate flow. |
FlowChartSort | 118 | Sort flow. |
FlowChartExtract | 119 | Extract flow. |
FlowChartMerge | 120 | Merge flow. |
FlowChartOfflineStorage | 121 | Offline storage flow. |
FlowChartOnlineStorage | 122 | Online storage flow. |
FlowChartMagneticTape | 123 | Magnetic tape flow. |
FlowChartMagneticDisk | 124 | Magnetic disk flow. |
FlowChartMagneticDrum | 125 | Magnetic drum flow. |
FlowChartDisplay | 126 | Display flow. |
FlowChartDelay | 127 | Delay flow. |
FlowChartAlternateProcess | 128 | Alternate process flow. |
FlowChartOffpageConnector | 129 | Off-page connector flow. |
LeftRightUpArrow | 130 | Left right up arrow. |
Sun | 131 | Sun. |
Moon | 132 | Moon. |
BracketPair | 133 | Bracket pair. |
BracePair | 134 | Brace pair. |
DoubleWave | 135 | Double wave. |
ActionButtonBlank | 136 | Blank button. |
ActionButtonHome | 137 | Home button. |
ActionButtonHelp | 138 | Help button. |
ActionButtonInformation | 139 | Information button. |
ActionButtonForwardNext | 140 | Forward or next button. |
ActionButtonBackPrevious | 141 | Back or previous button. |
ActionButtonEnd | 142 | End button. |
ActionButtonBeginning | 143 | Beginning button. |
ActionButtonReturn | 144 | Return button. |
ActionButtonDocument | 145 | Document button. |
ActionButtonSound | 146 | Sound button. |
ActionButtonMovie | 147 | Movie button. |
SingleCornerSnipped | 148 | Snip single corner rectangle object. |
TopCornersSnipped | 149 | Snip same side corner rectangle. |
DiagonalCornersSnipped | 150 | Snip diagonal corner rectangle. |
TopCornersOneRoundedOneSnipped | 151 | Snip and round single corner rectangle. |
SingleCornerRounded | 152 | Rounded single corner rectangle. |
TopCornersRounded | 153 | Rounded same side corner rectangle. |
DiagonalCornersRounded | 154 | Rounded diagonal corner rectangle. |
Heptagon | 155 | Heptagon. |
Cloud | 156 | Cloud. |
SwooshArrow | 157 | Swoosh arrow. |
Teardrop | 158 | Teardrop. |
SquareTabs | 159 | Square tabs. |
PlaqueTabs | 160 | Plaque tabs. |
Pie | 161 | Pie. |
WedgePie | 162 | Wedge pie. |
InverseLine | 163 | Inverse line. |
MathPlus | 164 | Math plus. |
MathMinus | 165 | Math minus. |
MathMultiply | 166 | Math multiply. |
MathDivide | 167 | Math divide. |
MathEqual | 168 | Math equal. |
MathNotEqual | 169 | Math not equal. |
NonIsoscelesTrapezoid | 170 | Non-isosceles trapezoid. |
LeftRightCircularArrow | 171 | Left-right circular arrow. |
LeftRightRibbon | 172 | Left-right ribbon. |
LeftCircularArrow | 173 | Left circular arrow. |
Frame | 174 | Frame. |
HalfFrame | 175 | Half frame. |
Funnel | 176 | Funnel. |
Gear6 | 177 | Six-tooth gear. |
Gear9 | 178 | Nine-tooth gear. |
Decagon | 179 | Decagon. |
Dodecagon | 180 | Dodecagon. |
DiagonalStripe | 181 | Diagonal stripe. |
Corner | 182 | Corner. |
CornerTabs | 183 | Corner tabs. |
Chord | 184 | Chord. |
ChartPlus | 185 | Chart plus. |
ChartStar | 186 | Chart star. |
ChartX | 187 | Chart X. |
Examples
Shows how to set fill, stroke and callout formatting for chart data labels.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
Shape shape = builder.InsertChart(ChartType.Column, 432, 252);
Chart chart = shape.Chart;
// Delete default generated series.
chart.Series.Clear();
// Add new series.
ChartSeries series = chart.Series.Add("AW Series 1",
new string[] { "AW Category 1", "AW Category 2", "AW Category 3", "AW Category 4" },
new double[] { 100, 200, 300, 400 });
// Show data labels.
series.HasDataLabels = true;
series.DataLabels.ShowValue = true;
// Format data labels as callouts.
ChartFormat format = series.DataLabels.Format;
format.ShapeType = ChartShapeType.WedgeRectCallout;
format.Stroke.Color = Color.DarkGreen;
format.Fill.Solid(Color.Green);
series.DataLabels.Font.Color = Color.Yellow;
// Change fill and stroke of an individual data label.
ChartFormat labelFormat = series.DataLabels[0].Format;
labelFormat.Stroke.Color = Color.DarkBlue;
labelFormat.Fill.Solid(Color.Blue);
doc.Save(ArtifactsDir + "Charts.FormatDataLables.docx");
See Also
- property ShapeType
- namespace Aspose.Words.Drawing.Charts
- assembly Aspose.Words