new ol.supermap.ChartService(url, options)
ChartService.js, line 6
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Example
new ol.supermap.ChartService(url)
.queryChart(param,function(result){
//doSomething
})
Extends
Methods
-
getChartFeatureInfo(callback)
ChartService.js, line 57 -
Get information of chart feature.
Name Type Description callback
RequestCallback The callback of result data returned by the server side.
-
queryChart(params, callback, resultFormat)
ChartService.js, line 31 -
Query chart service.
Name Type Description params
SuperMap.ChartQueryParameters The ChartQueryParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat The format of result data.