java.lang.Object
software.xdev.chartjs.model.options.elements.Arc

public class Arc extends Object

Arcs are used in the polar area, doughnut and pie charts.

When set, these options apply to all objects of that type unless specifically overridden by the configuration attached to a dataset.

  • Field Details

    • backgroundColor

      protected Object backgroundColor
    • borderColor

      protected Object borderColor
    • borderWidth

      protected Integer borderWidth
  • Constructor Details

    • Arc

      public Arc()
  • Method Details

    • getBackgroundColor

      public Object getBackgroundColor()
      See Also:
    • setBackgroundColor

      public Arc setBackgroundColor(Object backgroundColor)

      Default fill color for arcs. Inherited from the global default

      Default 'rgba(0,0,0,0.1)'

    • getBorderColor

      public Object getBorderColor()
      See Also:
    • setBorderColor

      public Arc setBorderColor(Object borderColor)

      Default stroke color for arcs

      Default '#fff'

    • getBorderWidth

      public Integer getBorderWidth()
      See Also:
    • setBorderWidth

      public Arc setBorderWidth(Integer borderWidth)

      Default stroke width for arcs

      Default 2