+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "PieChart" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++ ## PieChart class Signature ```typescript export declare class PieChart extends PureComponent ``` Import ```typescript import { PieChart } from '@grafana/ui'; ``` Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [containerElement](#containerelement-property) | | any | | | [defaultProps](#defaultprops-property) | static | {
pieType: string;
format: string;
stat: string;
strokeWidth: number;
theme: GrafanaThemeType;
} | | | [svgElement](#svgelement-property) | | any | | | [tooltipElement](#tooltipelement-property) | | any | | | [tooltipValueElement](#tooltipvalueelement-property) | | any | | Methods | Method | Modifiers | Description | | --- | --- | --- | | [componentDidMount()](#componentdidmount-method) | | | | [componentDidUpdate()](#componentdidupdate-method) | | | | [draw()](#draw-method) | | | | [render()](#render-method) | | | ### containerElement property Signature ```typescript containerElement: any; ``` ### defaultProps property Signature ```typescript static defaultProps: { pieType: string; format: string; stat: string; strokeWidth: number; theme: GrafanaThemeType; }; ``` ### svgElement property Signature ```typescript svgElement: any; ``` ### tooltipElement property Signature ```typescript tooltipElement: any; ``` ### tooltipValueElement property Signature ```typescript tooltipValueElement: any; ``` ### componentDidMount method Signature ```typescript componentDidMount(): void; ``` Returns: `void` ### componentDidUpdate method Signature ```typescript componentDidUpdate(): void; ``` Returns: `void` ### draw method Signature ```typescript draw(): void; ``` Returns: `void` ### render method Signature ```typescript render(): JSX.Element; ``` Returns: `JSX.Element`