new WHc2pngServer(optopt) → {Object}
- Description:
提供Highcharts設定檔(含數據)轉png圖服務
- Source:
Example
import WHc2pngServer from 'w-hc2png'
let opt = {
port: 9020,
apiName: 'api',
}
WHc2pngServer(opt)
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opt |
Object |
<optional> |
{}
|
輸入設定物件,預設{} Properties
|
Returns:
回傳通訊物件,可監聽事件open、error、clientChange、execute、broadcast、deliver,可使用函數broadcast
- Type
- Object