Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PieChartOptions

options specific to pie charts

Hierarchy

Index

Properties

Optional accessibility

accessibility: boolean

boolean to enable accessibility mode

Optional animations

animations: boolean

boolean to disable animations (enabled by default)

Optional getFillColor

getFillColor: function

Optional function to generate the fill color based on datasetLabel, label, and/or value

Type declaration

    • (datasetLabel: any, label?: any, value?: any): string
    • Parameters

      • datasetLabel: any
      • Optional label: any
      • Optional value: any

      Returns string

Optional getStrokeColor

getStrokeColor: function

Optional function to generate the stroke color based on datasetLabel, label, and/or value

Type declaration

    • (datasetLabel: any, label?: any, value?: any): string
    • Parameters

      • datasetLabel: any
      • Optional label: any
      • Optional value: any

      Returns string

Optional height

height: string

Optionally specify a height for the chart

Optional legend

legend configuration

Optional pie

pie: object

Type declaration

  • Optional callout?: object
    • Optional horizontalLineLength?: number
    • Optional minSliceDegree?: number
    • Optional offsetX?: number
    • Optional offsetY?: number
    • Optional textMargin?: number
  • Optional hoverArc?: object
    • Optional outerRadiusOffset?: number
  • Optional innerRadius?: number
  • Optional labels?: object
    • Optional formatter?: Function
  • Optional padAngle?: number
  • Optional radiusOffset?: number
  • Optional xOffset?: number
  • Optional yOffset?: number
  • Optional yOffsetCallout?: number

Optional resizable

resizable: boolean

boolean to prevent the container from resizing

Optional style

style: object

stylesheet options

Type declaration

  • Optional prefix?: String

    optional prefixing string for css classes (defaults to 'cc')

Optional theme

theme: ChartTheme

Optional function to generate the fill color based on datasetLabel, label, and/or value

Optional tooltip

tooltip configuration

Optional width

width: string

Optionally specify a width for the chart

Generated using TypeDoc