Chartwerk Bar Pod
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
795 B

import { TimeSerie, Options } from '@chartwerk/core';
export declare type BarSerieParams = {
matchedKey: string;
colorFormatter: (serie: BarTimeSerie) => string;
};
export declare type BarTimeSerie = TimeSerie & Partial<BarSerieParams>;
export declare type BarOptionsParams = {
renderBarLabels: boolean;
stacked: boolean;
barWidth: number;
maxBarWidth: number;
minBarWidth: number;
matching: boolean;
opacityFormatter: (data: RowValues) => number;
3 years ago
annotations: {
key: string;
color: string;
}[];
};
export declare type BarOptions = Options & Partial<BarOptionsParams>;
export declare type RowValues = {
key: number;
values: number[];
additionalValues: (null | number)[];
colors: string[];
3 years ago
serieTarget: string[];
};