可選leftTime?: Date時間軸左邊界時間,Date或任何new Date接受的參數。
可選fixRange?: boolean固定時間範圍。
可選fixInterval?: number固定時間區間,單位為毫秒,預設為0即不固定時間區間。
可選timeRange?: number起始時間範圍,單位為毫秒,預設為一天。
可選dateLabelFunction?: (date: Date) => string時間轉換文字標籤函數,輸入為時間,預設為Date.toLocaleString。
可選pinLabelFunction?: (date: Date) => string指針時間轉換文字標籤函數,輸入為時間,套用優先順序為pinLabelFunction > dateLabelFunction >Date.toLocaleString。
可選startTime?: Date | number | string | null播放開始時間,Date或任何new Date接受的參數,若為null則清除設定。
可選stopTime?: Date | number | string | null播放停止時間,Date或任何new Date接受的參數,若為null則清除設定。
可選addToTerrainView?: boolean是否加到圖台上。
可選isRepeat?: boolean是否重複播放,若開始與停止時間都有設定則播放時可重複播放,但停止播放時拖曳不受影響。
可選hideDate?: boolean是否隱藏時間文字與指示。
可選updateSystemTime?: boolean是否更新系統時間,若否則只影響聯動物件。
可選style?: CSSStyleMap容器DOM元件style參數。
可選barStyle?: CSSStyleMap色條元件style參數。
可選pinStyle?: CSSStyleMap指針元件style參數。
可選timeBlocks?: TimeBlock[]時段色塊。
可選links?: ITimelinePlayable[]聯動物件。
可選countColorMap?: { count?: number[]; color?: window.ov.Color[] }計數色塊分層設色表,用於指定為給予顏色設定的色塊統計數量的顏色對照。
時間軸Widget參數