@highcharts/dashboards
Version:
Highcharts Dashboards framework
36 lines (35 loc) • 808 B
TypeScript
export type AlignValue = ('center' | 'left' | 'right');
export type VerticalAlignValue = ('bottom' | 'middle' | 'top');
export interface AlignObject {
/**
* Horizontal alignment of the object.
* @type {Highcharts.AlignValue}
*/
align?: AlignValue;
/**
* Align element by translation.
*/
alignByTranslate?: boolean;
/**
* Vertical alignment of the object.
* @type {Highcharts.VerticalAlignValue}
*/
verticalAlign?: VerticalAlignValue;
/**
* Horizontal offset of the object.
*/
x?: number;
/**
* Vertical offset of the object.
*/
y?: number;
/**
* The width of the object.
*/
width?: number;
/**
* The height of the object.
*/
height?: number;
}
export default AlignObject;