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.
22 lines
696 B
22 lines
696 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; |
|
}; |
|
export declare type BarOptions = Options & Partial<BarOptionsParams>; |
|
export declare type RowValues = { |
|
key: number; |
|
values: number[]; |
|
additionalValues: (null | number)[]; |
|
colors: string[]; |
|
};
|
|
|