import { Chart, IChartSettings, IChartPrivate, IChartEvents } from "./Chart"; import { Container } from "../../core/render/Container"; import { ListAutoDispose } from "../../core/util/List"; import type { ColorSet } from "../../core/util/ColorSet"; import type { PatternSet } from "../../core/util/PatternSet"; import type { Series } from "./Series"; export interface ISerialChartSettings extends IChartSettings { /** * The [[ColorSet]] series take their colors from. * * @see {@link https://docs.amcharts.com/v5/charts/xy-chart/series/#series-colors} for more info */ colors?: ColorSet; /** * The [[PatternSet]] series take their patterns from. * * @see {@link https://docs.amcharts.com/v5/concepts/colors-gradients-and-patterns/patterns/#pattern-sets} for more info * @since 5.10.0 */ patterns?: PatternSet; /** * Describes the chart's data to screen readers: for each series, how many * values it has, its highest and lowest, and where the data has an order * (XY series) its first and last. Each series' summary also goes to its * legend item. * * The chart has to be `focusable` for screen readers to read it. A series * with `ariaSummary: false` is left out. * * @since 5.24.0 * @see {@link https://docs.amcharts.com/v5/concepts/accessibility/#data-summary} for more info */ ariaSummary?: boolean; /** * Gives screen readers the chart's data as a table, hidden from view: a * row for each category or date, a column for each series. Screen readers * can move through it by row and column. It is captioned with the chart's * `ariaLabel`. * * With grouped data (a date axis with `groupData`), the table has the * groups shown when the chart is zoomed out all the way, whatever the * zoom. A series with `ariaDataTable: false` is left out. * * @since 5.24.0 * @see {@link https://docs.amcharts.com/v5/concepts/accessibility/#data-table} for more info */ ariaDataTable?: boolean; } export interface ISerialChartPrivate extends IChartPrivate { } export interface ISerialChartEvents extends IChartEvents { } /** * A base class for all series-based charts. */ export declare abstract class SerialChart extends Chart { static className: string; static classNames: Array; _settings: ISerialChartSettings; _privateSettings: ISerialChartPrivate; _seriesType: Series; _events: ISerialChartEvents; /** * The [[Container]] the chart's series are drawn in. * * @default Container.new() */ readonly seriesContainer: Container; /** * The chart's series: push a series here to add it to the chart. A series * removed from the list is disposed. */ readonly series: ListAutoDispose; protected _afterNew(): void; protected _processSeries(series: this["_seriesType"]): void; protected _removeSeries(series: this["_seriesType"]): void; _prepareChildren(): void; protected _dataTable: HTMLTableElement | undefined; /** * Builds the chart's data table from its series' columns, or takes it away. * * @ignore */ _updateDataTable(): void; protected _dispose(): void; /** * Puts the series' summaries together as the chart's `ariaDescription`. * * @ignore */ _updateSummary(): void; } //# sourceMappingURL=SerialChart.d.ts.map