import type { MaskingProps } from '@dynatrace/strato-components/core'; import type { BaseAnnotationsChartProps } from '../../core/components/annotations/types/annotations.js'; import type { TextOverflowExpandOptions, TextOverflowTruncateOptions } from '../../core/components/annotations/types/marker.js'; /** * The AnnotationsChart standalone instance specific props * @public */ export interface StandaloneAnnotationsChartProps extends BaseAnnotationsChartProps { /** * Custom width of the tracks labels. * @defaultValue 60 */ labelWidth?: number; /** * Show the loading indicator when truly. * @defaultValue false */ loading?: boolean; /** * The height of the chart. If a number is passed, it will be treated as px. * @defaultValue 300px */ height?: number | string; } /** * The AnnotationChart component props * @public */ export type AnnotationsChartProps = StandaloneAnnotationsChartProps & MaskingProps & (Partial | TextOverflowTruncateOptions);