Pivot Charts
Module Extensions
Section titled “Module Extensions”HTMLRevoGridElement (Extended from global)
Section titled “HTMLRevoGridElement (Extended from global)”interface HTMLRevoGridElement { /** * Renderer, complete-data provider, defaults, and safety limits for * renderer-neutral Pivot Charts. */ pivotCharts?: PivotChartsConfig; /** * Optional modeless-dialog and context-menu integration for Pivot Charts. */ pivotChartsUi?: PivotChartsUiConfig}HTMLRevoGridElementEventMap (Extended from global)
Section titled “HTMLRevoGridElementEventMap (Extended from global)”interface HTMLRevoGridElementEventMap { 'pivot-chart-created': PivotChartCreatedEventDetail; 'pivot-chart-updated': PivotChartUpdatedEventDetail; 'pivot-chart-destroyed': PivotChartDestroyedEventDetail; 'pivot-chart-node-click': PivotChartNodeClickEventDetail; 'pivot-chart-error': PivotChartErrorEventDetail; 'pivot-chart-before-drill': PivotChartDrillEventDetail; 'pivot-chart-drill-start': PivotChartDrillEventDetail; 'pivot-chart-drilled': PivotChartDrilledEventDetail; 'pivot-chart-drill-error': PivotChartDrillErrorEventDetail; 'pivot-chart-drill-reset': PivotChartDrilledEventDetail; 'pivot-chart-drill-sync': PivotChartDrillSyncEventDetail}Plugin API
Section titled “Plugin API”toPivotChartError
Section titled “toPivotChartError”export function toPivotChartError( error: unknown, fallbackCode: PivotChartErrorCode = 'CHART_UPDATE_FAILED',);PivotChartErrorCode
Section titled “PivotChartErrorCode”export type PivotChartErrorCode = | 'PIVOT_NOT_ACTIVE' | 'RENDERER_REQUIRED' | 'UNSUPPORTED_CHART_TYPE' | 'INVALID_DATA_SHAPE' | 'INVALID_SERIES_SELECTION' | 'LIMIT_EXCEEDED' | 'SERVER_PROVIDER_REQUIRED' | 'SERVER_RESPONSE_INCOMPLETE' | 'CAPABILITY_UNAVAILABLE' | 'CHART_ID_CONFLICT' | 'CHART_UPDATE_FAILED';PivotChartError
Section titled “PivotChartError”class PivotChartError {}PIVOT_CHART_CREATED_EVENT
Section titled “PIVOT_CHART_CREATED_EVENT”PIVOT_CHART_CREATED_EVENT: string;PIVOT_CHART_UPDATED_EVENT
Section titled “PIVOT_CHART_UPDATED_EVENT”PIVOT_CHART_UPDATED_EVENT: string;PIVOT_CHART_DESTROYED_EVENT
Section titled “PIVOT_CHART_DESTROYED_EVENT”PIVOT_CHART_DESTROYED_EVENT: string;PIVOT_CHART_NODE_CLICK_EVENT
Section titled “PIVOT_CHART_NODE_CLICK_EVENT”PIVOT_CHART_NODE_CLICK_EVENT: string;PIVOT_CHART_ERROR_EVENT
Section titled “PIVOT_CHART_ERROR_EVENT”PIVOT_CHART_ERROR_EVENT: string;PIVOT_CHART_BEFORE_DRILL_EVENT
Section titled “PIVOT_CHART_BEFORE_DRILL_EVENT”PIVOT_CHART_BEFORE_DRILL_EVENT: string;PIVOT_CHART_DRILL_START_EVENT
Section titled “PIVOT_CHART_DRILL_START_EVENT”PIVOT_CHART_DRILL_START_EVENT: string;PIVOT_CHART_DRILLED_EVENT
Section titled “PIVOT_CHART_DRILLED_EVENT”PIVOT_CHART_DRILLED_EVENT: string;PIVOT_CHART_DRILL_ERROR_EVENT
Section titled “PIVOT_CHART_DRILL_ERROR_EVENT”PIVOT_CHART_DRILL_ERROR_EVENT: string;PIVOT_CHART_DRILL_RESET_EVENT
Section titled “PIVOT_CHART_DRILL_RESET_EVENT”PIVOT_CHART_DRILL_RESET_EVENT: string;PIVOT_CHART_DRILL_SYNC_EVENT
Section titled “PIVOT_CHART_DRILL_SYNC_EVENT”PIVOT_CHART_DRILL_SYNC_EVENT: string;createPivotChartAnalyticalFrame
Section titled “createPivotChartAnalyticalFrame”Produces the renderer-neutral, tidy analytical frame for a projected Pivot dataset. Each matrix cell becomes one observation with stable category, series, and measure field IDs.
export function createPivotChartAnalyticalFrame( dataset: Pick< PivotChartDataset, 'categories' | 'series' | 'values' | 'displayValues' | 'hierarchies' >, labels:;ensurePivotChartAnalyticalFrame
Section titled “ensurePivotChartAnalyticalFrame”export function ensurePivotChartAnalyticalFrame( dataset: PivotChartDataset,): PivotChartDataset;PIVOT_CHART_CATEGORY_FIELD_ID
Section titled “PIVOT_CHART_CATEGORY_FIELD_ID”PIVOT_CHART_CATEGORY_FIELD_ID: string;PIVOT_CHART_SERIES_FIELD_ID
Section titled “PIVOT_CHART_SERIES_FIELD_ID”PIVOT_CHART_SERIES_FIELD_ID: string;getPivotChartDefinition
Section titled “getPivotChartDefinition”export function getPivotChartDefinition( chartType: PivotChartType,): PivotChartDefinition<PivotChartType>;PivotChartFamily
Section titled “PivotChartFamily”export type PivotChartFamily = | 'column' | 'bar' | 'line' | 'area' | 'partToWhole' | 'relationship' | 'hierarchical' | 'combination' | 'statistical' | 'specialized' | 'kpi' | 'polar' | 'distribution' | 'matrix' | 'process' | 'flow' | 'financial';PivotChartDataChannel
Section titled “PivotChartDataChannel”export type PivotChartDataChannel = | 'category' | 'series' | 'value' | 'x' | 'y' | 'size' | 'hierarchy' | 'weight' | 'source' | 'target' | 'start' | 'end' | 'low' | 'high' | 'open' | 'close' | 'volume' | 'actual' | 'target' | 'variance' | 'color' | 'shape' | 'angle' | 'radius' | 'parent' | 'child' | 'facetRow' | 'facetColumn' | 'label' | 'tooltip';PivotChartChannelRequirement
Section titled “PivotChartChannelRequirement”interface PivotChartChannelRequirement { channel: PivotChartDataChannel; min: number; max?: number}PivotChartDefinition
Section titled “PivotChartDefinition”interface PivotChartDefinition { type: TType; localization: { labelKey: TType; descriptionKey: TType; }; family: PivotChartFamily; order: number; dataView: | 'matrix' | 'xy' | 'hierarchy' | 'binned' | 'distribution' | 'statistical' | 'range' | 'flow' | 'financial' | 'kpi' | 'calendar'; channels: readonly PivotChartChannelRequirement[]; constraints: { nonNegative: boolean; rowHierarchy: boolean; seriesSelection: 'all' | 'firstAvailable'; }; interactions: { drill: boolean; selection: boolean; zoom: boolean; pan: boolean; labels: boolean; stacking: boolean; }; presentation: { axes: boolean; legend: 'series' | 'category' | 'none'; }; preview: { dataset: PivotChartDataset; bindings: PivotChartBindings; presentation: PivotChartPresentation; aspectRatio: number; }; options: PivotChartOptionsSchema; renderer: PivotChartRenderFunction; documentationSlug: string}PIVOT_CHART_DEFINITIONS
Section titled “PIVOT_CHART_DEFINITIONS”PIVOT_CHART_DEFINITIONS: readonly [PivotChartDefinition<"groupedColumn">, PivotChartDefinition<"stackedColumn">, PivotChartDefinition<"normalizedColumn">, PivotChartDefinition<"groupedBar">, PivotChartDefinition<"stackedBar">, PivotChartDefinition<"normalizedBar">, PivotChartDefinition<"line">, PivotChartDefinition<"smoothLine">, PivotChartDefinition<"steppedLine">, PivotChartDefinition<"area">, PivotChartDefinition<"steppedArea">, PivotChartDefinition<"stackedArea">, PivotChartDefinition<"normalizedArea">, PivotChartDefinition<"pie">, PivotChartDefinition<"donut">, PivotChartDefinition<"treemap">, PivotChartDefinition<"sunburst">, PivotChartDefinition<"scatter">, PivotChartDefinition<"bubble">, PivotChartDefinition<"columnLine">, PivotChartDefinition<"areaLine">, PivotChartDefinition<"rangeColumn">, PivotChartDefinition<"rangeBar">, PivotChartDefinition<"rangeArea">, PivotChartDefinition<"confidenceBand">, PivotChartDefinition<"errorInterval">, PivotChartDefinition<"waterfall">, PivotChartDefinition<"lollipop">, PivotChartDefinition<"bullet">, PivotChartDefinition<"semiDonut">, PivotChartDefinition<"rose">, PivotChartDefinition<"radarLine">, PivotChartDefinition<"radarArea">, PivotChartDefinition<"polarColumn">, PivotChartDefinition<"stackedPolarColumn">, PivotChartDefinition<"normalizedPolarColumn">, PivotChartDefinition<"radialBar">, PivotChartDefinition<"multiRingRadialBar">, PivotChartDefinition<"histogram">, PivotChartDefinition<"stripDot">, PivotChartDefinition<"heatmap">, PivotChartDefinition<"calendarHeatmap">, PivotChartDefinition<"densityScatter">, PivotChartDefinition<"icicle">, PivotChartDefinition<"circlePacking">, PivotChartDefinition<"funnel">, PivotChartDefinition<"pyramid">, PivotChartDefinition<"boxPlot">, PivotChartDefinition<"violin">, PivotChartDefinition<"rangeInterval">, PivotChartDefinition<"sankey">, PivotChartDefinition<"chord">, PivotChartDefinition<"candlestick">, PivotChartDefinition<"ohlc">, PivotChartDefinition<"volumePrice">, PivotChartDefinition<"gauge">, PivotChartDefinition<"kpi">, PivotChartDefinition<"progressGauge">, PivotChartDefinition<"connectedScatter">, PivotChartDefinition<"waffle">, PivotChartDefinition<"smallMultiples">, PivotChartDefinition<"annotatedTimeSeries">, PivotChartDefinition<"timelineRange">];PivotChartType
Section titled “PivotChartType”export type PivotChartType = typeof PIVOT_CHART_DEFINITIONS[number]['type'];PIVOT_CHART_TYPES
Section titled “PIVOT_CHART_TYPES”PIVOT_CHART_TYPES: readonly ("line" | "area" | "kpi" | "groupedColumn" | "stackedColumn" | "normalizedColumn" | "groupedBar" | "stackedBar" | "normalizedBar" | "smoothLine" | "steppedLine" | "steppedArea" | "stackedArea" | "normalizedArea" | "pie" | "donut" | "treemap" | "sunburst" | "scatter" | "bubble" | "densityScatter" | "connectedScatter" | "columnLine" | "areaLine" | "rangeColumn" | "rangeBar" | "rangeArea" | "confidenceBand" | "errorInterval" | "waterfall" | "lollipop" | "bullet" | "semiDonut" | "rose" | "radarLine" | "radarArea" | "polarColumn" | "stackedPolarColumn" | "normalizedPolarColumn" | "radialBar" | "multiRingRadialBar" | "histogram" | "stripDot" | "heatmap" | "calendarHeatmap" | "icicle" | "circlePacking" | "funnel" | "pyramid" | "boxPlot" | "violin" | "rangeInterval" | "sankey" | "chord" | "candlestick" | "ohlc" | "volumePrice" | "gauge" | "progressGauge" | "waffle" | "smallMultiples" | "annotatedTimeSeries" | "timelineRange")[];getPivotChartCatalogExtensionDefinitions
Section titled “getPivotChartCatalogExtensionDefinitions”Resolves definitions for a standalone geographic capability host.
Geographic types are intentionally not accepted by PivotChartModel or the
built-in Pivot Charts gallery/renderer. Applications render them explicitly
through pack.render(...), which keeps provider assets and asynchronous map
projection outside the core plugin lifecycle.
export function getPivotChartCatalogExtensionDefinitions( pack?: PivotChartGeographicCapabilityPack,): readonly PivotChartCatalogExtensionDefinition[];PivotChartCatalogExtensionDefinition
Section titled “PivotChartCatalogExtensionDefinition”export type PivotChartCatalogExtensionDefinition = PivotChartGeographicDefinition;evaluatePivotChartCatalog
Section titled “evaluatePivotChartCatalog”export function evaluatePivotChartCatalog( context: PivotChartCompatibilityContext,): PivotChartCompatibility[];evaluatePivotChartCompatibility
Section titled “evaluatePivotChartCompatibility”export function evaluatePivotChartCompatibility( chartType: PivotChartType, context: PivotChartCompatibilityContext,): PivotChartCompatibility;resolveRelationshipBindings
Section titled “resolveRelationshipBindings”export function resolveRelationshipBindings( channels: readonly Extract<PivotChartBindingChannel, 'x' | 'y' | 'size'>[], dataset: PivotChartDataset, current: PivotChartBindings, rebindWhenIncomplete = false,): PivotChartBindings | undefined;PivotChartCompatibilityStatus
Section titled “PivotChartCompatibilityStatus”export type PivotChartCompatibilityStatus = | 'recommended' | 'compatible' | 'needsFields' | 'unsupported';PivotChartCompatibilityReason
Section titled “PivotChartCompatibilityReason”export type PivotChartCompatibilityReason = | { code: 'rendererUnsupported' } | { code: 'categoriesRequired'; minimum: number } | { code: 'seriesRequired'; minimum: number } | { code: 'seriesLimit'; maximum: number } | { code: 'singleSeriesRequired' } | { code: 'rowHierarchyRequired' } | { code: 'dateCategoriesRequired' } | { code: 'distributionViewRequired' } | { code: 'nonNegativeValuesRequired' } | { code: 'channelRequired'; channel: Extract< PivotChartBindingChannel, | 'x' | 'y' | 'size' | SpecializedSeriesChannel | 'source' | 'target' | 'weight' >; } | { code: 'noCompletePoints' } | { code: 'nonNegativeSizeRequired' };PivotChartCompatibility
Section titled “PivotChartCompatibility”interface PivotChartCompatibility { chartType: PivotChartType; status: PivotChartCompatibilityStatus; reasons: readonly PivotChartCompatibilityReason[]; score: number; inferredPatch?: PivotChartUpdatePatch}PivotChartCompatibilityContext
Section titled “PivotChartCompatibilityContext”interface PivotChartCompatibilityContext { dataset?: PivotChartDataset; model: PivotChartModel; supportedTypes: readonly PivotChartType[]}createInitialRowDrillState
Section titled “createInitialRowDrillState”export function createInitialRowDrillState( scope: PivotChartInitialScope, revision: number | null = null,): PivotChartDrillState;canDrillIntoCategory
Section titled “canDrillIntoCategory”export function canDrillIntoCategory(category: PivotChartCategory);canDrillIntoSeries
Section titled “canDrillIntoSeries”export function canDrillIntoSeries(series: PivotChartSeries);canDrillIntoTarget
Section titled “canDrillIntoTarget”export function canDrillIntoTarget(target: PivotChartDrillTarget);createRowDrillFrame
Section titled “createRowDrillFrame”export function createRowDrillFrame( category: PivotChartCategory,): PivotChartDrillFrame;appendRowDrillFrame
Section titled “appendRowDrillFrame”export function appendRowDrillFrame( state: PivotChartDrillState, category: PivotChartCategory, revision: number,): PivotChartDrillState;appendDrillFrame
Section titled “appendDrillFrame”export function appendDrillFrame( state: PivotChartDrillState, target: PivotChartDrillTarget, revision: number,): PivotChartDrillState;drillToFrame
Section titled “drillToFrame”export function drillToFrame( state: PivotChartDrillState, frameIndex: number, revision: number,): PivotChartDrillState;getParentDrillState
Section titled “getParentDrillState”export function getParentDrillState( state: PivotChartDrillState, revision: number,);reconcileDrillState
Section titled “reconcileDrillState”export function reconcileDrillState( state: PivotChartDrillState, pathDepth: number, revision: number,);createRootPivotChartDrillState
Section titled “createRootPivotChartDrillState”export function createRootPivotChartDrillState( revision: number | null = null,): PivotChartDrillState;parsePivotChartModel
Section titled “parsePivotChartModel”Parses untrusted JSON into a validated, deeply owned V2 model.
export function parsePivotChartModel(input: unknown): PivotChartModel;clonePivotChartModel
Section titled “clonePivotChartModel”export function clonePivotChartModel(model: PivotChartModel): PivotChartModel;createPivotChartOptionsSchema
Section titled “createPivotChartOptionsSchema”export function createPivotChartOptionsSchema(;parsePivotChartOptions
Section titled “parsePivotChartOptions”export function parsePivotChartOptions( value: unknown, schema: PivotChartOptionsSchema,): PivotChartOptions;resolvePivotChartOption
Section titled “resolvePivotChartOption”export function resolvePivotChartOption( options: PivotChartOptions | undefined, schema: PivotChartOptionsSchema, key: PivotChartOptionKey,): PivotChartJsonValue | undefined;PivotChartOptionKey
Section titled “PivotChartOptionKey”export type PivotChartOptionKey = | 'showGridLines' | 'markOpacity' | 'strokeWidth' | 'fillOpacity';PivotChartBooleanOptionDefinition
Section titled “PivotChartBooleanOptionDefinition”interface PivotChartBooleanOptionDefinition { key: PivotChartOptionKey; control: 'boolean'; defaultValue: boolean}PivotChartRangeOptionDefinition
Section titled “PivotChartRangeOptionDefinition”interface PivotChartRangeOptionDefinition { key: PivotChartOptionKey; control: 'range'; defaultValue: number; min: number; max: number; step: number}PivotChartOptionDefinition
Section titled “PivotChartOptionDefinition”export type PivotChartOptionDefinition = | PivotChartBooleanOptionDefinition | PivotChartRangeOptionDefinition;PivotChartOptionsSchema
Section titled “PivotChartOptionsSchema”interface PivotChartOptionsSchema { fields: readonly PivotChartOptionDefinition[]; defaults: Readonly<PivotChartOptions>}projectPivotChartDataset
Section titled “projectPivotChartDataset”export function projectPivotChartDataset( snapshot: PivotRuntimeSnapshot, context: PivotChartProjectorContext, options: PivotChartDataOptions =;projectPivotChartSemanticSlice
Section titled “projectPivotChartSemanticSlice”Projects one already-aggregated semantic child slice through the same matrix adapter as the root chart. The Pivot query owns hierarchy navigation; this adapter only maps its committed rows into renderer data.
export function projectPivotChartSemanticSlice( snapshot: PivotRuntimeSnapshot, slice: PivotSemanticSlice, context: Omit<PivotChartProjectorContext, 'visibleRows'>, options: PivotChartDataOptions =;PIVOT_CHART_MODEL_VERSION
Section titled “PIVOT_CHART_MODEL_VERSION”PIVOT_CHART_MODEL_VERSION: 2;PivotChartTotalsMode
Section titled “PivotChartTotalsMode”export type PivotChartTotalsMode = 'none' | 'grand' | 'subtotals' | 'all';PivotChartTheme
Section titled “PivotChartTheme”export type PivotChartTheme = 'auto' | string;PivotChartUpdateReason
Section titled “PivotChartUpdateReason”export type PivotChartUpdateReason = | 'data' | 'options' | 'theme' | 'relink' | 'drill';PivotChartLegendPosition
Section titled “PivotChartLegendPosition”export type PivotChartLegendPosition = 'top' | 'right' | 'bottom' | 'left' | 'none';PivotChartAxis
Section titled “PivotChartAxis”export type PivotChartAxis = 'row' | 'column';PivotChartDrillSyncMode
Section titled “PivotChartDrillSyncMode”export type PivotChartDrillSyncMode = 'chart' | 'pivot' | 'both' | 'event';PivotChartLimits
Section titled “PivotChartLimits”interface PivotChartLimits { maxCategories: number; maxSeries: number; maxDataPoints: number}DEFAULT_PIVOT_CHART_LIMITS
Section titled “DEFAULT_PIVOT_CHART_LIMITS”DEFAULT_PIVOT_CHART_LIMITS: Readonly<PivotChartLimits>;PivotChartMeasure
Section titled “PivotChartMeasure”interface PivotChartMeasure { prop: ColumnProp; aggregator: string; label: string}PivotChartMeasureSelection
Section titled “PivotChartMeasureSelection”export type PivotChartMeasureSelection = Pick< PivotChartMeasure, 'prop' | 'aggregator'>;PivotChartMemberKind
Section titled “PivotChartMemberKind”export type PivotChartMemberKind = | 'leaf' | 'group' | 'subtotal' | 'grandTotal' | 'collapsed';PivotChartHierarchyLevel
Section titled “PivotChartHierarchyLevel”interface PivotChartHierarchyLevel { id: string; field: ColumnProp; label: string; index: number}PivotChartHierarchyDefinition
Section titled “PivotChartHierarchyDefinition”interface PivotChartHierarchyDefinition { id: string; axis: PivotChartAxis; levels: PivotChartHierarchyLevel[]}PivotChartMemberHierarchy
Section titled “PivotChartMemberHierarchy”interface PivotChartMemberHierarchy { axis: PivotChartAxis; hierarchyId: string; levelId: string; levelIndex: number; maxLevelIndex: number; hasChildren: boolean; childCount?: number}PivotChartCategory
Section titled “PivotChartCategory”interface PivotChartCategory { id: string; label: string; path: PivotPath; labels: string[]; depth: number; kind: PivotChartMemberKind; measure?: PivotChartMeasure; /** Optional row-axis hierarchy metadata used by drill-aware datasets. */ hierarchy?: PivotChartMemberHierarchy}PivotChartSeries
Section titled “PivotChartSeries”interface PivotChartSeries { id: string; label: string; columnPath: PivotPath; labels: string[]; kind: PivotChartMemberKind; prop: ColumnProp; /** Fixed measure for values-on-columns layouts; the category owns it for values-on-rows. */ measure?: PivotChartMeasure; /** Optional column-axis hierarchy metadata used by drill-aware datasets. */ hierarchy?: PivotChartMemberHierarchy}PivotChartDataset
Section titled “PivotChartDataset”interface PivotChartDataset { revision: number; source: 'client' | 'server'; categories: PivotChartCategory[]; series: PivotChartSeries[]; /** Row-major matrix: values[categoryIndex][seriesIndex]. */ values: Array<Array<number | null>>; /** Optional row-major strings for labels and tooltips. */ displayValues?: Array<Array<string | null>>; /** Ordered hierarchy definitions supplied by drill-aware data providers. */ hierarchies?: { row?: PivotChartHierarchyDefinition; column?: PivotChartHierarchyDefinition; }; /** * Canonical long-form analytical frame. The matrix above is a renderer view * retained for efficient Cartesian drawing, while every semantic channel * resolves against stable field IDs in this frame. */ analyticalFrame?: PivotChartAnalyticalFrame}PivotChartSemanticType
Section titled “PivotChartSemanticType”export type PivotChartSemanticType = | 'category' | 'number' | 'date' | 'geographic' | 'identifier';PivotChartFieldDescriptor
Section titled “PivotChartFieldDescriptor”interface PivotChartFieldDescriptor { id: string; label: string; role: 'dimension' | 'measure'; semanticType: PivotChartSemanticType; sourceField?: ColumnProp; aggregator?: string; format?: string}PivotChartDimensionValue
Section titled “PivotChartDimensionValue”interface PivotChartDimensionValue { value: string | number | boolean | null; label: string; path?: PivotPath; labels?: string[]}PivotChartObservation
Section titled “PivotChartObservation”interface PivotChartObservation { id: string; dimensions: Record<string, PivotChartDimensionValue>; measures: Record<string, number | null>; displayMeasures?: Record<string, string | null>}PivotChartDerivedViews
Section titled “PivotChartDerivedViews”interface PivotChartDerivedViews { bins?: PivotChartJsonValue[]; quantiles?: PivotChartJsonValue[]; ranges?: PivotChartJsonValue[]; flowEdges?: PivotChartJsonValue[]; financial?: PivotChartJsonValue[]; geographicFeatures?: PivotChartJsonValue[]}PivotChartAnalyticalFrame
Section titled “PivotChartAnalyticalFrame”interface PivotChartAnalyticalFrame { fields: PivotChartFieldDescriptor[]; observations: PivotChartObservation[]; hierarchies?: PivotChartDataset['hierarchies']; derived?: PivotChartDerivedViews}PivotChartPresentation
Section titled “PivotChartPresentation”interface PivotChartPresentation { title?: string; subtitle?: string; legendPosition?: PivotChartLegendPosition; dataLabels?: boolean; xAxisTitle?: string; yAxisTitle?: string}PivotChartDataOptions
Section titled “PivotChartDataOptions”interface PivotChartDataOptions { chartType?: PivotChartType; seriesIds?: string[]; /** Measure carried by categories when Pivot values are placed on rows. */ categoryMeasure?: PivotChartMeasureSelection; totals?: PivotChartTotalsMode; limits?: Partial<PivotChartLimits>; bindings?: PivotChartBindings}PivotChartDataScope
Section titled “PivotChartDataScope”interface PivotChartDataScope { rowPath: PivotPath; columnPath?: PivotPath}PivotChartDataQueryOptions (Extended from index.ts)
Section titled “PivotChartDataQueryOptions (Extended from index.ts)”interface PivotChartDataQueryOptions { /** Optional committed semantic scope used for an initial or explicit slice. */ scope?: PivotChartDataScope}PivotChartInitialScope
Section titled “PivotChartInitialScope”interface PivotChartInitialScope { /** Parent row member whose immediate children form the initial categories. */ rowPath: PivotPath; /** Display labels aligned one-to-one with `rowPath` for breadcrumbs. */ rowLabels: string[]; /** Parent column member whose immediate children form the initial series. */ columnPath?: PivotPath; /** Display labels aligned one-to-one with `columnPath` for breadcrumbs. */ columnLabels?: string[]}PivotChartCreateParams (Extended from index.ts)
Section titled “PivotChartCreateParams (Extended from index.ts)”interface PivotChartCreateParams { container: HTMLElement; linked?: boolean; /** Creation-only semantic scope, persisted as the chart's drill state. */ initialScope?: PivotChartInitialScope; presentation?: PivotChartPresentation; theme?: PivotChartTheme; chartOptions?: PivotChartOptions; /** Controls whether drill navigation is local, Pivot-owned, synchronized, or application-owned. */ drillSyncMode?: PivotChartDrillSyncMode}PivotChartUpdatePatch (Extended from index.ts)
Section titled “PivotChartUpdatePatch (Extended from index.ts)”interface PivotChartUpdatePatch { linked?: boolean; presentation?: Partial<PivotChartPresentation>; theme?: PivotChartTheme; chartOptions?: PivotChartOptions; drillSyncMode?: PivotChartDrillSyncMode}PivotChartJsonValue
Section titled “PivotChartJsonValue”export type PivotChartJsonValue = | null | boolean | number | string | PivotChartJsonValue[] | { [key: string]: PivotChartJsonValue };PivotChartBindingChannel
Section titled “PivotChartBindingChannel”export type PivotChartBindingChannel = | 'category' | 'geographic' | 'series' | 'value' | 'x' | 'y' | 'size' | 'color' | 'shape' | 'angle' | 'radius' | 'hierarchy' | 'parent' | 'child' | 'weight' | 'source' | 'target' | 'start' | 'end' | 'low' | 'high' | 'open' | 'close' | 'volume' | 'actual' | 'target' | 'variance' | 'facetRow' | 'facetColumn' | 'label' | 'tooltip';PivotChartBindings
Section titled “PivotChartBindings”Stable analytical field IDs assigned to semantic renderer channels. Empty and omitted channels are equivalent.
/** * Stable analytical field IDs assigned to semantic renderer channels. * Empty and omitted channels are equivalent. */export type PivotChartBindings = Partial< Record<PivotChartBindingChannel, string[]>>;PivotChartOptions
Section titled “PivotChartOptions”export type PivotChartOptions = Record<string, PivotChartJsonValue>;PivotChartDrillAxisState
Section titled “PivotChartDrillAxisState”interface PivotChartDrillAxisState { path: PivotPath; /** Selected hierarchy level, or `-1` at the hierarchy root. */ levelIndex: number}PivotChartDrillScope
Section titled “PivotChartDrillScope”interface PivotChartDrillScope { row: PivotChartDrillAxisState; column: PivotChartDrillAxisState}PivotChartDrillFrame (Extended from index.ts)
Section titled “PivotChartDrillFrame (Extended from index.ts)”interface PivotChartDrillFrame { rowLabels: string[]; columnLabels: string[]}PivotChartDrillState
Section titled “PivotChartDrillState”interface PivotChartDrillState { active: PivotChartDrillScope; /** Ordered root-to-current breadcrumb frames. */ frames: PivotChartDrillFrame[]; /** Dataset revision that produced the active frame; null until rebound. */ revision: number | null}PivotChartModel
Section titled “PivotChartModel”interface PivotChartModel { version: typeof PIVOT_CHART_MODEL_VERSION; chartId: string; chartType: PivotChartType; linked: boolean; totals: PivotChartTotalsMode; seriesIds?: string[]; categoryMeasure?: PivotChartMeasureSelection; presentation: PivotChartPresentation; theme: PivotChartTheme; /** Captured only for an unlinked chart. */ dataset?: PivotChartDataset; bindings: PivotChartBindings; chartOptions: PivotChartOptions; drill: PivotChartDrillState; drillSyncMode: PivotChartDrillSyncMode}PivotChartRestoreOptions
Section titled “PivotChartRestoreOptions”interface PivotChartRestoreOptions { container: HTMLElement; chartId?: string}PivotChartDownloadFormat
Section titled “PivotChartDownloadFormat”export type PivotChartDownloadFormat = 'png' | 'pdf';PivotChartDownloadOptions
Section titled “PivotChartDownloadOptions”interface PivotChartDownloadOptions { fileName?: string; width?: number; height?: number; fileFormat?: PivotChartDownloadFormat}PivotChartImageOptions
Section titled “PivotChartImageOptions”interface PivotChartImageOptions { width?: number; height?: number; fileFormat?: 'png'}PivotChartNodeClick
Section titled “PivotChartNodeClick”interface PivotChartNodeClick { category: PivotChartCategory; series: PivotChartSeries; value: number | null; /** Bound relationship-channel values for scatter/bubble points. */ channelValues?: Partial<Record<'x' | 'y' | 'size', number>>; /** Series descriptors that own relationship-channel values. */ channelSeries?: Partial<Record<'x' | 'y' | 'size', PivotChartSeries>>; originalEvent?: Event}PivotChartTooltipChannel
Section titled “PivotChartTooltipChannel”export type PivotChartTooltipChannel = 'x' | 'y' | 'size';PivotChartTooltipContext
Section titled “PivotChartTooltipContext”interface PivotChartTooltipContext { chartId: string; chartType: PivotChartType; category: PivotChartCategory; series: PivotChartSeries; value: number | null; displayValue: string; color: string; drillable: boolean; channelValues?: Partial<Record<PivotChartTooltipChannel, number>>; channelSeries?: Partial< Record<PivotChartTooltipChannel, PivotChartSeries> >; channelDisplayValues?: Partial< Record<PivotChartTooltipChannel, string> >}PivotChartTooltipRow
Section titled “PivotChartTooltipRow”interface PivotChartTooltipRow { label: string; value: string; color?: string}PivotChartTooltipContent
Section titled “PivotChartTooltipContent”interface PivotChartTooltipContent { title?: string; rows?: readonly PivotChartTooltipRow[]; footer?: string; ariaLabel?: string}PivotChartTooltipResult
Section titled “PivotChartTooltipResult”export type PivotChartTooltipResult = | PivotChartTooltipContent | string | HTMLElement | null | undefined;PivotChartTooltipFormatter
Section titled “PivotChartTooltipFormatter”export type PivotChartTooltipFormatter = ( context: PivotChartTooltipContext, defaultContent: PivotChartTooltipContent,) => PivotChartTooltipResult;PivotChartRenderInput
Section titled “PivotChartRenderInput”interface PivotChartRenderInput { chartId: string; container: HTMLElement; chartType: PivotChartType; dataset: PivotChartDataset; bindings: PivotChartBindings; presentation: PivotChartPresentation; /** Validated chart-specific overrides; omitted keys use catalog defaults. */ chartOptions?: PivotChartOptions; theme: PivotChartTheme; localeText: PivotChartsLocaleText; /** Preview mode renders decorative, non-interactive compact chart marks. */ renderMode?: 'chart' | 'preview'; onNodeClick: (detail: PivotChartNodeClick) => void}PivotChartRendererCapabilities
Section titled “PivotChartRendererCapabilities”interface PivotChartRendererCapabilities { supportedTypes: readonly PivotChartType[]; download?: boolean; downloadFormats?: readonly PivotChartDownloadFormat[]; imageDataUrl?: boolean}PivotChartRenderer
Section titled “PivotChartRenderer”interface PivotChartRenderer { readonly capabilities: PivotChartRendererCapabilities; create( input: PivotChartRenderInput, ): PivotChartRendererInstance | Promise<PivotChartRendererInstance>}PivotChartRendererInstance
Section titled “PivotChartRendererInstance”interface PivotChartRendererInstance { update(input: PivotChartRenderInput): void | Promise<void>; destroy(): void; focus?(): void; download?(options?: PivotChartDownloadOptions): Promise<void>; getImageDataURL?(options?: PivotChartImageOptions): Promise<string>}PivotChartDataRequest
Section titled “PivotChartDataRequest”interface PivotChartDataRequest { requestId: string; viewId: string; fieldsVersion: string; loadOptions: PivotLoadOptions; uiState?: PivotUiStateHints; axisState: { rowExpandedPaths?: PivotPath[]; columnExpandedPaths?: PivotPath[]; }; chart: { seriesIds?: string[]; categoryMeasure?: PivotChartMeasureSelection; totals: PivotChartTotalsMode; limits: PivotChartLimits; bindings: PivotChartBindings; scope: PivotChartSemanticScope; }}PivotChartSemanticScope
Section titled “PivotChartSemanticScope”interface PivotChartSemanticScope { /** Committed Pivot revision the provider must echo in its response. */ revision: number; /** Active parent row member. The response contains its immediate children. */ rowPath: PivotPath; /** Active parent column member. Reserved for column-axis drill navigation. */ columnPath: PivotPath; /** Absolute immediate-child row depth requested for this frame. */ rowDepth: number; /** Absolute immediate-child column depth requested for this frame. */ columnDepth: number}PivotChartDataResponse
Section titled “PivotChartDataResponse”interface PivotChartDataResponse { requestId: string; scope: PivotChartSemanticScope; categories: PivotChartCategory[]; series: PivotChartSeries[]; values: Array<Array<number | null>>; displayValues?: Array<Array<string | null>>; hierarchies: { row?: PivotChartHierarchyDefinition; column?: PivotChartHierarchyDefinition; }; totalCategoryCount: number; totalSeriesCount: number}PivotChartDataProvider
Section titled “PivotChartDataProvider”interface PivotChartDataProvider { load( request: PivotChartDataRequest, context: { signal: AbortSignal }, ): Promise<PivotChartDataResponse>}PivotChartsConfig
Section titled “PivotChartsConfig”interface PivotChartsConfig { renderer?: PivotChartRenderer; dataProvider?: PivotChartDataProvider; defaultChartType?: PivotChartType; defaultTotals?: PivotChartTotalsMode; limits?: Partial<PivotChartLimits>; localeText?: PivotChartsLocaleTextOptions; defaultDrillSyncMode?: PivotChartDrillSyncMode; /** * Optional application adapter for Pivot synchronization. When omitted, * the active Pivot plugin applies the semantic frontier directly. */ synchronizeDrill?: ( detail: PivotChartDrillSyncEventDetail, context: { signal: AbortSignal }, ) => void | Promise<void>}PivotChartsUiConfig
Section titled “PivotChartsUiConfig”interface PivotChartsUiConfig { contextMenu?: boolean; dialogParent?: HTMLElement}PivotChartRef
Section titled “PivotChartRef”interface PivotChartRef { readonly id: string; readonly container: HTMLElement; readonly model: PivotChartModel; update(patch: PivotChartUpdatePatch): Promise<void>; canDrillDown(target: PivotChartDrillTarget | PivotChartCategory): boolean; drillDown(target: PivotChartDrillTarget | PivotChartCategory): Promise<void>; drillUp(): Promise<void>; drillTo(frameIndex: number): Promise<void>; resetDrill(): Promise<void>; retryDrill(): Promise<void>; getDrillState(): PivotChartDrillState; focus(): void; destroy(): void}PivotChartDrillTarget
Section titled “PivotChartDrillTarget”export type PivotChartDrillTarget = | { axis: 'row'; category: PivotChartCategory } | { axis: 'column'; series: PivotChartSeries } | { axis: 'both'; category: PivotChartCategory; series: PivotChartSeries; };PivotChartDrillAction
Section titled “PivotChartDrillAction”export type PivotChartDrillAction = 'down' | 'up' | 'to' | 'reset' | 'retry';PivotChartDrillEventDetail
Section titled “PivotChartDrillEventDetail”interface PivotChartDrillEventDetail { chartId: string; action: PivotChartDrillAction; from: PivotChartDrillState; to: PivotChartDrillState}PivotChartDrilledEventDetail (Extended from index.ts)
Section titled “PivotChartDrilledEventDetail (Extended from index.ts)”interface PivotChartDrilledEventDetail { model: PivotChartModel; dataset: PivotChartDataset}PivotChartDrillErrorEventDetail (Extended from index.ts)
Section titled “PivotChartDrillErrorEventDetail (Extended from index.ts)”interface PivotChartDrillErrorEventDetail { error: Error}PivotChartDrillSyncEventDetail (Extended from index.ts)
Section titled “PivotChartDrillSyncEventDetail (Extended from index.ts)”interface PivotChartDrillSyncEventDetail { mode: Exclude<PivotChartDrillSyncMode, 'chart'>}PivotChartCreatedEventDetail
Section titled “PivotChartCreatedEventDetail”interface PivotChartCreatedEventDetail { chartId: string; ref: PivotChartRef}PivotChartUpdatedEventDetail
Section titled “PivotChartUpdatedEventDetail”interface PivotChartUpdatedEventDetail { chartId: string; reason: PivotChartUpdateReason; model: PivotChartModel}PivotChartDestroyedEventDetail
Section titled “PivotChartDestroyedEventDetail”interface PivotChartDestroyedEventDetail { chartId: string}PivotChartNodeClickEventDetail (Extended from index.ts)
Section titled “PivotChartNodeClickEventDetail (Extended from index.ts)”interface PivotChartNodeClickEventDetail { chartId: string; categoryPath: PivotPath; columnPath: PivotPath; measure?: ColumnProp; aggregator?: string}PivotChartErrorEventDetail
Section titled “PivotChartErrorEventDetail”interface PivotChartErrorEventDetail { chartId?: string; error: Error}PivotChartProjectorContext
Section titled “PivotChartProjectorContext”interface PivotChartProjectorContext { /** Visible logical body rows after grouping, filtering, and sorting. */ visibleRows: DataType[]; /** Grid column types used to preserve measure display formatting. */ columnTypes?: ColumnTypes; localeText?: PivotChartsLocaleText}isPivotChartType
Section titled “isPivotChartType”export function isPivotChartType(value: unknown): value is PivotChartType;resolvePivotChartLimits
Section titled “resolvePivotChartLimits”export function resolvePivotChartLimits( limits?: Partial<PivotChartLimits>,): PivotChartLimits;assertPivotChartLimits
Section titled “assertPivotChartLimits”export function assertPivotChartLimits( dataset: Pick<PivotChartDataset, 'categories' | 'series'>, limits: PivotChartLimits,);selectPivotChartSeries
Section titled “selectPivotChartSeries”export function selectPivotChartSeries( series: PivotChartSeries[], seriesIds?: readonly string[],);assertPivotChartTypeShape
Section titled “assertPivotChartTypeShape”export function assertPivotChartTypeShape( chartType: PivotChartType, dataset: PivotChartDataset, localeText?: PivotChartsLocaleText, bindings: PivotChartBindings =;assertRelationshipChartBindings
Section titled “assertRelationshipChartBindings”export function assertRelationshipChartBindings( chartType: PivotChartType, dataset: PivotChartDataset, bindings: PivotChartBindings, localeText?: PivotChartsLocaleText,);validatePivotChartDataResponse
Section titled “validatePivotChartDataResponse”export function validatePivotChartDataResponse( response: PivotChartDataResponse, request: PivotChartDataRequest, limits: PivotChartLimits,): PivotChartDataset;assertPivotChartDataset
Section titled “assertPivotChartDataset”export function assertPivotChartDataset(dataset: PivotChartDataset);validatePivotChartModel
Section titled “validatePivotChartModel”export function validatePivotChartModel(model: unknown): PivotChartModel;createPivotChartGeographicCapabilityPack
Section titled “createPivotChartGeographicCapabilityPack”Creates an opt-in geographic capability. Merely importing Pivot Charts does not install geographic types or load projection/map data.
export function createPivotChartGeographicCapabilityPack( provider: PivotChartGeographicProvider,): PivotChartGeographicCapabilityPack;getAvailablePivotChartGeographicTypes
Section titled “getAvailablePivotChartGeographicTypes”export function getAvailablePivotChartGeographicTypes( pack?: PivotChartGeographicCapabilityPack,): readonly PivotChartGeographicType[];getPivotChartGeographicDefinitions
Section titled “getPivotChartGeographicDefinitions”Catalog-extension hook used by gallery hosts. The base catalog remains unchanged; a host receives no geographic entries until a pack is installed.
export function getPivotChartGeographicDefinitions( pack?: PivotChartGeographicCapabilityPack,): readonly PivotChartGeographicDefinition[];isPivotChartGeographicType
Section titled “isPivotChartGeographicType”export function isPivotChartGeographicType( value: unknown,): value is PivotChartGeographicType;assertGeographicRequest
Section titled “assertGeographicRequest”export function assertGeographicRequest( request: PivotChartGeographicRequest,): void;assertGeographicData
Section titled “assertGeographicData”export function assertGeographicData( data: PivotChartGeographicData, request: Pick<PivotChartGeographicRequest, 'chartType' | 'dataset'>,): void;PIVOT_CHART_GEOGRAPHIC_DEFINITIONS
Section titled “PIVOT_CHART_GEOGRAPHIC_DEFINITIONS”PIVOT_CHART_GEOGRAPHIC_DEFINITIONS: readonly PivotChartGeographicDefinition[];PivotChartGeographicDataError
Section titled “PivotChartGeographicDataError”class PivotChartGeographicDataError {}PivotChartGeographicType
Section titled “PivotChartGeographicType”Geographic charts are intentionally not part of the base chart catalog. Import and install a geographic capability pack to make these types available.
/** * Geographic charts are intentionally not part of the base chart catalog. * Import and install a geographic capability pack to make these types * available. */export type PivotChartGeographicType = | 'choropleth' | 'proportionalSymbolMap' | 'geographicHeatmap';PivotChartGeographicPosition
Section titled “PivotChartGeographicPosition”export type PivotChartGeographicPosition = readonly [ longitude: number, latitude: number,];PivotChartGeographicViewport
Section titled “PivotChartGeographicViewport”interface PivotChartGeographicViewport { width: number; height: number; pixelRatio?: number}PivotChartGeographicRequest
Section titled “PivotChartGeographicRequest”interface PivotChartGeographicRequest { chartId: string; chartType: PivotChartGeographicType; dataset: PivotChartDataset; bindings: PivotChartBindings; theme: PivotChartTheme; viewport: PivotChartGeographicViewport}PivotChartGeographicRegion
Section titled “PivotChartGeographicRegion”interface PivotChartGeographicRegion { id: string; label: string; /** * Provider-projected SVG path. Projection and map assets remain owned by the * provider, keeping them out of the Enterprise bundle. */ path: string; categoryId: string; seriesId: string; value: number | null; properties?: Record<string, PivotChartJsonValue>}PivotChartGeographicSymbol
Section titled “PivotChartGeographicSymbol”interface PivotChartGeographicSymbol { id: string; label: string; position: PivotChartGeographicPosition; /** Provider-projected viewport coordinate used by the optional renderer. */ projectedPosition: readonly [x: number, y: number]; categoryId: string; seriesId: string; value: number | null; size: number | null; properties?: Record<string, PivotChartJsonValue>}PivotChartGeographicHeatPoint
Section titled “PivotChartGeographicHeatPoint”interface PivotChartGeographicHeatPoint { id: string; position: PivotChartGeographicPosition; /** Provider-projected viewport coordinate used by the optional renderer. */ projectedPosition: readonly [x: number, y: number]; categoryId?: string; seriesId?: string; value: number; radius?: number; properties?: Record<string, PivotChartJsonValue>}PivotChartChoroplethData (Extended from index.ts)
Section titled “PivotChartChoroplethData (Extended from index.ts)”interface PivotChartChoroplethData { chartType: 'choropleth'; regions: PivotChartGeographicRegion[]}PivotChartProportionalSymbolData (Extended from index.ts)
Section titled “PivotChartProportionalSymbolData (Extended from index.ts)”interface PivotChartProportionalSymbolData { chartType: 'proportionalSymbolMap'; symbols: PivotChartGeographicSymbol[]}PivotChartGeographicHeatmapData (Extended from index.ts)
Section titled “PivotChartGeographicHeatmapData (Extended from index.ts)”interface PivotChartGeographicHeatmapData { chartType: 'geographicHeatmap'; points: PivotChartGeographicHeatPoint[]}PivotChartGeographicData
Section titled “PivotChartGeographicData”export type PivotChartGeographicData = | PivotChartChoroplethData | PivotChartProportionalSymbolData | PivotChartGeographicHeatmapData;PivotChartGeographicProvider
Section titled “PivotChartGeographicProvider”interface PivotChartGeographicProvider { readonly id: string; readonly supportedTypes: readonly PivotChartGeographicType[]; /** * Loads map data and applies the provider-owned projection. The operation * must observe the supplied signal and avoid mutating the request. */ load( request: Readonly<PivotChartGeographicRequest>, context: { signal: AbortSignal }, ): Promise<PivotChartGeographicData>}PivotChartGeographicDefinition
Section titled “PivotChartGeographicDefinition”interface PivotChartGeographicDefinition { type: PivotChartGeographicType; family: 'geographic'; localization: { labelKey: PivotChartGeographicType; descriptionKey: PivotChartGeographicType; }; channels: readonly { channel: 'geographic' | 'value' | 'size'; min: number; max?: number; }[]; documentationSlug: string}PivotChartGeographicCapabilityPack
Section titled “PivotChartGeographicCapabilityPack”interface PivotChartGeographicCapabilityPack { readonly id: string; readonly provider: PivotChartGeographicProvider; readonly definitions: readonly PivotChartGeographicDefinition[]; readonly supportedTypes: readonly PivotChartGeographicType[]; load( request: PivotChartGeographicRequest, context: { signal: AbortSignal }, ): Promise<PivotChartGeographicData>; /** * Starts an asset-free SVG render lifecycle backed by this pack's provider. * Provider loads are cancelled when superseded or destroyed. */ render( input: PivotChartGeographicRenderInput, ): PivotChartGeographicRendererInstance}PivotChartGeographicLocaleText
Section titled “PivotChartGeographicLocaleText”interface PivotChartGeographicLocaleText { chartAriaLabel(type: PivotChartGeographicType): string; loading: string; loadError(error: Error): string; regionAriaLabel(label: string, value: string): string; symbolAriaLabel(label: string, value: string, size: string): string; heatPointAriaLabel(value: string): string; formatValue(value: number | null): string}PivotChartGeographicDatum
Section titled “PivotChartGeographicDatum”export type PivotChartGeographicDatum = | PivotChartGeographicRegion | PivotChartGeographicSymbol | PivotChartGeographicHeatPoint;PivotChartGeographicRenderInput
Section titled “PivotChartGeographicRenderInput”interface PivotChartGeographicRenderInput { container: HTMLElement; request: PivotChartGeographicRequest; localeText: PivotChartGeographicLocaleText; onNodeClick?: ( detail: { chartType: PivotChartGeographicType; datum: PivotChartGeographicDatum; originalEvent: Event; }, ) => void; onError?: (error: Error) => void}PivotChartGeographicRendererInstance
Section titled “PivotChartGeographicRendererInstance”interface PivotChartGeographicRendererInstance { readonly ready: Promise<void>; update(input: PivotChartGeographicRenderInput): Promise<void>; focus(): void; destroy(): void}PivotChartsPlugin
Section titled “PivotChartsPlugin”Dependencies
Section titled “Dependencies”- Required
PivotPlugin: Consumes committed Pivot runtime snapshots and semantic result metadata. - Event integration
PIVOT_MODEL_CHANGED_EVENT,afterfilterapply,aftersortingapply,groupexpandclick,aftersourceset,afterthemechanged: Keeps linked charts synchronized with the logical Pivot view. - Config integration
grid.pivotCharts: Reads the renderer, complete-data provider, defaults, and safety limits.
class PivotChartsPlugin { async getChartData( options: PivotChartDataQueryOptions =;
async createChart(params: PivotChartCreateParams): Promise<PivotChartRef>;
async updateChart( chartId: string, patch: PivotChartUpdatePatch, ): Promise<void>;
/** * Retries the current chart data/render operation without changing options. * UI integrations use this after a transient provider or renderer failure. */ async refreshChart(chartId: string): Promise<void>;
canDrillDown( chartId: string, input: PivotChartDrillTarget | PivotChartCategory, ): boolean;
async drillDownChart( chartId: string, input: PivotChartDrillTarget | PivotChartCategory, ): Promise<void>;
async drillUpChart(chartId: string): Promise<void>;
async drillToChart(chartId: string, frameIndex: number): Promise<void>;
async resetChartDrill(chartId: string): Promise<void>;
async retryChartDrill(chartId: string): Promise<void>;
destroyChart(chartId: string);
destroyAllCharts();
getChartModels(): PivotChartModel[];
async restoreChart( model: PivotChartModel, options: PivotChartRestoreOptions, ): Promise<PivotChartRef>;
async downloadChart( chartId: string, options?: PivotChartDownloadOptions, );
async getChartImageDataURL( chartId: string, options?: PivotChartImageOptions, );}createPivotChartsLocaleText
Section titled “createPivotChartsLocaleText”export function createPivotChartsLocaleText( localeText?: PivotChartsLocaleTextOptions,): PivotChartsLocaleText;PivotChartDatumLocaleContext
Section titled “PivotChartDatumLocaleContext”interface PivotChartDatumLocaleContext { category: PivotChartCategory; series: PivotChartSeries; value: number | null; displayValue: string}PivotChartRelationshipDatumLocaleContext
Section titled “PivotChartRelationshipDatumLocaleContext”interface PivotChartRelationshipDatumLocaleContext { category: PivotChartCategory; x: { series: PivotChartSeries; value: number; displayValue: string }; y: { series: PivotChartSeries; value: number; displayValue: string }; size?: { series: PivotChartSeries; value: number; displayValue: string }}PivotChartsLocaleText
Section titled “PivotChartsLocaleText”interface PivotChartsLocaleText { dialog: { kicker: string; untitledChart: string; chartAriaLabel: (title: string | undefined) => string; settingsAriaLabel: string; }; actions: { exportChart: string; downloadPng: string; downloadPdf: string; close: string; closeButtonText: string; retry: string; viewData: string; viewChart: string; }; status: { loading: string; empty: string; formatError: (error: Error) => string; }; drill: { toolbarAriaLabel: string; breadcrumbAriaLabel: string; root: string; currentLevel: (label: string) => string; loading: (label: string) => string; loaded: (label: string) => string; retry: string; formatError: (error: Error) => string; drillableDatum: (context: PivotChartDatumLocaleContext) => string; relationshipDrillableDatum: (context: PivotChartRelationshipDatumLocaleContext) => string; }; controls: { chartType: string; valueSeries: string; xMeasure: string; yMeasure: string; sizeMeasure: string; title: string; subtitle: string; legend: string; dataLabels: string; xAxisTitle: string; yAxisTitle: string; totals: string; drillSyncMode: string; theme: string; keepLinked: string; }; chartOptions: { heading: string; description: string; resetAll: string; resetOption: (label: string) => string; valueLabel: (label: string, value: number) => string; labels: Record<PivotChartOptionKey, string>; descriptions: Record<PivotChartOptionKey, string>; }; gallery: { tabs: { chart: string; data: string; customize: string; }; searchPlaceholder: string; searchAriaLabel: string; recommended: string; families: Record<PivotChartFamily, string>; noResults: string; compatibilityReason: (reason: PivotChartCompatibilityReason) => string; }; chartTypes: Record<PivotChartType, string>; chartDescriptions: Record<PivotChartType, string>; legendPositions: { automatic: string; top: string; right: string; bottom: string; left: string; none: string; }; totals: Record<PivotChartTotalsMode, string>; drillSyncModes: Record<PivotChartDrillSyncMode, string>; themes: { auto: string; default: string; material: string; compact: string; darkMaterial: string; darkCompact: string; custom: (theme: string) => string; }; contextMenu: { createChart: string; pluginRequired: string; rendererRequired: string; serverProviderRequired: string; }; uiErrors: { destroyed: string; containerMissing: string; creationClosed: string; pluginRequired: string; }; data: { total: string; hierarchySeparator: string; }; dataTable: { regionAriaLabel: string; tableCaption: string; categoryHeader: string; emptyValue: string; sortAscending: (columnLabel: string) => string; sortDescending: (columnLabel: string) => string; sortedAscending: (columnLabel: string) => string; sortedDescending: (columnLabel: string) => string; }; renderer: { chartAriaLabel: (title: string | undefined) => string; legendAriaLabel: string; legendItemAriaLabel: (series: PivotChartSeries) => string; legendCategoryItemAriaLabel: (category: PivotChartCategory) => string; legendOverflow: (hiddenCount: number) => string; datumAriaLabel: (context: PivotChartDatumLocaleContext) => string; datumTitle: (context: PivotChartDatumLocaleContext) => string; relationshipDatumAriaLabel: (context: PivotChartRelationshipDatumLocaleContext) => string; relationshipDatumTitle: (context: PivotChartRelationshipDatumLocaleContext) => string; tooltipDrillHint: string; missingValue: string; formatNumber: (value: number) => string; formatPercent: (value: number) => string; downloadFileName: string; pngUnavailable: string; pdfUnavailable: string; pdfEncodeError: string; rasterizeError: string; canvasRequired: string; destroyedRenderer: string; unsupportedChartType: (chartType: string) => string; valueSeriesRequired: (chartType: string) => string; singleSeriesRequired: (chartType: string) => string; rowHierarchyRequired: string; dateCategoriesRequired: string; distributionViewRequired: string; nonNegativeValuesRequired: string; relationshipBindingsRequired: (chartType: string) => string; relationshipDataRequired: (chartType: string) => string; nonNegativeSizeRequired: string; minimumSeriesRequired: (chartType: string, minimum: number) => string; maximumSeriesRequired: (chartType: string, maximum: number) => string; }}PivotChartsLocaleTextOptions
Section titled “PivotChartsLocaleTextOptions”interface PivotChartsLocaleTextOptions { dialog?: Partial<PivotChartsLocaleText['dialog']>; actions?: Partial<PivotChartsLocaleText['actions']>; status?: Partial<PivotChartsLocaleText['status']>; drill?: Partial<PivotChartsLocaleText['drill']>; controls?: Partial<PivotChartsLocaleText['controls']>; chartOptions?: { heading?: string; description?: string; resetAll?: string; resetOption?: PivotChartsLocaleText['chartOptions']['resetOption']; valueLabel?: PivotChartsLocaleText['chartOptions']['valueLabel']; labels?: Partial<PivotChartsLocaleText['chartOptions']['labels']>; descriptions?: Partial< PivotChartsLocaleText['chartOptions']['descriptions'] >; }; gallery?: { tabs?: Partial<PivotChartsLocaleText['gallery']['tabs']>; searchPlaceholder?: string; searchAriaLabel?: string; recommended?: string; families?: Partial<PivotChartsLocaleText['gallery']['families']>; noResults?: string; compatibilityReason?: PivotChartsLocaleText['gallery']['compatibilityReason']; }; chartTypes?: Partial<PivotChartsLocaleText['chartTypes']>; chartDescriptions?: Partial<PivotChartsLocaleText['chartDescriptions']>; legendPositions?: Partial<PivotChartsLocaleText['legendPositions']>; totals?: Partial<PivotChartsLocaleText['totals']>; drillSyncModes?: Partial<PivotChartsLocaleText['drillSyncModes']>; themes?: Partial<PivotChartsLocaleText['themes']>; contextMenu?: Partial<PivotChartsLocaleText['contextMenu']>; uiErrors?: Partial<PivotChartsLocaleText['uiErrors']>; data?: Partial<PivotChartsLocaleText['data']>; dataTable?: Partial<PivotChartsLocaleText['dataTable']>; renderer?: Partial<PivotChartsLocaleText['renderer']>}DEFAULT_PIVOT_CHARTS_LOCALE_TEXT
Section titled “DEFAULT_PIVOT_CHARTS_LOCALE_TEXT”DEFAULT_PIVOT_CHARTS_LOCALE_TEXT: { dialog: { kicker: string; untitledChart: string; chartAriaLabel: (title: string | undefined) => string; settingsAriaLabel: string; }; actions: { exportChart: string; downloadPng: string; downloadPdf: string; close: string; closeButtonText: string; retry: string; viewData: string; viewChart: string; }; status: { loading: string; empty: string; formatError: (error: Error) => string; }; drill: { toolbarAriaLabel: string; breadcrumbAriaLabel: string; root: string; currentLevel: (label: string) => string; loading: (label: string) => string; loaded: (label: string) => string; retry: string; formatError: (error: Error) => string; drillableDatum: ({ category, series, displayValue }: PivotChartDatumLocaleContext) => string; relationshipDrillableDatum: ({ category, x, y, size }: PivotChartRelationshipDatumLocaleContext) => string; }; controls: { chartType: string; valueSeries: string; xMeasure: string; yMeasure: string; sizeMeasure: string; title: string; subtitle: string; legend: string; dataLabels: string; xAxisTitle: string; yAxisTitle: string; totals: string; drillSyncMode: string; theme: string; keepLinked: string; }; chartOptions: { heading: string; description: string; resetAll: string; resetOption: (label: string) => string; valueLabel: (label: string, value: number) => string; labels: { showGridLines: string; markOpacity: string; strokeWidth: string; fillOpacity: string; }; descriptions: { showGridLines: string; markOpacity: string; strokeWidth: string; fillOpacity: string; }; }; gallery: { tabs: { chart: string; data: string; customize: string; }; searchPlaceholder: string; searchAriaLabel: string; recommended: string; families: { column: string; bar: string; line: string; area: string; partToWhole: string; relationship: string; hierarchical: string; combination: string; statistical: string; specialized: string; kpi: string; polar: string; distribution: string; matrix: string; process: string; flow: string; financial: string; }; noResults: string; compatibilityReason: (reason: PivotChartCompatibilityReason) => string; }; chartTypes: { groupedColumn: string; stackedColumn: string; normalizedColumn: string; groupedBar: string; stackedBar: string; normalizedBar: string; line: string; smoothLine: string; steppedLine: string; area: string; steppedArea: string; stackedArea: string; normalizedArea: string; pie: string; donut: string; treemap: string; sunburst: string; scatter: string; bubble: string; columnLine: string; areaLine: string; rangeColumn: string; rangeBar: string; rangeArea: string; confidenceBand: string; errorInterval: string; waterfall: string; lollipop: string; bullet: string; semiDonut: string; rose: string; radarLine: string; radarArea: string; polarColumn: string; stackedPolarColumn: string; normalizedPolarColumn: string; radialBar: string; multiRingRadialBar: string; histogram: string; stripDot: string; heatmap: string; calendarHeatmap: string; densityScatter: string; icicle: string; circlePacking: string; funnel: string; pyramid: string; boxPlot: string; violin: string; rangeInterval: string; sankey: string; chord: string; candlestick: string; ohlc: string; volumePrice: string; gauge: string; kpi: string; progressGauge: string; connectedScatter: string; waffle: string; smallMultiples: string; annotatedTimeSeries: string; timelineRange: string; }; chartDescriptions: { groupedColumn: string; stackedColumn: string; normalizedColumn: string; groupedBar: string; stackedBar: string; normalizedBar: string; line: string; smoothLine: string; steppedLine: string; area: string; steppedArea: string; stackedArea: string; normalizedArea: string; pie: string; donut: string; treemap: string; sunburst: string; scatter: string; bubble: string; columnLine: string; areaLine: string; rangeColumn: string; rangeBar: string; rangeArea: string; confidenceBand: string; errorInterval: string; waterfall: string; lollipop: string; bullet: string; semiDonut: string; rose: string; radarLine: string; radarArea: string; polarColumn: string; stackedPolarColumn: string; normalizedPolarColumn: string; radialBar: string; multiRingRadialBar: string; histogram: string; stripDot: string; heatmap: string; calendarHeatmap: string; densityScatter: string; icicle: string; circlePacking: string; funnel: string; pyramid: string; boxPlot: string; violin: string; rangeInterval: string; sankey: string; chord: string; candlestick: string; ohlc: string; volumePrice: string; gauge: string; kpi: string; progressGauge: string; connectedScatter: string; waffle: string; smallMultiples: string; annotatedTimeSeries: string; timelineRange: string; }; legendPositions: { automatic: string; top: string; right: string; bottom: string; left: string; none: string; }; totals: { none: string; grand: string; subtotals: string; all: string; }; drillSyncModes: { chart: string; pivot: string; both: string; event: string; }; themes: { auto: string; default: string; material: string; compact: string; darkMaterial: string; darkCompact: string; custom: (theme: string) => string; }; contextMenu: { createChart: string; pluginRequired: string; rendererRequired: string; serverProviderRequired: string; }; uiErrors: { destroyed: string; containerMissing: string; creationClosed: string; pluginRequired: string; }; data: { total: string; hierarchySeparator: string; }; dataTable: { regionAriaLabel: string; tableCaption: string; categoryHeader: string; emptyValue: string; sortAscending: (columnLabel: string) => string; sortDescending: (columnLabel: string) => string; sortedAscending: (columnLabel: string) => string; sortedDescending: (columnLabel: string) => string; }; renderer: { chartAriaLabel: (title: string | undefined) => string; legendAriaLabel: string; legendItemAriaLabel: (series: PivotChartSeries) => string; legendCategoryItemAriaLabel: (category: PivotChartCategory) => string; legendOverflow: (hiddenCount: number) => string; datumAriaLabel: ({ category, series, displayValue }: PivotChartDatumLocaleContext) => string; datumTitle: ({ category, series, displayValue }: PivotChartDatumLocaleContext) => string; relationshipDatumAriaLabel: ({ category, x, y, size }: PivotChartRelationshipDatumLocaleContext) => string; relationshipDatumTitle: ({ category, x, y, size }: PivotChartRelationshipDatumLocaleContext) => string; tooltipDrillHint: string; missingValue: string; formatNumber: (value: number) => string; formatPercent: (value: number) => string; downloadFileName: string; pngUnavailable: string; pdfUnavailable: string; pdfEncodeError: string; rasterizeError: string; canvasRequired: string; destroyedRenderer: string; unsupportedChartType: (chartType: string) => string; valueSeriesRequired: (chartType: string) => string; singleSeriesRequired: (chartType: string) => string; rowHierarchyRequired: string; dateCategoriesRequired: string; distributionViewRequired: string; nonNegativeValuesRequired: string; relationshipBindingsRequired: (chartType: string) => string; relationshipDataRequired: (chartType: string) => string; nonNegativeSizeRequired: string; minimumSeriesRequired: (chartType: string, minimum: number) => string; maximumSeriesRequired: (chartType: string, maximum: number) => string; };};createPivotChartsRenderer
Section titled “createPivotChartsRenderer”Creates the built-in RevoGrid Pivot Charts SVG renderer.
export function createPivotChartsRenderer( options: PivotChartsRendererOptions =;PivotChartsRendererOptions
Section titled “PivotChartsRendererOptions”interface PivotChartsRendererOptions { palette?: readonly string[]; categorySeparator?: string; fontFamily?: string; imageEncoder?: ( svg: SVGSVGElement, options: Required<Pick<PivotChartImageOptions, 'width' | 'height'>>, ) => Promise<string>; pdfEncoder?: ( svg: SVGSVGElement, options: Required<Pick<PivotChartDownloadOptions, 'width' | 'height'>>, ) => Promise<string>; /** Disable tooltips or customize the built-in semantic tooltip renderer. */ tooltip?: false | PivotChartTooltipOptions}PivotChartUiOpenParams
Section titled “PivotChartUiOpenParams”export type PivotChartUiOpenParams = Omit<PivotChartCreateParams, 'container'>;PivotChartsUiPlugin
Section titled “PivotChartsUiPlugin”Dependencies
Section titled “Dependencies”- Required
PivotChartsPlugin: Uses the headless Pivot Charts lifecycle and data APIs. - Optional
ContextMenuPlugin: Contributes the optional Pivot Chart row-menu action. - Config integration
grid.pivotChartsUi: Reads UI mounting and context-menu behavior from grid.pivotChartsUi.
class PivotChartsUiPlugin { /** * Opens a UI-owned modeless Pivot chart. The returned chart ref remains * managed by the headless plugin; closing the dialog destroys that ref. * If this grid already has an open chart dialog, it is focused and its * existing chart ref is returned. */ async openChart( params: PivotChartUiOpenParams =;}PivotChartDialog
Section titled “PivotChartDialog”export function PivotChartDialog(;PivotChartDialogProps
Section titled “PivotChartDialogProps”interface PivotChartDialogProps { readonly model: PivotChartModel; readonly series: readonly PivotChartSeries[]; readonly dataset?: PivotChartDataset; readonly renderer?: PivotChartRenderer; readonly supportedTypes: readonly PivotChartType[]; readonly loading: boolean; readonly empty: boolean; readonly error?: Error; readonly drillLoading?: boolean; readonly drillError?: Error; readonly drillPendingLabel?: string; readonly drillCompletedLabel?: string; readonly downloadFormats: readonly PivotChartDownloadFormat[]; readonly localeText: PivotChartsLocaleText; readonly onUpdate: (patch: PivotChartUpdatePatch) => void; readonly onRetry: () => void; readonly onDrillBack?: () => void; readonly onDrillHome?: () => void; readonly onDrillNavigate?: (frameIndex: number) => void; readonly onDrillRetry?: () => void; readonly onDownload: (format: PivotChartDownloadFormat) => void; readonly onClose: () => void}chartRenderers
Section titled “chartRenderers”chartRenderers: Record<"line" | "area" | "kpi" | "groupedColumn" | "stackedColumn" | "normalizedColumn" | "groupedBar" | "stackedBar" | "normalizedBar" | "smoothLine" | "steppedLine" | "steppedArea" | "stackedArea" | "normalizedArea" | "pie" | "donut" | "treemap" | "sunburst" | "scatter" | "bubble" | "densityScatter" | "connectedScatter" | "columnLine" | "areaLine" | "rangeColumn" | "rangeBar" | "rangeArea" | "confidenceBand" | "errorInterval" | "waterfall" | "lollipop" | "bullet" | "semiDonut" | "rose" | "radarLine" | "radarArea" | "polarColumn" | "stackedPolarColumn" | "normalizedPolarColumn" | "radialBar" | "multiRingRadialBar" | "histogram" | "stripDot" | "heatmap" | "calendarHeatmap" | "icicle" | "circlePacking" | "funnel" | "pyramid" | "boxPlot" | "violin" | "rangeInterval" | "sankey" | "chord" | "candlestick" | "ohlc" | "volumePrice" | "gauge" | "progressGauge" | "waffle" | "smallMultiples" | "annotatedTimeSeries" | "timelineRange", PivotChartRenderFunction>;renderWaffle
Section titled “renderWaffle”renderWaffle: PivotChartRenderFunction;renderHistogram
Section titled “renderHistogram”renderHistogram: PivotChartRenderFunction;renderDotPlot
Section titled “renderDotPlot”renderDotPlot: PivotChartRenderFunction;renderStripDot
Section titled “renderStripDot”renderStripDot: PivotChartRenderFunction;renderStripPlot
Section titled “renderStripPlot”renderStripPlot: PivotChartRenderFunction;renderSmallMultiples
Section titled “renderSmallMultiples”renderSmallMultiples: PivotChartRenderFunction;renderCandlestick
Section titled “renderCandlestick”renderCandlestick: PivotChartRenderFunction;renderOhlc
Section titled “renderOhlc”renderOhlc: PivotChartRenderFunction;renderVolumePrice
Section titled “renderVolumePrice”renderVolumePrice: PivotChartRenderFunction;renderChord
Section titled “renderChord”renderChord: PivotChartRenderFunction;createFlowGraph
Section titled “createFlowGraph”The current Pivot dataset is a category-by-series matrix rather than an explicit edge list. Until a provider supplies the normalized flow view, this deterministic projection treats those two matrix axes as adjacent graph partitions: each positive finite cell becomes one directed edge from its category to its series. Aggregate categories and unconnected nodes are omitted, while original matrix indexes are retained for exact interaction.
export function createFlowGraph( dataset: PivotChartDataset, bindings: PivotChartBindings,): PivotChartFlowGraph;PivotChartFlowEdge
Section titled “PivotChartFlowEdge”interface PivotChartFlowEdge { readonly id: string; readonly sourceId: string; readonly targetId: string; readonly value: number; readonly category: PivotChartCategory; readonly categoryIndex: number; readonly series: PivotChartSeries; readonly seriesIndex: number}PivotChartFlowGraph
Section titled “PivotChartFlowGraph”interface PivotChartFlowGraph { readonly nodes: readonly PivotChartFlowNode[]; readonly edges: readonly PivotChartFlowEdge[]; readonly total: number}PivotChartFlowNode
Section titled “PivotChartFlowNode”interface PivotChartFlowNode { readonly id: string; readonly label: string; readonly kind: 'category' | 'series'; readonly value: number; readonly category?: PivotChartCategory; readonly categoryIndex?: number; readonly series?: PivotChartSeries; readonly seriesIndex?: number}renderSankey
Section titled “renderSankey”renderSankey: PivotChartRenderFunction;renderCirclePacking
Section titled “renderCirclePacking”renderCirclePacking: PivotChartRenderFunction;renderIcicle
Section titled “renderIcicle”renderIcicle: PivotChartRenderFunction;renderSunburst
Section titled “renderSunburst”export function renderSunburst(context: RenderContext);renderTreemap
Section titled “renderTreemap”export function renderTreemap(context: RenderContext);renderGauge
Section titled “renderGauge”renderGauge: PivotChartRenderFunction;renderKpi
Section titled “renderKpi”renderKpi: PivotChartRenderFunction;renderProgressGauge
Section titled “renderProgressGauge”renderProgressGauge: PivotChartRenderFunction;renderCalendarHeatmap
Section titled “renderCalendarHeatmap”renderCalendarHeatmap: PivotChartRenderFunction;renderHeatmap
Section titled “renderHeatmap”renderHeatmap: PivotChartRenderFunction;renderMultiRingRadialBar
Section titled “renderMultiRingRadialBar”renderMultiRingRadialBar: PivotChartRenderFunction;renderNormalizedPolarColumn
Section titled “renderNormalizedPolarColumn”renderNormalizedPolarColumn: PivotChartRenderFunction;renderPolarColumn
Section titled “renderPolarColumn”renderPolarColumn: PivotChartRenderFunction;renderRadarArea
Section titled “renderRadarArea”renderRadarArea: PivotChartRenderFunction;renderRadarLine
Section titled “renderRadarLine”renderRadarLine: PivotChartRenderFunction;renderRadialBar
Section titled “renderRadialBar”renderRadialBar: PivotChartRenderFunction;renderRose
Section titled “renderRose”renderRose: PivotChartRenderFunction;renderStackedPolarColumn
Section titled “renderStackedPolarColumn”renderStackedPolarColumn: PivotChartRenderFunction;renderFunnel
Section titled “renderFunnel”renderFunnel: PivotChartRenderFunction;renderPyramid
Section titled “renderPyramid”renderPyramid: PivotChartRenderFunction;renderBullet
Section titled “renderBullet”renderBullet: PivotChartRenderFunction;renderConfidenceBand
Section titled “renderConfidenceBand”renderConfidenceBand: PivotChartRenderFunction;renderErrorInterval
Section titled “renderErrorInterval”renderErrorInterval: PivotChartRenderFunction;renderLollipop
Section titled “renderLollipop”renderLollipop: PivotChartRenderFunction;renderRangeArea
Section titled “renderRangeArea”renderRangeArea: PivotChartRenderFunction;renderRangeBar
Section titled “renderRangeBar”renderRangeBar: PivotChartRenderFunction;renderRangeColumn
Section titled “renderRangeColumn”renderRangeColumn: PivotChartRenderFunction;renderWaterfall
Section titled “renderWaterfall”renderWaterfall: PivotChartRenderFunction;renderBubble
Section titled “renderBubble”export function renderBubble(context: RenderContext);renderConnectedScatter
Section titled “renderConnectedScatter”renderConnectedScatter: PivotChartRenderFunction;renderDensityScatter
Section titled “renderDensityScatter”renderDensityScatter: PivotChartRenderFunction;renderHexbin
Section titled “renderHexbin”renderHexbin: PivotChartRenderFunction;renderScatter
Section titled “renderScatter”export function renderScatter(context: RenderContext);renderBoxPlot
Section titled “renderBoxPlot”renderBoxPlot: PivotChartRenderFunction;renderRangeInterval
Section titled “renderRangeInterval”renderRangeInterval: PivotChartRenderFunction;renderViolin
Section titled “renderViolin”renderViolin: PivotChartRenderFunction;collectStatisticalData
Section titled “collectStatisticalData”export function collectStatisticalData( dataset: PivotChartDataset, seriesIds?: readonly string[],): StatisticalDatum[];createDensitySamples
Section titled “createDensitySamples”export function createDensitySamples( observations: readonly StatisticalObservation[], requestedSampleCount = 33,): DensitySample[];DensitySample
Section titled “DensitySample”interface DensitySample { readonly value: number; readonly density: number}StatisticalDatum
Section titled “StatisticalDatum”interface StatisticalDatum { readonly category: PivotChartCategory; readonly categoryIndex: number; readonly observations: readonly StatisticalObservation[]; readonly count: number; readonly minimum: number; readonly lowerQuartile: number; readonly median: number; readonly upperQuartile: number; readonly maximum: number; readonly mean: number; readonly lowerWhisker: number; readonly upperWhisker: number; readonly outliers: readonly StatisticalObservation[]; readonly representativeSeriesIndex: number}StatisticalObservation
Section titled “StatisticalObservation”interface StatisticalObservation { readonly value: number; readonly seriesIndex: number}renderTimelineRange
Section titled “renderTimelineRange”renderTimelineRange: PivotChartRenderFunction;renderAnnotatedTimeSeries
Section titled “renderAnnotatedTimeSeries”renderAnnotatedTimeSeries: PivotChartRenderFunction;resolvePivotChartCellContext
Section titled “resolvePivotChartCellContext”export function resolvePivotChartCellContext( cell?: ContextMenuCellContext,): PivotChartCellContext | undefined;PivotChartCellContext
Section titled “PivotChartCellContext”interface PivotChartCellContext { initialScope: PivotChartInitialScope; seriesIds: string[]; columnPath: PivotPath; measure: PivotChartMeasure; categoryMeasure?: Pick<PivotChartMeasure, 'prop' | 'aggregator'>}resolveSpecializedSeriesBindings
Section titled “resolveSpecializedSeriesBindings”Resolves specialized measure channels only from explicit stable IDs or unambiguous semantic labels. Series position is deliberately never used.
export function resolveSpecializedSeriesBindings( dataset: PivotChartDataset, current: PivotChartBindings, requirements: readonly SpecializedBindingRequirement[],): SpecializedBindingResolution;resolveMatrixFlowBindings
Section titled “resolveMatrixFlowBindings”export function resolveMatrixFlowBindings( dataset: PivotChartDataset, current: PivotChartBindings,):;boundSeriesIndex
Section titled “boundSeriesIndex”export function boundSeriesIndex( dataset: PivotChartDataset, bindings: PivotChartBindings, channel: PivotChartBindingChannel,): number | undefined;SpecializedSeriesChannel
Section titled “SpecializedSeriesChannel”export type SpecializedSeriesChannel = | 'low' | 'high' | 'open' | 'close' | 'volume' | 'actual' | 'target' | 'variance' | 'start' | 'end';SpecializedBindingRequirement
Section titled “SpecializedBindingRequirement”interface SpecializedBindingRequirement { channel: SpecializedSeriesChannel; required: boolean}SpecializedBindingResolution
Section titled “SpecializedBindingResolution”interface SpecializedBindingResolution { bindings: PivotChartBindings; missing: SpecializedSeriesChannel[]}createPivotChartGeographicRendererInstance
Section titled “createPivotChartGeographicRendererInstance”export function createPivotChartGeographicRendererInstance( pack: Pick<PivotChartGeographicCapabilityPack, 'load'>, initialInput: PivotChartGeographicRenderInput,): PivotChartGeographicRendererInstance;PivotChartDataControls
Section titled “PivotChartDataControls”export function PivotChartDataControls(;PivotChartDataTable
Section titled “PivotChartDataTable”export function PivotChartDataTable(;PivotChartDataTableLabels
Section titled “PivotChartDataTableLabels”interface PivotChartDataTableLabels { readonly regionAriaLabel: string; readonly tableCaption: string; readonly categoryHeader: string; readonly hierarchySeparator: string; readonly emptyValue: string; readonly formatNumber: (value: number) => string; readonly sortAscending: (columnLabel: string) => string; readonly sortDescending: (columnLabel: string) => string; readonly sortedAscending: (columnLabel: string) => string; readonly sortedDescending: (columnLabel: string) => string}PivotChartDataTableProps
Section titled “PivotChartDataTableProps”interface PivotChartDataTableProps { readonly dataset: PivotChartDataset; readonly labels: PivotChartDataTableLabels}PivotChartDialogHeader
Section titled “PivotChartDialogHeader”export function PivotChartDialogHeader(;PivotChartDialogSettings
Section titled “PivotChartDialogSettings”export function PivotChartDialogSettings(;PivotChartDialogTabs
Section titled “PivotChartDialogTabs”export function PivotChartDialogTabs(;PivotChartDialogTab
Section titled “PivotChartDialogTab”export type PivotChartDialogTab = 'chart' | 'data' | 'customize';PivotChartDialogVisual
Section titled “PivotChartDialogVisual”export function PivotChartDialogVisual(;PIVOT_CHART_THEME_VALUES
Section titled “PIVOT_CHART_THEME_VALUES”PIVOT_CHART_THEME_VALUES: readonly ["auto", "default", "material", "compact", "darkMaterial", "darkCompact"];PivotChartPresentationChangeHandler
Section titled “PivotChartPresentationChangeHandler”export type PivotChartPresentationChangeHandler = < K extends keyof PivotChartPresentation,>( key: K, value: PivotChartPresentation[K],) => void;PivotChartThemeOption
Section titled “PivotChartThemeOption”export type PivotChartThemeOption = readonly [value: string, label: string];PivotChartDrillToolbar
Section titled “PivotChartDrillToolbar”export function PivotChartDrillToolbar(;PivotChartExportMenu
Section titled “PivotChartExportMenu”export function PivotChartExportMenu(;PivotChartGallery
Section titled “PivotChartGallery”export function PivotChartGallery(;PivotChartOptionsControls
Section titled “PivotChartOptionsControls”export function PivotChartOptionsControls(;PivotChartPresentationControls
Section titled “PivotChartPresentationControls”export function PivotChartPresentationControls(;PivotChartPreview
Section titled “PivotChartPreview”export function PivotChartPreview(;clearPivotChartPreviewCache
Section titled “clearPivotChartPreviewCache”export function clearPivotChartPreviewCache();PivotChartRelationshipControls
Section titled “PivotChartRelationshipControls”export function PivotChartRelationshipControls(;PivotChartSeriesControl
Section titled “PivotChartSeriesControl”export function PivotChartSeriesControl(;PivotChartThemeControl
Section titled “PivotChartThemeControl”export function PivotChartThemeControl(;PivotChartTypeControl
Section titled “PivotChartTypeControl”export function PivotChartTypeControl(;renderAxes
Section titled “renderAxes”export function renderAxes( context: RenderContext, scale: Scale, horizontal: boolean, percentage = false,);renderXYAxes
Section titled “renderXYAxes”export function renderXYAxes( context: RenderContext, xScale: Scale, yScale: Scale, defaultTitles?:;appendCategoryLabel
Section titled “appendCategoryLabel”export function appendCategoryLabel( context: RenderContext, category: PivotChartCategory, categoryIndex: number, categorySize: number, horizontal: boolean, origin?: number,);DEFAULT_WIDTH
Section titled “DEFAULT_WIDTH”DEFAULT_WIDTH: 960;DEFAULT_HEIGHT
Section titled “DEFAULT_HEIGHT”DEFAULT_HEIGHT: 540;DEFAULT_PALETTE
Section titled “DEFAULT_PALETTE”DEFAULT_PALETTE: readonly ["#4f8fdc", "#f59e42", "#49a35a", "#38b6d4", "#e7c900", "#8b6fc0", "#e66b77", "#5aa69a"];shouldRenderCategoryLabel
Section titled “shouldRenderCategoryLabel”export function shouldRenderCategoryLabel( categoryIndex: number, categoryCount: number, categorySize: number, horizontal: boolean,): boolean;shouldRenderDataLabel
Section titled “shouldRenderDataLabel”export function shouldRenderDataLabel( categoryIndex: number, seriesIndex: number, categoryCount: number, seriesCount: number,): boolean;encodeChartImage
Section titled “encodeChartImage”export async function encodeChartImage( svg: SVGSVGElement, options: ChartExportSizeOptions, rendererOptions: PivotChartsRendererOptions, localeText: PivotChartsLocaleText,);encodeChartPdf
Section titled “encodeChartPdf”export async function encodeChartPdf( svg: SVGSVGElement, options: ChartExportSizeOptions, rendererOptions: PivotChartsRendererOptions, localeText: PivotChartsLocaleText,);normalizeFileName
Section titled “normalizeFileName”export function normalizeFileName( fileName: string | undefined, fallback: string, format: PivotChartDownloadFormat,);initializeDatumInteractions
Section titled “initializeDatumInteractions”Starts a fresh delegated interaction scope for one SVG render.
Dense charts use a roving tab stop so the chart remains reachable without placing hundreds or thousands of marks in the document tab order.
export function initializeDatumInteractions( svg: SVGSVGElement, input: PivotChartRenderInput,);makeDatumInteractive
Section titled “makeDatumInteractive”export function makeDatumInteractive( element: SVGElement, input: PivotChartRenderInput, category: PivotChartCategory, series: PivotChartSeries, value: number | null, label: string, description?:;getDatumDescription
Section titled “getDatumDescription”export function getDatumDescription(element: SVGElement);DatumDescription
Section titled “DatumDescription”interface DatumDescription { readonly category: PivotChartCategory; readonly series: PivotChartSeries; readonly value: number | null; readonly displayValue: string; readonly title: string; readonly categoryIndex?: number; readonly seriesIndex?: number; readonly channelValues?: PivotChartNodeClick['channelValues']; readonly channelSeries?: PivotChartNodeClick['channelSeries']; readonly channelDisplayValues?: Partial< Record<'x' | 'y' | 'size', string> >}resolveLegendLayout
Section titled “resolveLegendLayout”export function resolveLegendLayout( width: number, height: number, itemCount: number, position: LegendLayout['position'],): LegendLayout;renderLegend
Section titled “renderLegend”export function renderLegend( context: RenderContext, width: number, height: number, layout: LegendLayout, kind: 'series' | 'category',);LegendLayout
Section titled “LegendLayout”interface LegendLayout { readonly position: 'top' | 'right' | 'bottom' | 'left'; readonly columns: number; readonly itemWidth: number; readonly visibleItemCount: number; readonly reservedHeight: number; readonly reservedWidth: number}arcPath
Section titled “arcPath”export function arcPath( centerX: number, centerY: number, innerRadius: number, outerRadius: number, startAngle: number, endAngle: number,): string;polarPoint
Section titled “polarPoint”export function polarPoint( centerX: number, centerY: number, radius: number, angle: number,);polarAngle
Section titled “polarAngle”export function polarAngle( index: number, count: number, offset = -Math.PI / 2,): number;renderChart
Section titled “renderChart”export function renderChart( svg: SVGSVGElement, input: PivotChartRenderInput, options: PivotChartsRendererOptions,);createSvg
Section titled “createSvg”export function createSvg<K extends keyof SVGElementTagNameMap>( document: Document, name: K, attributes: Record<string, string | number> =;setAttributes
Section titled “setAttributes”export function setAttributes( element: Element, attributes: Record<string, string | number>,);appendRect
Section titled “appendRect”export function appendRect( svg: SVGElement, x: number, y: number, width: number, height: number, fill: string, radius = 0,);appendLine
Section titled “appendLine”export function appendLine( svg: SVGElement, x1: number, y1: number, x2: number, y2: number, stroke: string,);appendText
Section titled “appendText”export function appendText( svg: SVGElement, x: number, y: number, value: string, attributes: Record<string, string | number>,);resolveTheme
Section titled “resolveTheme”export function resolveTheme( input: Pick<PivotChartRenderInput, 'container' | 'theme'>,): ChartTheme;initializeChartTooltip
Section titled “initializeChartTooltip”export function initializeChartTooltip( svg: SVGSVGElement, input: PivotChartRenderInput, options: PivotChartsRendererOptions, categorySeparator: string,);destroyChartTooltip
Section titled “destroyChartTooltip”export function destroyChartTooltip(svg: SVGSVGElement);ChartTheme
Section titled “ChartTheme”interface ChartTheme { background: string; foreground: string; muted: string; grid: string}ChartBounds
Section titled “ChartBounds”interface ChartBounds { left: number; top: number; width: number; height: number}interface Scale { min: number; max: number; position(value: number): number}RenderContext
Section titled “RenderContext”interface RenderContext { input: PivotChartRenderInput; svg: SVGSVGElement; bounds: ChartBounds; theme: ChartTheme; palette: readonly string[]; categorySeparator: string}PivotChartRenderFunction
Section titled “PivotChartRenderFunction”export type PivotChartRenderFunction = (context: RenderContext) => void;PivotChartTooltipOptions
Section titled “PivotChartTooltipOptions”interface PivotChartTooltipOptions { /** Delay before a pointer tooltip opens. Keyboard tooltips open immediately. */ showDelayMs?: number; /** Delay before a pointer tooltip closes. */ hideDelayMs?: number; /** Keep an open pointer tooltip near the cursor. */ followPointer?: boolean; /** Additional application class names applied to the tooltip root. */ className?: string; /** Replaces or refines the default semantic tooltip content. */ formatter?: PivotChartTooltipFormatter}assertSupportedType
Section titled “assertSupportedType”export function assertSupportedType( chartType: PivotChartType, localeText: PivotChartsLocaleText,);assertChartShape
Section titled “assertChartShape”export function assertChartShape( chartType: PivotChartType, dataset: PivotChartDataset, localeText: PivotChartsLocaleText, bindings =;assertAlive
Section titled “assertAlive”export function assertAlive( destroyed: boolean, localeText: PivotChartsLocaleText,);createValueScale
Section titled “createValueScale”export function createValueScale( rows: Array<Array<number | null>>, stacked: boolean, length: number, normalized = false,): Scale;createContinuousScale
Section titled “createContinuousScale”export function createContinuousScale( values: readonly number[], length: number,): Scale;normalizeRows
Section titled “normalizeRows”export function normalizeRows(rows: Array<Array<number | null>>);cumulativeRows
Section titled “cumulativeRows”export function cumulativeRows(rows: Array<Array<number | null>>);createStackedRows
Section titled “createStackedRows”export function createStackedRows(rows: Array<Array<number | null>>);displayValue
Section titled “displayValue”export function displayValue( dataset: PivotChartDataset, categoryIndex: number, seriesIndex: number, localeText: PivotChartsLocaleText,);flattenCategory
Section titled “flattenCategory”export function flattenCategory( category: PivotChartCategory, separator: string,);formatNumber
Section titled “formatNumber”export function formatNumber( value: number | null, localeText: PivotChartsLocaleText,);renderAreaLine
Section titled “renderAreaLine”renderAreaLine: PivotChartRenderFunction;renderArea
Section titled “renderArea”renderArea: PivotChartRenderFunction;renderBarChart
Section titled “renderBarChart”export function renderBarChart( context: RenderContext, options: BarChartOptions,);BarChartOptions
Section titled “BarChartOptions”interface BarChartOptions { readonly orientation: 'horizontal' | 'vertical'; readonly stacking: 'grouped' | 'stacked' | 'normalized'}renderColumnLine
Section titled “renderColumnLine”renderColumnLine: PivotChartRenderFunction;renderCombinationChart
Section titled “renderCombinationChart”export function renderCombinationChart( context: RenderContext, options: CombinationChartOptions,);CombinationChartOptions
Section titled “CombinationChartOptions”interface CombinationChartOptions { readonly primary: 'column' | 'area'}renderDonut
Section titled “renderDonut”renderDonut: PivotChartRenderFunction;renderGroupedBar
Section titled “renderGroupedBar”renderGroupedBar: PivotChartRenderFunction;renderGroupedColumn
Section titled “renderGroupedColumn”renderGroupedColumn: PivotChartRenderFunction;renderLineAreaChart
Section titled “renderLineAreaChart”export function renderLineAreaChart( context: RenderContext, options: LineAreaChartOptions,);LineAreaChartOptions
Section titled “LineAreaChartOptions”interface LineAreaChartOptions { readonly area: boolean; readonly interpolation: LineAreaInterpolation; readonly stacking: 'none' | 'stacked' | 'normalized'}createLinePath
Section titled “createLinePath”export function createLinePath( points: readonly LineAreaPoint[], interpolation: LineAreaInterpolation,): string;createAreaPath
Section titled “createAreaPath”export function createAreaPath( top: readonly LineAreaPoint[], baseline: readonly LineAreaPoint[], interpolation: LineAreaInterpolation,): string;LineAreaPoint
Section titled “LineAreaPoint”interface LineAreaPoint { readonly x: number; readonly y: number}LineAreaInterpolation
Section titled “LineAreaInterpolation”export type LineAreaInterpolation = 'linear' | 'smooth' | 'step';renderLine
Section titled “renderLine”renderLine: PivotChartRenderFunction;renderNormalizedArea
Section titled “renderNormalizedArea”renderNormalizedArea: PivotChartRenderFunction;renderNormalizedBar
Section titled “renderNormalizedBar”renderNormalizedBar: PivotChartRenderFunction;renderNormalizedColumn
Section titled “renderNormalizedColumn”renderNormalizedColumn: PivotChartRenderFunction;renderPie
Section titled “renderPie”renderPie: PivotChartRenderFunction;renderPolarChart
Section titled “renderPolarChart”export function renderPolarChart( context: RenderContext, options: PolarChartOptions,);PolarChartOptions
Section titled “PolarChartOptions”interface PolarChartOptions { readonly donut: boolean; readonly startAngle?: number; readonly sweepAngle?: number; readonly mark?: string}renderSemiDonut
Section titled “renderSemiDonut”renderSemiDonut: PivotChartRenderFunction;renderSmoothLine
Section titled “renderSmoothLine”renderSmoothLine: PivotChartRenderFunction;renderStackedArea
Section titled “renderStackedArea”renderStackedArea: PivotChartRenderFunction;renderStackedBar
Section titled “renderStackedBar”renderStackedBar: PivotChartRenderFunction;renderStackedColumn
Section titled “renderStackedColumn”renderStackedColumn: PivotChartRenderFunction;renderSteppedArea
Section titled “renderSteppedArea”renderSteppedArea: PivotChartRenderFunction;renderSteppedLine
Section titled “renderSteppedLine”renderSteppedLine: PivotChartRenderFunction;createWaffleSlices
Section titled “createWaffleSlices”export function createWaffleSlices( dataset: PivotChartDataset, seriesId?: string, cellCount = 100,): WaffleSlice[];WaffleSlice
Section titled “WaffleSlice”interface WaffleSlice { readonly category: PivotChartCategory; readonly categoryIndex: number; readonly series: PivotChartSeries; readonly seriesIndex: number; readonly value: number; readonly cells: number}collectDistributionData
Section titled “collectDistributionData”export function collectDistributionData( dataset: PivotChartDataset, seriesId?: string,): DistributionDatum[];createHistogramBins
Section titled “createHistogramBins”export function createHistogramBins( data: readonly DistributionDatum[], requestedBinCount?: number,): HistogramBin[];DistributionDatum
Section titled “DistributionDatum”interface DistributionDatum { category: PivotChartCategory; categoryIndex: number; series: PivotChartSeries; seriesIndex: number; value: number}HistogramBin
Section titled “HistogramBin”interface HistogramBin { index: number; start: number; end: number; count: number; mean: number; data: DistributionDatum[]}renderPriceSeries
Section titled “renderPriceSeries”export function renderPriceSeries( context: RenderContext, options: PriceRenderOptions,);PriceMarkKind
Section titled “PriceMarkKind”export type PriceMarkKind = 'candlestick' | 'ohlc';PriceRenderOptions
Section titled “PriceRenderOptions”interface PriceRenderOptions { readonly kind: PriceMarkKind; readonly bounds?: ChartBounds; readonly attributePrefix: string; readonly renderAxes?: boolean; readonly renderCategoryLabels?: boolean}collectFinancialData
Section titled “collectFinancialData”export function collectFinancialData( dataset: PivotChartDataset, bindings: PivotChartBindings, requireVolume = false,): FinancialDatum[];FinancialDatum
Section titled “FinancialDatum”interface FinancialDatum { readonly categoryIndex: number; readonly open: number; readonly high: number; readonly low: number; readonly close: number; readonly volume?: number; readonly openSeriesIndex: number; readonly highSeriesIndex: number; readonly lowSeriesIndex: number; readonly closeSeriesIndex: number; readonly volumeSeriesIndex?: number}collectHierarchyValues
Section titled “collectHierarchyValues”export function collectHierarchyValues( dataset: PivotChartDataset,): readonly HierarchyCategoryValue[];commonCategoryPrefix
Section titled “commonCategoryPrefix”export function commonCategoryPrefix( categories: readonly PivotChartCategory[],): readonly string[];HierarchySeriesValue
Section titled “HierarchySeriesValue”interface HierarchySeriesValue { readonly category: PivotChartCategory; readonly categoryIndex: number; readonly series: PivotChartSeries; readonly seriesIndex: number; readonly value: number}HierarchyCategoryValue
Section titled “HierarchyCategoryValue”interface HierarchyCategoryValue { readonly category: PivotChartCategory; readonly categoryIndex: number; readonly total: number; readonly values: readonly HierarchySeriesValue[]}renderGaugeChart
Section titled “renderGaugeChart”export function renderGaugeChart( context: RenderContext, options: GaugeOptions,);GaugeOptions
Section titled “GaugeOptions”interface GaugeOptions { readonly kind: 'semi' | 'radial'; readonly attributePrefix: string}resolveKpiLayouts
Section titled “resolveKpiLayouts”export function resolveKpiLayouts( bounds: ChartBounds, count: number,): KpiLayout[];KpiLayout (Extended from kpi-layout.ts)
Section titled “KpiLayout (Extended from kpi-layout.ts)”interface KpiLayout { readonly index: number}collectKpiData
Section titled “collectKpiData”export function collectKpiData( dataset: PivotChartDataset, bindings: PivotChartBindings,): KpiDatum[];KpiDatum
Section titled “KpiDatum”interface KpiDatum { readonly categoryIndex: number; readonly actual: number; readonly target: number; readonly variance: number; readonly progress: number; readonly actualSeriesIndex: number; readonly targetSeriesIndex: number; readonly varianceSeriesIndex?: number}createHeatmapBuckets
Section titled “createHeatmapBuckets”export function createHeatmapBuckets( dataset: PivotChartDataset, maximumRows: number, maximumColumns: number,): HeatmapBucket[];collectCalendarData
Section titled “collectCalendarData”export function collectCalendarData( dataset: PivotChartDataset, seriesId?: string,): CalendarDatum[];HeatmapBucket
Section titled “HeatmapBucket”interface HeatmapBucket { row: number; column: number; rowStart: number; rowEnd: number; columnStart: number; columnEnd: number; count: number; value: number; category: PivotChartCategory; series: PivotChartSeries}CalendarDatum
Section titled “CalendarDatum”interface CalendarDatum { category: PivotChartCategory; categoryIndex: number; series: PivotChartSeries; seriesIndex: number; value: number; epochDay: number; day: number; week: number}renderPolarColumnChart
Section titled “renderPolarColumnChart”export function renderPolarColumnChart( context: RenderContext, options: PolarColumnOptions,);PolarColumnMode
Section titled “PolarColumnMode”export type PolarColumnMode = 'grouped' | 'stacked' | 'normalized';PolarColumnOptions
Section titled “PolarColumnOptions”interface PolarColumnOptions { mode: PolarColumnMode}resolvePolarLayout
Section titled “resolvePolarLayout”export function resolvePolarLayout( context: RenderContext, labelPadding = 26,): PolarLayout;finitePositiveMaximum
Section titled “finitePositiveMaximum”export function finitePositiveMaximum( values: ReadonlyArray<ReadonlyArray<number | null>>, categoryIndexes?: readonly number[],): number;appendPolarGrid
Section titled “appendPolarGrid”export function appendPolarGrid( context: RenderContext, layout: PolarLayout, axes = true,);valueAt
Section titled “valueAt”export function valueAt( context: RenderContext, categoryIndex: number, seriesIndex: number,): number | null;PolarLayout
Section titled “PolarLayout”interface PolarLayout { centerX: number; centerY: number; radius: number; categoryIndexes: number[]}renderRadarChart
Section titled “renderRadarChart”export function renderRadarChart( context: RenderContext, options: RadarOptions,);RadarOptions
Section titled “RadarOptions”interface RadarOptions { area: boolean}renderRadialBarChart
Section titled “renderRadialBarChart”export function renderRadialBarChart( context: RenderContext, options: RadialBarOptions,);RadialBarOptions
Section titled “RadialBarOptions”interface RadialBarOptions { multiRing: boolean}renderProcessChart
Section titled “renderProcessChart”export function renderProcessChart( context: RenderContext, shape: ProcessShape,);createProcessBands
Section titled “createProcessBands”export function createProcessBands( values: readonly number[], bounds: ProcessBounds, shape: ProcessShape,): readonly ProcessBand[];ProcessShape
Section titled “ProcessShape”export type ProcessShape = 'funnel' | 'pyramid';ProcessBounds
Section titled “ProcessBounds”interface ProcessBounds { readonly left: number; readonly top: number; readonly width: number; readonly height: number}ProcessBand
Section titled “ProcessBand”interface ProcessBand { readonly index: number; readonly value: number; readonly top: number; readonly bottom: number; readonly topWidth: number; readonly bottomWidth: number; readonly points: string}collectProcessStages
Section titled “collectProcessStages”export function collectProcessStages( dataset: PivotChartDataset,): readonly ProcessStage[];ProcessStage
Section titled “ProcessStage”interface ProcessStage { readonly category: PivotChartCategory; readonly categoryIndex: number; readonly series: PivotChartSeries; readonly seriesIndex: number; readonly value: number}renderRangeChart
Section titled “renderRangeChart”export function renderRangeChart( context: RenderContext, options: RangeChartOptions,);RangeChartOptions
Section titled “RangeChartOptions”interface RangeChartOptions { readonly kind: 'bar' | 'area' | 'interval'; readonly orientation?: 'horizontal' | 'vertical'; readonly valueMode?: RangeValueMode; readonly attribute: string}collectRangeData
Section titled “collectRangeData”export function collectRangeData( dataset: PivotChartDataset, bindings: PivotChartBindings, mode: RangeValueMode = 'bounds',): RangeDatum[];RangeDatum
Section titled “RangeDatum”interface RangeDatum { readonly categoryIndex: number; readonly lower: number; readonly upper: number; readonly center?: number; readonly lowerSeriesIndex: number; readonly upperSeriesIndex: number; readonly centerSeriesIndex?: number}RangeValueMode
Section titled “RangeValueMode”export type RangeValueMode = 'bounds' | 'centerBounds';createDensityBins
Section titled “createDensityBins”export function createDensityBins( points: readonly DensityPoint[], radius: number,): DensityBin[];DensityPoint
Section titled “DensityPoint”interface DensityPoint { category: PivotChartCategory; categoryIndex: number; xSeries: PivotChartSeries; xSeriesIndex: number; ySeries: PivotChartSeries; ySeriesIndex: number; x: number; y: number; plotX: number; plotY: number}DensityBin
Section titled “DensityBin”interface DensityBin { column: number; row: number; count: number; x: number; y: number; plotX: number; plotY: number; points: DensityPoint[]}renderRelationshipChart
Section titled “renderRelationshipChart”export function renderRelationshipChart( context: RenderContext, options: RelationshipChartOptions,);RelationshipChartOptions
Section titled “RelationshipChartOptions”interface RelationshipChartOptions { bubble: boolean}prepareStatisticalChart
Section titled “prepareStatisticalChart”export function prepareStatisticalChart( context: RenderContext, options?:;appendStatisticalCategoryLabels
Section titled “appendStatisticalCategoryLabels”export function appendStatisticalCategoryLabels( context: RenderContext, categorySize: number,);statisticalCategoryCenter
Section titled “statisticalCategoryCenter”export function statisticalCategoryCenter( context: RenderContext, categoryIndex: number, categorySize: number,);statisticalValueY
Section titled “statisticalValueY”export function statisticalValueY( context: RenderContext, scale: StatisticalChartLayout['scale'], value: number,);StatisticalChartLayout
Section titled “StatisticalChartLayout”interface StatisticalChartLayout { readonly data: StatisticalDatum[]; readonly scale: ReturnType<typeof createValueScale>; readonly categorySize: number}