Global

Methods

getDefDataGrouping() → {Object}

Description:
  • 取得Highcharts時間群組設定物件

Source:
Returns:

回傳時間群組設定物件

Type
Object

getDefDateFmt() → {Object}

Description:
  • 取得Highcharts時間單位格式物件

Source:
Returns:

回傳時間單位格式物件

Type
Object

getDefMarker() → {Object}

Description:
  • 產生Highcharts標記物件

Source:
Returns:

回傳標記物件

Type
Object

getDefOpt() → {Object}

Description:
  • 取得Highcharts繪圖設定物件

Source:
Returns:

回傳繪圖設定物件

Type
Object

getDefUnits() → {Array}

Description:
  • 取得Highcharts時間單位陣列

Source:
Returns:

回傳時間單位陣列

Type
Array

iniMarkers(Highcharts) → {Object}

Description:
  • 初始化Highcharts擴充標記

Source:
Parameters:
Name Type Description
Highcharts Object

輸入Highcharts全域物件

Returns:

回傳標記物件

Type
Object

renderTimeTick(v, optopt) → {String}

Description:
  • 渲染Highcharts時間軸刻度標籤文字

Source:
Parameters:
Name Type Attributes Default Description
v Object

輸入Highcharts刻度標籤物件,需含value(毫秒時間戳)與dateTimeLabelFormat(預設模板字串)

opt Object <optional>
{}

輸入設定物件,預設{}

Properties
Name Type Attributes Default Description
format String <optional>
''

輸入模板字串,可用標記為%Y %m %d %H %M %S %L,預設'',代表使用v.dateTimeLabelFormat

useRenderTimeFirstTickToDay Boolean <optional>
false

輸入首個刻度是否改渲染為年與日期布林值,預設false

Returns:

回傳渲染後刻度標籤字串

Type
String