scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
44 lines (43 loc) • 1.25 kB
TypeScript
/** Defines the style of the pointer stick */
export declare type TPointerStyle = {
/**
* The size of the pointer stick base
*
* Properties must be between 0 and 1 inclusive
*
* Example: `0.1` means `10%` of the length of the pointer (given by the `y1` property)
*
* Default = `0.1`
*/
baseSize?: number;
/**
* Sets the pointer stick border color as an HTML Color code
*
* Default = `black`
*/
stroke?: string;
/**
* Sets the `stroke-width` of the pointer stick, in pixels
*
* Default = `3`
*/
strokeWidth?: number;
/**
* Sets the pointer stick background color as an HTML Color code
*
* Default = `gray`
*/
fill?: string;
/**
* The size of the back extension of the pointer stick
*
* Properties must be between 0 and 1 inclusive
*
* Example: `0.1` means `10%` of the length of the pointer (given by the `y1` property)
*
* Default = `0`
*
* @note if your value is in between [-1, 0], the main pointer base will be placed further away from the centerpoint the closer the value is to `-1`.
*/
backExtensionSize?: number;
};