java.lang.Object
software.xdev.chartjs.model.options.scales.Font

public class Font extends Object
  • Field Details

  • Constructor Details

    • Font

      public Font()
  • Method Details

    • getFamily

      public String getFamily()
    • setFamily

      public Font setFamily(String family)

      Font family for the scale title, follows CSS font-family options.

      Default "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"

    • getSize

      public BigDecimal getSize()
    • setSize

      public Font setSize(BigDecimal size)

      Font size for the scale title.

      Default 12

    • getStyle

      public FontStyle getStyle()
    • setStyle

      public Font setStyle(FontStyle style)

      Font style for the scale title, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).

      Default "normal"

    • getWeight

      public BigDecimal getWeight()
    • setWeight

      public Font setWeight(BigDecimal weight)