Skip to content

Interface: SparklineOptions ​

Defined in: temporal/types.ts:62

Options for the SparklineOverlay canvas.

Properties ​

width? ​

ts
optional width?: number;

Defined in: temporal/types.ts:63


height? ​

ts
optional height?: number;

Defined in: temporal/types.ts:64


lineColor? ​

ts
optional lineColor?: string;

Defined in: temporal/types.ts:65


bgColor? ​

ts
optional bgColor?: string;

Defined in: temporal/types.ts:66


timeMarkerColor? ​

ts
optional timeMarkerColor?: string;

Defined in: temporal/types.ts:67


padding? ​

ts
optional padding?: number;

Defined in: temporal/types.ts:68


cornerRadius? ​

ts
optional cornerRadius?: number;

Defined in: temporal/types.ts:70

Corner radius in CSS pixels of the canvas and its painted background. Default 4.


shadow? ​

ts
optional shadow?: string;

Defined in: temporal/types.ts:72

CSS box-shadow of the canvas; 'none' removes it. Default '0 2px 8px rgba(0,0,0,0.5)'.


className? ​

ts
optional className?: string;

Defined in: temporal/types.ts:74

Class name(s) added to the overlay canvas for application styling. Default none.

Released under the MIT License.