mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [FIX] make amcharts definitions work in strict mode * [FIX] travis checks header * clean some linting issues, export namespace, add version and provide small test * [FIX] linting * [MOD] split into several files for easier maintenance access * [ADD] couple of tests
50 lines
882 B
TypeScript
50 lines
882 B
TypeScript
/**
|
|
* Creates a label on the chart which can be placed anywhere, multiple can be assigned.
|
|
*/
|
|
export default class Label {
|
|
/**
|
|
* @Default 'left'
|
|
*/
|
|
align: string;
|
|
/**
|
|
* @Default 1
|
|
*/
|
|
alpha: number;
|
|
/**
|
|
* Specifies if label is bold or not.
|
|
*/
|
|
bold: boolean;
|
|
/**
|
|
* Color of a label
|
|
*/
|
|
color: string;
|
|
/**
|
|
* Unique id of a Label. You don't need to set it, unless you want to.
|
|
*/
|
|
id: string;
|
|
/**
|
|
* Rotation angle.
|
|
*/
|
|
rotation: number;
|
|
/**
|
|
* Text size
|
|
*/
|
|
size: number;
|
|
/**
|
|
* Text of a label
|
|
*/
|
|
text: string;
|
|
/**
|
|
* URL which will be access if user clicks on a label.
|
|
*/
|
|
url: string;
|
|
/**
|
|
* X position of a label.
|
|
*/
|
|
x: number | string;
|
|
/**
|
|
* y position of a label.
|
|
*/
|
|
y: number | string;
|
|
}
|