<commit_before>export enum ChartType {
    GroupedColumn = 'groupedColumn',
    StackedColumn = 'stackedColumn',
    NormalizedColumn = 'normalizedColumn',
    GroupedBar = 'groupedBar',
    StackedBar = 'stackedBar',
    NormalizedBar = 'normalizedBar',
    Line = 'line',
    Scatter = 'scatter',
    Bubble = 'bubble',
    Pie = 'pie',
    Doughnut = 'doughnut',
    Area = 'area',
    StackedArea = 'stackedArea',
    NormalizedArea = 'normalizedArea'
}

export type ChartMenuOptions = 'chartSettings' | 'chartData' | 'chartFormat' | 'chartUnlink' | 'chartDownload';

export interface SeriesOptions {
    fill: FillOptions;
    stroke: StrokeOptions;
    highlightStyle: HighlightOptions;
}

export interface ChartOptions<T extends SeriesOptions> {
    document?: Document;
    seriesDefaults: T;
    width: number;
    height: number;
    padding: PaddingOptions;
    background: BackgroundOptions;
    title: CaptionOptions;
    subtitle: CaptionOptions;
    legend: LegendOptions;
    tooltipClass?: string;
}

export interface PaddingOptions {
    top: number;
    right: number;
    bottom: number;
    left: number;
}

export interface BackgroundOptions {
    fill: string;
    visible: boolean;
}

export interface FontOptions {<commit_msg>AG-3110 - Make chart.width/height optional in iChartOptions.<commit_after>export enum ChartType {
    GroupedColumn = 'groupedColumn',
    StackedColumn = 'stackedColumn',
    NormalizedColumn = 'normalizedColumn',
    GroupedBar = 'groupedBar',
    StackedBar = 'stackedBar',
    NormalizedBar = 'normalizedBar',
    Line = 'line',
    Scatter = 'scatter',
    Bubble = 'bubble',
    Pie = 'pie',
    Doughnut = 'doughnut',
    Area = 'area',
    StackedArea = 'stackedArea',
    NormalizedArea = 'normalizedArea'
}

export type ChartMenuOptions = 'chartSettings' | 'chartData' | 'chartFormat' | 'chartUnlink' | 'chartDownload';

export interface SeriesOptions {
    fill: FillOptions;
    stroke: StrokeOptions;
    highlightStyle: HighlightOptions;
}

export interface ChartOptions<T extends SeriesOptions> {
    document?: Document;
    seriesDefaults: T;
    width?: number;
    height?: number;
    padding: PaddingOptions;
    background: BackgroundOptions;
    title: CaptionOptions;
    subtitle: CaptionOptions;
    legend: LegendOptions;
    tooltipClass?: string;
}

export interface PaddingOptions {
    top: number;
    right: number;
    bottom: number;
    left: number;
}

export interface BackgroundOptions {
    fill: string;
    visible: boolean;
}

export interface FontOptions {
{'fraction_non_alphanumeric': 0.10231281850254802, 'fraction_numerical': 0.0015680125441003528, 'mean_word_length': 3.7790262172284645, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1788629', 'n_tokens_mistral': 754, 'n_tokens_neox': 747, 'n_words': 193}