UNPKG

@patternfly/react-charts

Version:

This library provides a set of React chart components for use with the PatternFly reference implementation.

57 lines (52 loc) 1.61 kB
import { VictoryThemeDefinition } from 'victory-core'; /** * Chart component theme definition * * @private Not intended as public API and subject to change */ export interface ChartComponentThemeDefinitionInterface { axis?: VictoryThemeDefinition; bullet?: VictoryThemeDefinition; bulletComparativeErrorMeasure?: VictoryThemeDefinition; bulletComparativeMeasure?: VictoryThemeDefinition; bulletComparativeWarningMeasure: VictoryThemeDefinition; bulletGroupTitle?: VictoryThemeDefinition; bulletPrimaryDotMeasure?: VictoryThemeDefinition; bulletPrimaryNegativeMeasure?: VictoryThemeDefinition; bulletPrimarySegmentedMeasure?: VictoryThemeDefinition; bulletQualitativeRange?: VictoryThemeDefinition; donut?: VictoryThemeDefinition; donutThresholdDynamic?: VictoryThemeDefinition; donutThresholdStatic?: VictoryThemeDefinition; donutUtilization?: VictoryThemeDefinition; label?: { backgroundStyle?: { fill?: string; }; style?: { fill?: string; stroke?: string; }; }; threshold?: VictoryThemeDefinition; } /** * Chart theme definition * * Note: Victory incorrectly typed ThemeBaseProps.padding as number instead of PaddingProps * * @public */ export interface ChartThemeDefinitionInterface extends VictoryThemeDefinition {} /** * Chart theme definition * * @public */ export type ChartThemeDefinition = ChartThemeDefinitionInterface; /** * Chart component theme definition * * @private Not intended as public API and subject to change */ export type ChartComponentThemeDefinition = ChartComponentThemeDefinitionInterface;