java.lang.Object
ch.stegmaier.java2tex.core.BaseCommand<X>
ch.stegmaier.java2tex.core.GenericCommand<Pie>
ch.stegmaier.java2tex.commands.registry.ctan.tikz.impl.Pie

public class Pie extends ch.stegmaier.java2tex.core.GenericCommand<Pie>
pgf-pie – Draw pie charts, using PGF The package provides the means to draw pie (and variant) charts, using PGF/TikZ.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Pie()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    addValue(long number, String text)
     
    Adds a chart point without text.
    addValue(BigDecimal number, String text)
    Adds a chart in the format number/text, i.e. 10/A, 20/B, 30/C, 40/D.
     
    void
     

    Methods inherited from class ch.stegmaier.java2tex.core.GenericCommand

    append, append, append, append, appendNewLine, argument, argument, argument, argument, arguments, autoNewline, buildMandatory, buildName, buildOptional, clear, emptyArgs, getConfigValue, getConfigValue, getContent, noFormat, noPrefix, option, option, option, star, toString

    Methods inherited from class ch.stegmaier.java2tex.core.BaseCommand

    getCommand, getThis

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Pie

      public Pie()
  • Method Details

    • option

      public PieOptions option()
      Overrides:
      option in class ch.stegmaier.java2tex.core.GenericCommand<Pie>
    • addValue

      public Pie addValue(BigDecimal number)
      Adds a chart point without text.
    • addValue

      public Pie addValue(BigDecimal number, String text)
      Adds a chart in the format number/text, i.e. 10/A, 20/B, 30/C, 40/D.
    • addValue

      public Pie addValue(long number, String text)
    • validate

      public void validate()
      Overrides:
      validate in class ch.stegmaier.java2tex.core.GenericCommand<Pie>