Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DonutComponent

deprecated

Use DonutChartComponent

Hierarchy

Implements

  • DoCheck
  • OnDestroy
  • OnInit

Index

Constructors

constructor

Properties

chartData

chartData: any[]

An array containing key value pairs:

key - string representing an arc within the donut chart value - number representing the value of the arc

Protected chartDefaults

chartDefaults: ChartDefaults

chartLoaded

chartLoaded: EventEmitter<any> = new EventEmitter()

Event emitted with the chart reference after load is complete

type

{EventEmitter}

config

Configuration object containing details about how to render the chart

Protected windowRef

windowRef: WindowReference

Methods

Protected generateChart

getCenterLabelText

  • getCenterLabelText(): any

Protected getChartData

  • getChartData(): any

ngDoCheck

  • ngDoCheck(): void

ngOnDestroy

  • ngOnDestroy(): void

ngOnInit

  • ngOnInit(): void

Protected setupConfig

  • setupConfig(): void

Protected setupConfigDefaults

  • setupConfigDefaults(): void

Generated using TypeDoc