Global

Methods

getDefAxis(optopt) → {Object}

Description:
  • 產生預設Highcharts軸物件

Source:
Parameters:
Name Type Attributes Default Description
opt Object <optional>
{}

輸入設定物件,預設{}

Returns:

回傳物件

Type
Object

getDefChart(optopt) → {Object}

Description:
  • 產生預設Highcharts圖物件

Source:
Parameters:
Name Type Attributes Default Description
opt Object <optional>
{}

輸入設定物件,預設{}

Returns:

回傳物件

Type
Object

getDefLegend(optopt) → {Object}

Description:
  • 產生預設Highcharts圖例物件

Source:
Parameters:
Name Type Attributes Default Description
opt Object <optional>
{}

輸入設定物件,預設{}

Returns:

回傳物件

Type
Object

getDefOpt(optopt) → {Object}

Description:
  • 產生預設Highcharts設定物件

Source:
Parameters:
Name Type Attributes Default Description
opt Object <optional>
{}

輸入設定物件,預設{}

Returns:

回傳物件

Type
Object

getSoilCodeIcon() → {Object}

Description:
  • 取得土壤圖例代碼對應土壤圖示物件,key為圖例代碼字串(如'105'、'227'),值為png之data URI字串,圖示取自w-demores之dataCivilSoilCodeIcon並內建於本套件,供無連外網路之環境使用

    因圖示數據量大,回傳者為內部物件本身而非複製品,故取用時僅可讀取不可改寫

Source:
Returns:

回傳土壤圖例代碼對應土壤圖示物件

Type
Object

setLegendLoc(optopt, optionsPicopt) → {Object}

Description:
  • 使用繪圖設定物件針對Highcharts物件處理圖例位置

Source:
Parameters:
Name Type Attributes Default Description
opt Object <optional>
{}

輸入設定物件,預設{}

optionsPic Object <optional>
{}

輸入繪圖設定物件,預設{}

Returns:

回傳物件

Type
Object