UNPKG

scichart

Version:

Fast WebGL JavaScript Charting Library and Framework

52 lines (51 loc) 1.54 kB
/** Defines the style of the pointer tip */ export declare type TPointerArrowStyle = { /** * The height of the pointer arrow, relative to the pointer length * * 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` */ height?: number; /** * The width of the pointer arrow, relative to the pointer length * * 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` */ width?: number; /** * The depth of the pointer arrow head, relative to the arrow `height`, NOT the pointer length * * Properties **should** be between 0 and 1 inclusive * * Default = `1` * * @note If value is `2`, the arrow depth will be twice the height, thus creating a rhombus shape, anything above that will get closer to the center of the arrow */ headDepth?: number; /** * Sets the pointer circle border color as an HTML Color code * * Default = `black` */ stroke?: string; /** * Sets the stroke-width of the pointer circle, in pixels * * Default = `3` */ strokeWidth?: number; /** * Sets the pointer circle background color as an HTML Color code * * Default = `none` */ fill?: string; };