The number of rows to be returned. It can be a number between 1 and 1,000
Sort
The sort order of the rows. It can be ascending (ASC) or descending (DESC) order. Defaults to descending (DESC) order when not provided.
Show Sort
The available sort orders.
ASC: Sort in ascending order.
DESC: Sort in descending order.
DimensionInput[]
Dimensions to group the Metric values by. Typically, Dimensions in a piechart is what you want to compare and rank.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
string
Indicates specific time zone region
TimeRangeInput
Specify the time range for a time series, counter, or leaderboard Metric query
Show TimeRangeInput
The fields required to specify the time range for a time series, counter, or leaderboard Metric query.If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.If both relative and absolute time ranges are provided, the relative time range will take precedence.If a LAST_N relative time period is selected, an n ≥ 1 must be provided. If no n is provided or n < 1, a BAD_REQUEST error will be returned.
String
The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.
Set this to filter on an alternative timestamp field.
RelativeTimeRange
The relative time period.
Show RelativeTimeRange
The Relative time ranges are based on the current date and time.THIS - The current unit of time. For example, if today is June 8, 2022, and
THIS_MONTH is selected, then data for June 2022 would be returned.PREVIOUS - The previous unit of time. For example, if today is June 8, 2022, and
PREVIOUS_MONTH is selected, then data for May 2022 would be returned. It excludes
the current unit of time.NEXT - The next unit of time. For example, if today is June 8, 2022, and
NEXT_MONTH is selected, then data for July 2022 would be returned. It excludes
the current unit of time.LAST_N - The last n units of time, including the current one. For example, if today
is June 8, 2022 and LAST_N_YEARS with n = 3 is selected, then data for 2020, 2021, and
2022 will be returned. It will include the current time period.
THIS_HOUR: Starts at the zeroth minute of the current hour and continues for 60 minutes.
TODAY: Starts at 12:00:00 AM of the current day and continues for 24 hours.
THIS_WEEK: Starts on Monday, 12:00:00 AM of the current week and continues for seven days.
THIS_MONTH: Starts at 12:00:00 AM on the first day of the current month and continues for the duration of the month.
THIS_QUARTER: Starts at 12:00:00 AM on the first day of the current calendar quarter and continues for the duration of the quarter.
THIS_YEAR: Starts on January 1st, 12:00:00 AM of the current year and continues for the duration of the year.
PREVIOUS_HOUR: Starts at the zeroth minute of the previous hour and continues for 60 minutes.
YESTERDAY: Starts at 12:00:00 AM on the day before the today and continues for 24 hours.
PREVIOUS_WEEK: Starts on Monday, 12:00:00 AM, a week before the current week, and continues for seven days.
PREVIOUS_MONTH: Starts at 12:00:00 AM on the first day of the month before the current month and continues for the duration of the month.
PREVIOUS_QUARTER: Starts at 12:00:00 AM on the first day of the calendar quarter before the current quarter and continues for the duration of the quarter.
PREVIOUS_YEAR: Starts on January 1st, 12:00:00 AM, the year before the current year, and continues for the duration of the year.
NEXT_HOUR: Starts at the zeroth minute of the next hour and continues for 60 minutes.
TOMORROW: ” Starts at 12:00:00 AM, the day after the current day, and continues for 24 hours.
NEXT_WEEK: Starts on Monday, 12:00:00 AM, the week after the current week, and continues for the duration of the week.
NEXT_MONTH: Starts at 12:00:00 AM on the first day of the next month and continues for the duration of the month.
NEXT_QUARTER: Starts at 12:00:00 AM on the first day of the next calendar quarter and continues for the duration of the quarter.
NEXT_YEAR: Starts on January 1st, 12:00:00 AM of the next year and continues for the duration of the year.
LAST_N_MINUTES: Starts at the zeroth second n - 1 minute(s) before the current minute and continues through the current minute. It includes this minute.
LAST_N_HOURS: Starts at the zeroth minute of the n - 1 hour(s) before the current hour, and continues through the current hour. It includes this hour.
LAST_N_DAYS: Starts at 12:00:00 AM, n - 1 day(s) before the current day, and continues through the current day. It includes today.
LAST_N_WEEKS: Starts on Monday, 12:00:00 AM, n - 1 week(s) before the current week, and continues through the current week. It includes this week.
LAST_N_MONTHS: Starts at 12:00:00 AM on the first day of the month, n - 1 month(s) before the current month, and continues through the current month. It includes this month.
LAST_N_QUARTERS: Starts at 12:00:00 AM on the first day of the calendar quarter n - 1 quarter(s) before the current quarter and continues through the current quarter. It includes this quarter.
LAST_N_YEARS: Starts on January 1st, 12:00:00 AM of the year n - 1 year(s) before the current year and continues through the current year. It includes this year.
LAST_15_MINUTES
LAST_30_MINUTES
LAST_HOUR
LAST_4_HOURS
LAST_12_HOURS
LAST_24_HOURS
LAST_7_DAYS
LAST_30_DAYS
LAST_90_DAYS
LAST_3_MONTHS
LAST_6_MONTHS
LAST_YEAR
LAST_2_YEARS
LAST_5_YEARS
Int
The number of time units for the LAST_N relative periods.
DateTime
The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.
DateTime
The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.
string | DeepPartial<MetricInput>
The metric prop allows you to specify which metric to query.
You can query predefined metrics by passing their name or ID as a string, or
you can query metrics on-the-fly by passing an inline metric definition to the prop.
FilterInput[]
Filters that the chart will respond to
Show FilterInput
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The global theme radius color. This color is used for border radius
Show Radii
"none" | "small" | "medium" | "large" | "full"
Scalings
The global theme scaling. This value is used to scale components
Show Scalings
"90%" | "95%" | "100%" | "105%" | "110%"
PanelBackgrounds
The global theme panel background. This value is used to set the panel background
Show PanelBackgrounds
"solid" | "translucent"
Show Deprecated Fields
{
title: string;
body: string;
} | null
deprecated
This type is deprecated, use errorFallbackProps and errorFallback instead
Was this page helpful?
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Propel docs","colors":{"primary":"#53389E","light":"#B692F6","dark":"#42307D"},"favicon":"/logo/favicon.svg","styling":{"eyebrows":null,"codeblocks":"system"},"logo":{"light":"https://mintcdn.com/propeldocs/sNpmg5Sbvcqytj17/logo/light.svg?fit=max\u0026auto=format\u0026n=sNpmg5Sbvcqytj17\u0026q=85\u0026s=9d44dbaa0d94a0b0efe5b94548583b52","dark":"https://mintcdn.com/propeldocs/sNpmg5Sbvcqytj17/logo/dark.svg?fit=max\u0026auto=format\u0026n=sNpmg5Sbvcqytj17\u0026q=85\u0026s=018cb109a52097ee645367f1cabdbac1","href":"https://www.propeldata.com/docs"},"background":{"decoration":"windows"},"navbar":{"links":[{"label":"Sign up","href":"https://console.propeldata.com/get-started"}],"primary":{"type":"button","label":"Console","href":"https://console.propeldata.com"}},"footer":{"socials":{"website":"https://www.propeldata.com","x":"https://x.com/PropelDataCloud","github":"https://github.com/propeldata","linkedin":"https://www.linkedin.com/company/propeldata"}},"integrations":{"gtm":{"tagId":"GTM-KWHDSH7X"},"segment":{"key":"JofuhN1DoSM6E42ZVPcVUN3jqCmyWVP1"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"propeldocs","hasAudioNarration":false,"actualSubdomain":"propeldocs","customDomains":["www.propeldata.com"],"gitSource":{"type":"github","owner":"propeldata","repo":"docsv2","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae921c25a187fc783f53d53:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Embeddable UI","count":72},{"language":"default","tag":"Serverless Cloud","count":65},{"language":"default","tag":"Ingestion","count":44},{"language":"default","tag":"Query APIs","count":40},{"language":"default","tag":"API Reference","count":18},{"language":"default","tag":"Get Started","count":17},{"language":"default","tag":"Guides","count":16},{"language":"default","tag":"Changelog","count":9},{"language":"default","tag":"Manage","count":9},{"language":"default","tag":"Themes","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"docs/embeddable-ui/components/pie-chart","slug":"/docs/embeddable-ui/components/pie-chart","pageMetadata":{"title":"Pie Chart","description":"Show part-to-whole relationships.","sidebarTitle":"Pie Chart","icon":"chart-pie","href":"/docs/embeddable-ui/components/pie-chart"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Show part-to-whole relationships.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Icon,OptimizedFrame,ParamField,Tab,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Icon)_missingMdxReference(`Icon`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(`div`,{}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Preview`,id:`preview`,children:_jsx(OptimizedFrame,{width:`100%`,height:`350`,src:`https://ui-kit-docs-examples.vercel.app/pie-chart`,allow:`accelerometer; clipboard-write; gyroscope;`,style:{overflow:`hidden`,border:`1px solid #ECECED`},scrolling:`no`,marginWidth:`0`,marginHeight:`0`})}),_jsx(Tab,{title:`Code`,id:`code`,children:_jsx(CodeBlock,{filename:`/pie-chart/page.tsx`,numberOfLines:`33`,language:`jsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`jsx`,children:_jsxs(_components.code,{language:`jsx`,numberOfLines:`33`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PieChart`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Container`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RelativeTimeRange`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Sort`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@propeldata/ui-kit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` default`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` PieChartExample`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`() `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Container`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` p`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`PieChart`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` metric:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` count:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataPool:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"TacoSoft Demo Data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` timeRange:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`relative:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RelativeTimeRange`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LastNDays`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`n:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 90`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` rowLimit:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dimension:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`columnName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"restaurant_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sort:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Sort`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Desc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` chartProps`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` hideTotal:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` legendPosition:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bottom\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Container`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsxs(`div`,{className:`mint-flex mint-justify-center mint-gap-8 mint-mt-2`,children:[_jsxs(`a`,{href:`https://github.com/propeldata/ui-kit/blob/main/packages/ui-kit/src/components/PieChart/PieChart.tsx`,target:`_blank`,rel:`noopener noreferrer`,className:`mint-flex mint-items-center mint-gap-2 mint-text-xs`,children:[_jsx(Icon,{icon:`github`,size:18}),_jsx(_components.p,{children:`GitHub`}),_jsx(Icon,{icon:`arrow-up-right-from-square`,size:12})]}),_jsxs(`a`,{href:`https://storybook.propeldata.com/?path=/docs/components-piechart--overview`,target:`_blank`,className:`mint-flex mint-items-center mint-gap-2 mint-text-xs`,children:[_jsx(Icon,{icon:`book`,size:18}),_jsx(_components.p,{children:`Storybook`}),_jsx(Icon,{icon:`arrow-up-right-from-square`,size:12})]}),_jsxs(`a`,{href:`https://github.com/propeldata/ui-kit-docs-examples/blob/main/src/app/pie-chart/page.tsx`,target:`_blank`,className:`mint-flex mint-items-center mint-gap-2 mint-text-xs`,children:[_jsx(Icon,{icon:`github`,size:18}),_jsx(_components.p,{children:`Example`}),_jsx(Icon,{icon:`arrow-up-right-from-square`,size:12})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`props-api`,children:`Props API`}),`\n`,_jsxs(ParamField,{path:`query`,type:`PieChartQueryProps`,id:`param-query`,children:[_jsx(_components.p,{children:`PieChart query props`}),_jsxs(Expandable,{title:`PieChartQueryProps`,children:[_jsx(ParamField,{path:`rowLimit`,type:`number`,id:`param-row-limit`,children:_jsx(_components.p,{children:`The number of rows to be returned. It can be a number between 1 and 1,000`})}),_jsxs(ParamField,{path:`sort`,type:`Sort`,id:`param-sort`,children:[_jsx(_components.p,{children:`The sort order of the rows. It can be ascending (ASC) or descending (DESC) order. Defaults to descending (DESC) order when not provided.`}),_jsxs(Expandable,{title:`Sort`,children:[_jsx(_components.p,{children:`The available sort orders.`}),_jsx(ParamField,{path:` `,id:`param`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ASC`}),`: Sort in ascending order.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DESC`}),`: Sort in descending order.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`dimensions`,type:`DimensionInput[]`,id:`param-dimensions`,children:[_jsx(_components.p,{children:`Dimensions to group the Metric values by. Typically, Dimensions in a piechart is what you want to compare and rank.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsx(ParamField,{path:`timeZone`,type:`string`,id:`param-time-zone`,children:_jsx(_components.p,{children:`Indicates specific time zone region`})}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range`,children:[_jsx(_components.p,{children:`Specify the time range for a time series, counter, or leaderboard Metric query`}),_jsxs(Expandable,{title:`TimeRangeInput`,children:[_jsx(_components.p,{children:`The fields required to specify the time range for a time series, counter, or leaderboard Metric query.`}),_jsx(_components.p,{children:`If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.`}),_jsx(_components.p,{children:`If both relative and absolute time ranges are provided, the relative time range will take precedence.`}),_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`LAST_N`}),` relative time period is selected, an `,_jsx(_components.code,{children:`n`}),` ≥ 1 must be provided. If no `,_jsx(_components.code,{children:`n`}),` is provided or `,_jsx(_components.code,{children:`n`}),` \u003c 1, a `,_jsx(_components.code,{children:`BAD_REQUEST`}),` error will be returned.`]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp`,children:_jsx(_components.p,{children:`The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.\nSet this to filter on an alternative timestamp field.`})}),_jsxs(ParamField,{path:`relative`,type:`RelativeTimeRange`,id:`param-relative`,children:[_jsx(_components.p,{children:`The relative time period.`}),_jsxs(Expandable,{title:`RelativeTimeRange`,children:[_jsx(_components.p,{children:`The Relative time ranges are based on the current date and time.`}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`THIS`}),` - The current unit of time. For example, if today is June 8, 2022, and\n`,_jsx(_components.code,{children:`THIS_MONTH`}),` is selected, then data for June 2022 would be returned.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PREVIOUS`}),` - The previous unit of time. For example, if today is June 8, 2022, and\n`,_jsx(_components.code,{children:`PREVIOUS_MONTH`}),` is selected, then data for May 2022 would be returned. It excludes\nthe current unit of time.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`NEXT`}),` - The next unit of time. For example, if today is June 8, 2022, and\n`,_jsx(_components.code,{children:`NEXT_MONTH`}),` is selected, then data for July 2022 would be returned. It excludes\nthe current unit of time.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`LAST_N`}),` - The last `,_jsx(_components.code,{children:`n`}),` units of time, including the current one. For example, if today\nis June 8, 2022 and `,_jsx(_components.code,{children:`LAST_N_YEARS`}),` with `,_jsx(_components.code,{children:`n`}),` = 3 is selected, then data for 2020, 2021, and\n2022 will be returned. It will include the current time period.`]}),_jsx(ParamField,{path:` `,id:`param-1`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`THIS_HOUR`}),`: Starts at the zeroth minute of the current hour and continues for 60 minutes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TODAY`}),`: Starts at 12:00:00 AM of the current day and continues for 24 hours.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`THIS_WEEK`}),`: Starts on Monday, 12:00:00 AM of the current week and continues for seven days.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`THIS_MONTH`}),`: Starts at 12:00:00 AM on the first day of the current month and continues for the duration of the month.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`THIS_QUARTER`}),`: Starts at 12:00:00 AM on the first day of the current calendar quarter and continues for the duration of the quarter.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`THIS_YEAR`}),`: Starts on January 1st, 12:00:00 AM of the current year and continues for the duration of the year.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PREVIOUS_HOUR`}),`: Starts at the zeroth minute of the previous hour and continues for 60 minutes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`YESTERDAY`}),`: Starts at 12:00:00 AM on the day before the today and continues for 24 hours.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PREVIOUS_WEEK`}),`: Starts on Monday, 12:00:00 AM, a week before the current week, and continues for seven days.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PREVIOUS_MONTH`}),`: Starts at 12:00:00 AM on the first day of the month before the current month and continues for the duration of the month.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PREVIOUS_QUARTER`}),`: Starts at 12:00:00 AM on the first day of the calendar quarter before the current quarter and continues for the duration of the quarter.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PREVIOUS_YEAR`}),`: Starts on January 1st, 12:00:00 AM, the year before the current year, and continues for the duration of the year.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NEXT_HOUR`}),`: Starts at the zeroth minute of the next hour and continues for 60 minutes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TOMORROW`}),`: ” Starts at 12:00:00 AM, the day after the current day, and continues for 24 hours.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NEXT_WEEK`}),`: Starts on Monday, 12:00:00 AM, the week after the current week, and continues for the duration of the week.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NEXT_MONTH`}),`: Starts at 12:00:00 AM on the first day of the next month and continues for the duration of the month.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NEXT_QUARTER`}),`: Starts at 12:00:00 AM on the first day of the next calendar quarter and continues for the duration of the quarter.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NEXT_YEAR`}),`: Starts on January 1st, 12:00:00 AM of the next year and continues for the duration of the year.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LAST_N_MINUTES`}),`: Starts at the zeroth second `,_jsx(_components.code,{children:`n`}),` - 1 minute(s) before the current minute and continues through the current minute. It includes this minute.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LAST_N_HOURS`}),`: Starts at the zeroth minute of the `,_jsx(_components.code,{children:`n`}),` - 1 hour(s) before the current hour, and continues through the current hour. It includes this hour.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LAST_N_DAYS`}),`: Starts at 12:00:00 AM, `,_jsx(_components.code,{children:`n`}),` - 1 day(s) before the current day, and continues through the current day. It includes today.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LAST_N_WEEKS`}),`: Starts on Monday, 12:00:00 AM, `,_jsx(_components.code,{children:`n`}),` - 1 week(s) before the current week, and continues through the current week. It includes this week.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LAST_N_MONTHS`}),`: Starts at 12:00:00 AM on the first day of the month, `,_jsx(_components.code,{children:`n`}),` - 1 month(s) before the current month, and continues through the current month. It includes this month.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LAST_N_QUARTERS`}),`: Starts at 12:00:00 AM on the first day of the calendar quarter `,_jsx(_components.code,{children:`n`}),` - 1 quarter(s) before the current quarter and continues through the current quarter. It includes this quarter.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LAST_N_YEARS`}),`: Starts on January 1st, 12:00:00 AM of the year `,_jsx(_components.code,{children:`n`}),` - 1 year(s) before the current year and continues through the current year. It includes this year.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_15_MINUTES`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_30_MINUTES`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_HOUR`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_4_HOURS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_12_HOURS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_24_HOURS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_7_DAYS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_30_DAYS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_90_DAYS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_3_MONTHS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_6_MONTHS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_YEAR`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_2_YEARS`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LAST_5_YEARS`})}),`\n`]})})]})]}),_jsx(ParamField,{path:`n`,type:`Int`,id:`param-n`,children:_jsxs(_components.p,{children:[`The number of time units for the `,_jsx(_components.code,{children:`LAST_N`}),` relative periods.`]})}),_jsx(ParamField,{path:`start`,type:`DateTime`,id:`param-start`,children:_jsx(_components.p,{children:`The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.`})}),_jsx(ParamField,{path:`stop`,type:`DateTime`,id:`param-stop`,children:_jsx(_components.p,{children:`The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.`})})]})]}),_jsx(ParamField,{path:`metric`,type:`string | DeepPartial\u003cMetricInput>`,id:`param-metric`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`metric`}),` prop allows you to specify which metric to query.\\r\nYou can query predefined metrics by passing their name or ID as a string, or\\r\nyou can query metrics on-the-fly by passing an inline metric definition to the prop.`]})}),_jsxs(ParamField,{path:`filters`,type:`FilterInput[]`,id:`param-filters`,children:[_jsx(_components.p,{children:`Filters that the chart will respond to`}),_jsxs(Expandable,{title:`FilterInput`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(Expandable,{title:`FilterOperator`,children:[_jsx(_components.p,{children:`The available Filter operators.`}),_jsx(ParamField,{path:` `,id:`param-2`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EQUALS`}),`: Selects values that are equal to the specified value.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_EQUALS`}),`: Selects values that are not equal to the specified value.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GREATER_THAN`}),`: Selects values that are greater than the specified value.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GREATER_THAN_OR_EQUAL_TO`}),`: Selects values that are greater or equal to the specified value.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LESS_THAN`}),`: Selects values that are less than the specified value.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LESS_THAN_OR_EQUAL_TO`}),`: Selects values that are less or equal to the specified value.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`IS_NULL`}),`: Selects values that are null. This operator does not accept a value.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`IS_NOT_NULL`}),`: Selects values that are not null. This operator does not accept a value.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIKE`}),`: Selects values that match the specified pattern.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_LIKE`}),`: “Selects values that do not match the specified pattern.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,id:`param-and`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[FilterInput!]`,id:`param-or`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]}),_jsx(ParamField,{path:`accessToken`,type:`string`,id:`param-access-token`,children:_jsxs(_components.p,{children:[`Access token used for the query. While you can pass this one to each component, we recommend wrapping components in the `,_jsx(_components.code,{children:`AccessTokenProvider`}),` instead:`]})}),_jsx(ParamField,{path:`refetchInterval`,type:`number`,id:`param-refetch-interval`,children:_jsx(_components.p,{children:`Interval in milliseconds for refetching the data`})}),_jsx(ParamField,{path:`retry`,type:`boolean`,id:`param-retry`,children:_jsx(_components.p,{children:`Whether to retry on errors.`})}),_jsx(ParamField,{path:`propelApiUrl`,type:`string`,id:`param-propel-api-url`,children:_jsx(_components.p,{children:`This prop allows you to override the URL for Propel’s GraphQL API. You shouldn’t need to set this unless you are testing.`})}),_jsx(ParamField,{path:`enabled`,type:`boolean`,id:`param-enabled`,children:_jsx(_components.p,{children:`When false, the component will not make any GraphQL requests, default is true.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`dimension`,type:`DimensionInput`,deprecated:true,id:`param-dimension`,children:[_jsxs(_components.p,{children:[`This prop is deprecated, use `,_jsx(_components.code,{children:`dimensions`}),` instead.`]}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-1`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]})})]})]}),`\n`,_jsxs(ParamField,{path:`variant`,type:`PieChartVariant`,id:`param-variant`,children:[_jsxs(_components.p,{children:[`The variant the chart will respond to, can be either `,_jsx(_components.code,{children:`pie`}),` or `,_jsx(_components.code,{children:`doughnut`}),`.`]}),_jsx(Expandable,{title:`PieChartVariant`,children:_jsx(ParamField,{path:`PieChartVariant`,type:`\"pie\" | \"doughnut\"`,id:`param-pie-chart-variant`})})]}),`\n`,_jsx(ParamField,{path:`loading`,type:`boolean`,id:`param-loading`,children:_jsx(_components.p,{children:`When true, shows a skeleton loader`})}),`\n`,_jsx(ParamField,{path:`timeZone`,type:`string`,id:`param-time-zone-1`,children:_jsx(_components.p,{children:`Time zone to use (for example, “America/Los_Angeles”, “Europe/Berlin”, or “UTC”). Defaults to the client’s local time zone`})}),`\n`,_jsx(ParamField,{path:`headers`,type:`string[]`,id:`param-headers`,children:_jsxs(_components.p,{children:[`If passed along with `,_jsx(_components.code,{children:`rows`}),` the component will ignore the built-in GraphQL operations.`]})}),`\n`,_jsx(ParamField,{path:`rows`,type:`string[][]`,id:`param-rows`,children:_jsxs(_components.p,{children:[`If passed along with `,_jsx(_components.code,{children:`headers`}),` the component will ignore the built-in GraphQL operations.`]})}),`\n`,_jsxs(ParamField,{path:`chartProps`,type:`ChartProps`,id:`param-chart-props`,children:[_jsx(_components.p,{children:`Optional props that are used to configure the chart component.`}),_jsxs(Expandable,{title:`ChartProps`,children:[_jsx(ParamField,{path:`labelPosition`,type:`\"axis\" | \"inside\" | \"top\"`,id:`param-label-position`,children:_jsx(_components.p,{children:`Sets the position of the labels`})}),_jsx(ParamField,{path:`otherLabel`,type:`string`,id:`param-other-label`,children:_jsx(_components.p,{children:`Sets the other label text`})}),_jsx(ParamField,{path:`hideLegend`,type:`boolean`,id:`param-hide-legend`,children:_jsx(_components.p,{children:`Hides the legend on chart if it is set the true`})}),_jsx(ParamField,{path:`legendPosition`,type:`\"top\" | \"bottom\" | \"left\" | \"right\"`,id:`param-legend-position`,children:_jsx(_components.p,{children:`Sets the position of the legend`})}),_jsx(ParamField,{path:`showValues`,type:`boolean`,id:`param-show-values`,children:_jsx(_components.p,{children:`Shows the values on chart if it is set the true`})}),_jsx(ParamField,{path:`hideTotal`,type:`boolean`,id:`param-hide-total`,children:_jsx(_components.p,{children:`Hides the total value on chart if it is set the true`})}),_jsx(ParamField,{path:`totalPosition`,type:`\"top\" | \"bottom\"`,id:`param-total-position`,children:_jsx(_components.p,{children:`Sets the position of the total value for Pie Chart`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsx(ParamField,{path:`chartColorPalette`,type:`string[]`,deprecated:true,id:`param-chart-color-palette`,children:_jsx(_components.p,{children:`Sets the chart color palette`})})})]})]}),`\n`,_jsx(ParamField,{path:`labelListClassName`,type:`string`,id:`param-label-list-class-name`,children:_jsx(_components.p,{children:`Provides className to style label list of chart.`})}),`\n`,_jsx(ParamField,{path:`accentColors`,type:`(AccentColors | string)[]`,id:`param-accent-colors`,children:_jsx(_components.p,{children:`A list of accent colors the PieChart component will use, those will be picked in order`})}),`\n`,_jsx(ParamField,{path:`otherColor`,type:`GrayColors | string`,id:`param-other-color`,children:_jsxs(_components.p,{children:[`Color that will be used for `,_jsx(_components.code,{children:`other`})]})}),`\n`,_jsx(ParamField,{path:`showGroupByOther`,type:`boolean`,id:`param-show-group-by-other`,children:_jsxs(_components.p,{children:[`If set to true, shows the `,_jsx(_components.code,{children:`other`}),` slice of the pie chart, defaults to true`]})}),`\n`,_jsx(ParamField,{path:`chartConfigProps`,type:`(config: ChartConfiguration\u003c\"pie\" | \"doughnut\">) => ChartConfiguration\u003c\"pie\" | \"doughnut\">`,id:`param-chart-config-props`,children:_jsx(_components.p,{children:`An optional prop that provides access to the Chart.js API, allowing for further customization of chart settings.`})}),`\n`,_jsxs(Expandable,{title:`Theme Provider Props`,children:[_jsxs(ParamField,{path:`appearance`,type:`ThemeAppearances`,id:`param-appearance`,children:[_jsx(_components.p,{children:`The initial theme used as a base. It provides a default set of styling\\r\nfrom which customizations can be applied.`}),_jsx(Expandable,{title:`ThemeAppearances`,children:_jsx(ParamField,{path:`ThemeAppearances`,type:`\"light\" | \"dark\"`,id:`param-theme-appearances`})})]}),_jsxs(ParamField,{path:`accentColor`,type:`AccentColors`,id:`param-accent-color`,children:[_jsx(_components.p,{children:`The global theme accent color. This color is used to highlight elements`}),_jsx(Expandable,{title:`AccentColors`,children:_jsx(ParamField,{path:`AccentColors`,type:`\"amber\" | \"blue\" | \"bronze\" | \"brown\" | \"crimson\" | \"cyan\" | \"gold\" | \"grass\" | \"gray\" | \"green\" | \"indigo\" | \"iris\" | \"jade\" | \"lime\" | \"mint\" | \"orange\" | \"pink\" | \"plum\" | \"purple\" | \"red\" | \"ruby\" | \"sky\" | \"teal\" | \"tomato\" | \"violet\" | \"yellow\"`,id:`param-accent-colors-1`})})]}),_jsxs(ParamField,{path:`grayColor`,type:`GrayColors`,id:`param-gray-color`,children:[_jsx(_components.p,{children:`The global theme gray color. This color is used for text and background colors`}),_jsx(Expandable,{title:`GrayColors`,children:_jsx(ParamField,{path:`GrayColors`,type:`\"auto\" | \"gray\" | \"mauve\" | \"slate\" | \"sage\" | \"olive\" | \"sand\"`,id:`param-gray-colors`})})]}),_jsxs(ParamField,{path:`radius`,type:`Radii`,id:`param-radius`,children:[_jsx(_components.p,{children:`The global theme radius color. This color is used for border radius`}),_jsx(Expandable,{title:`Radii`,children:_jsx(ParamField,{path:`Radii`,type:`\"none\" | \"small\" | \"medium\" | \"large\" | \"full\"`,id:`param-radii`})})]}),_jsxs(ParamField,{path:`scaling`,type:`Scalings`,id:`param-scaling`,children:[_jsx(_components.p,{children:`The global theme scaling. This value is used to scale components`}),_jsx(Expandable,{title:`Scalings`,children:_jsx(ParamField,{path:`Scalings`,type:`\"90%\" | \"95%\" | \"100%\" | \"105%\" | \"110%\"`,id:`param-scalings`})})]}),_jsxs(ParamField,{path:`panelBackground`,type:`PanelBackgrounds`,id:`param-panel-background`,children:[_jsx(_components.p,{children:`The global theme panel background. This value is used to set the panel background`}),_jsx(Expandable,{title:`PanelBackgrounds`,children:_jsx(ParamField,{path:`PanelBackgrounds`,type:`\"solid\" | \"translucent\"`,id:`param-panel-backgrounds`})})]})]}),`\n`,_jsx(Expandable,{title:`Deprecated Fields`,children:_jsx(ParamField,{path:`error`,type:`{\ntitle: string;\nbody: string;\n} | null`,deprecated:true,id:`param-error`,children:_jsxs(_components.p,{children:[`This type is deprecated, use `,_jsx(_components.code,{children:`errorFallbackProps`}),` and `,_jsx(_components.code,{children:`errorFallback`}),` instead`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Pie Chart","description":"Show part-to-whole relationships.","sidebarTitle":"Pie Chart","icon":"chart-pie","href":"/docs/embeddable-ui/components/pie-chart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Props API","slug":"props-api","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/propeldocs/fdbfad1497ca4ff4/scripts/generate-query-api-snippets.js","/_mintlify/custom/propeldocs/8980ee81dee9a13b/scripts/generate-ui-kit-props-snippets.js","/_mintlify/custom/propeldocs/14bd85a0d423341a/scripts/consts.js","/_mintlify/custom/propeldocs/0cf47d21a6c8aab3/scripts/utils.js","/_mintlify/custom/propeldocs/40b44e6573c8c018/scripts/generate-management-api-pages.js","/_mintlify/custom/propeldocs/51bba4061f9f89d8/scripts/delete-heavy-docs.js","/_mintlify/custom/propeldocs/cdc5ec9e555dee6e/scripts/generate-docs.js","/_mintlify/custom/propeldocs/45c00fb3854a3468/scripts/patch-embed-snippets.js","/_mintlify/custom/propeldocs/9a2f4a8c729adeab/scripts/get-radix-type-as-json.js"],"dynamicCss":".mint-mt-2 {\n margin-top: 0.5rem\n}\n.mint-flex {\n display: flex\n}\n.mint-items-center {\n align-items: center\n}\n.mint-justify-center {\n justify-content: center\n}\n.mint-gap-2 {\n gap: 0.5rem\n}\n.mint-gap-8 {\n gap: 2rem\n}\n.mint-text-xs {\n font-size: 0.75rem;\n line-height: 1rem\n}","subdomain":"propeldocs","siteName":"Propel docs","title":"Pie Chart - Propel docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:50:12.561Z","originalFileLocation":"docs/embeddable-ui/components/pie-chart.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Show part-to-whole relationships.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Propel docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Pie Chart - Propel docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Show part-to-whole relationships.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Propel docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://propeldocs.mintlify.site/_mintlify/api/og/v2?division=Visualizations\u0026amp;title=Pie+Chart\u0026amp;description=Show+part-to-whole+relationships.\u0026amp;theme=f9dc867360e0a88fa037a043\u0026amp;signature=db464702ac21c486cae56c982e2b11b91430a06ea66aece7a2b2676f835a2aa5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Pie Chart - Propel docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Show part-to-whole relationships.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://propeldocs.mintlify.site/_mintlify/api/og/v2?division=Visualizations\u0026amp;title=Pie+Chart\u0026amp;description=Show+part-to-whole+relationships.\u0026amp;theme=f9dc867360e0a88fa037a043\u0026amp;signature=db464702ac21c486cae56c982e2b11b91430a06ea66aece7a2b2676f835a2aa5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Propel docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#53389E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/embeddable-ui/components/pie-chart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.propeldata.com/#organization\",\"name\":\"Propel docs\",\"url\":\"https://www.propeldata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/propeldocs/sNpmg5Sbvcqytj17/logo/light.svg?fit=max\u0026auto=format\u0026n=sNpmg5Sbvcqytj17\u0026q=85\u0026s=9d44dbaa0d94a0b0efe5b94548583b52\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.propeldata.com#website\",\"name\":\"Propel docs\",\"url\":\"https://www.propeldata.com\",\"publisher\":{\"@id\":\"https://www.propeldata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart#webpage\",\"url\":\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart\",\"name\":\"Pie Chart\",\"description\":\"Show part-to-whole relationships.\",\"dateModified\":\"2026-01-07T03:50:12.561Z\",\"isPartOf\":{\"@id\":\"https://www.propeldata.com#website\"},\"breadcrumb\":{\"@id\":\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Visualizations\",\"item\":\"https://www.propeldata.com/docs/embeddable-ui/components/time-series\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pie Chart\",\"item\":\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart#article\",\"headline\":\"Pie Chart\",\"name\":\"Pie Chart\",\"description\":\"Show part-to-whole relationships.\",\"url\":\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart\",\"mainEntityOfPage\":{\"@id\":\"https://www.propeldata.com/docs/embeddable-ui/components/pie-chart#webpage\"},\"dateModified\":\"2026-01-07T03:50:12.561Z\",\"publisher\":{\"@id\":\"https://www.propeldata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.propeldata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Propel docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Propel docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/embeddable-ui/components/pie-chart.md","siteName":"Propel docs","nav":{"global":null,"tabs":[{"tab":"Serverless Cloud","pages":[{"title":"Serverless Cloud","href":"/docs/overview"}]},{"tab":"Ingestion","pages":[{"title":"Ingestion","href":"/docs/ingestion/overview"}]},{"tab":"Query APIs","pages":[{"title":"Query APIs","href":"/docs/query-apis/overview"}]},{"tab":"Embeddable UI","anchors":[{"anchor":"Embeddable UI","icon":"house","groups":[{"group":"Get Started","pages":[{"title":"Embeddable UI","sidebarTitle":"Overview","icon":"react","href":"/docs/embeddable-ui/introduction"},{"title":"Starter Apps","sidebarTitle":"Starter Apps","icon":"rocket","href":"/docs/embeddable-ui/starter-apps"},{"title":"Authentication","sidebarTitle":"Authentication","icon":"key","href":"/docs/embeddable-ui/authentication"},{"title":"Layout","sidebarTitle":"Layout","icon":"grid-2","href":"/docs/embeddable-ui/layout"},{"group":"Guides","icon":"book","pages":[{"title":"Querying Metrics","sidebarTitle":"Querying Metrics","icon":"gauge","href":"/docs/embeddable-ui/guides/querying-metrics"},{"title":"Logging","sidebarTitle":"Logging","icon":"terminal","href":"/docs/embeddable-ui/guides/logging"},{"title":"Customizing default states","sidebarTitle":"Default States","icon":"circle-exclamation","href":"/docs/embeddable-ui/guides/default-states"},{"title":"Chart.js configuration","sidebarTitle":"Chart.js configuration","icon":"chart-line","href":"/docs/embeddable-ui/guides/chart-js-configuration"}]}]},{"group":"Themes","pages":[{"title":"Theme overview","sidebarTitle":"Overview","icon":"palette","href":"/docs/embeddable-ui/themes/overview"},{"title":"Color","icon":"fill-drip","href":"/docs/embeddable-ui/themes/color"},{"title":"Dark mode","icon":"moon","href":"/docs/embeddable-ui/themes/dark-mode"},{"group":"Other","icon":"gears","pages":[{"title":"Typography","icon":"font","href":"/docs/embeddable-ui/themes/typography"},{"title":"Spacing","icon":"arrows-left-right","href":"/docs/embeddable-ui/themes/spacing"},{"title":"Breakpoints","icon":"arrows-maximize","href":"/docs/embeddable-ui/themes/breakpoints"},{"title":"Radius","icon":"circle","href":"/docs/embeddable-ui/themes/radius"},{"title":"Shadows","icon":"umbrella-beach","href":"/docs/embeddable-ui/themes/shadows"},{"title":"Cursors","icon":"arrow-pointer","href":"/docs/embeddable-ui/themes/cursors"}]}]},{"group":"Visualizations","pages":[{"title":"Time Series","sidebarTitle":"Time Series","icon":"chart-line","href":"/docs/embeddable-ui/components/time-series"},{"title":"Counter","sidebarTitle":"Counter","icon":"calculator","href":"/docs/embeddable-ui/components/counter"},{"title":"Data Grid","sidebarTitle":"Data Grid","icon":"table","href":"/docs/embeddable-ui/components/data-grid"},{"title":"Leaderboard","description":"Display ranked aggregate data.","sidebarTitle":"Leaderboard","icon":"trophy","href":"/docs/embeddable-ui/components/leaderboard"},{"title":"Pie Chart","sidebarTitle":"Pie Chart","icon":"chart-pie","href":"/docs/embeddable-ui/components/pie-chart"}]},{"group":"Inputs","pages":[{"title":"Time Range Picker","description":"Select date ranges for analysis.","sidebarTitle":"Time Range Picker","icon":"calendar","href":"/docs/embeddable-ui/components/time-range-picker"},{"title":"Simple Filter","sidebarTitle":"Simple Filter","icon":"filter","href":"/docs/embeddable-ui/components/simple-filter"},{"title":"Time Grain Picker","sidebarTitle":"Time Grain Picker","icon":"clock","href":"/docs/embeddable-ui/components/time-grain-picker"},{"title":"Group By","sidebarTitle":"Group By","icon":"layer-group","href":"/docs/embeddable-ui/components/group-by"}]},{"group":"Providers","pages":[{"title":"AccessToken Provider","sidebarTitle":"Access Token Provider","icon":"key","href":"/docs/embeddable-ui/components/access-token-provider"},{"title":"Filter provider","sidebarTitle":"Filter Provider","icon":"filter","href":"/docs/embeddable-ui/components/filter-provider"},{"title":"Log provider","sidebarTitle":"Log Provider","icon":"terminal","href":"/docs/embeddable-ui/components/log-provider"},{"title":"Theme provider","sidebarTitle":"Theme Provider","icon":"palette","href":"/docs/embeddable-ui/components/theme-provider"}]},{"group":"Query Hooks","pages":[{"title":"useSql","sidebarTitle":"useSql","icon":"code","href":"/docs/embeddable-ui/components/use-sql"},{"title":"useCounter","sidebarTitle":"useCounter","icon":"code","href":"/docs/embeddable-ui/components/use-counter"},{"title":"useDataGrid","sidebarTitle":"useDataGrid","icon":"code","href":"/docs/embeddable-ui/components/use-data-grid"},{"title":"useLeaderboard","sidebarTitle":"useLeaderboard","icon":"code","href":"/docs/embeddable-ui/components/use-leaderboard"},{"title":"useTimeSeries","sidebarTitle":"useTimeSeries","icon":"code","href":"/docs/embeddable-ui/components/use-time-series"},{"title":"useTopValues","sidebarTitle":"useTopValues","icon":"code","href":"/docs/embeddable-ui/components/use-top-values"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/changelog/2024"}]}]},"basePath":"","title":"Pie Chart - Propel docs","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}