Class PieOptions
java.lang.Object
ch.stegmaier.java2tex.core.BaseOption<X>
ch.stegmaier.java2tex.core.OptionBuilder<PieOptions>
ch.stegmaier.java2tex.commands.registry.ctan.tikz.impl.PieOptions
options for the pie command
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautosum()Sets the value for sum to auto.The slices order direction can be set to clockwise by setting change direction, default is counterclockwise.cloud()variant chart - cloudThe number also can be hide by hide number:polar()The polar diagram is similar to a usual pie chart, except sectory are equal angles and differ rather in how far each sector extends from the center of the circle.radius(float radius) The size of chart can be set by radius, default is 3.rotate(float degree) The chart can be rotated by setting rotate (in degrees).square()variant chart - squareThe value of sum indicates the sum of all data in the chart, it is 100 by default.text(PgfPie.PieOptionText pieOptionEnum) The value of text can be label (default), pin, inside or legend.The value of text can be label (default), pin, inside or legend.Methods inherited from class ch.stegmaier.java2tex.core.OptionBuilder
entry, entry, entry, entry, entry, optionList, toStringMethods inherited from class ch.stegmaier.java2tex.core.BaseOption
getThis
-
Constructor Details
-
PieOptions
public PieOptions(ch.stegmaier.java2tex.core.GenericCommand parent)
-
-
Method Details
-
text
The value of text can be label (default), pin, inside or legend. -
text
The value of text can be label (default), pin, inside or legend. -
hideNumber
The number also can be hide by hide number: -
cloud
variant chart - cloud\begin{tikzpicture} \\pie[cloud]{10/A, 20/B, 30/C, 40/D} \end{tikzpicture}
-
square
variant chart - square\begin{tikzpicture} \pie[square]{40/A, 30/B, 20/C, 10/D} \end{tikzpicture}
-
polar
The polar diagram is similar to a usual pie chart, except sectory are equal angles and differ rather in how far each sector extends from the center of the circle.\begin{tikzpicture} \pie[polar]{10/A, 20/B, 30/C, 40/D} \end{tikzpicture}
-
sum
The value of sum indicates the sum of all data in the chart, it is 100 by default. It can be calculated automatically when auto is set. Then the angle of slices are determined by number value and sum. -
autosum
Sets the value for sum to auto. -
rotate
The chart can be rotated by setting rotate (in degrees). -
radius
The size of chart can be set by radius, default is 3. -
changeDirection
The slices order direction can be set to clockwise by setting change direction, default is counterclockwise.
-