Ajax
Methods
statsstatic function
Returns the statistics of AJAX requests sent by FusionCharts.
Parameters
Properties
counters
These counters keep a track of various http requests sent by FusionCharts. These can be retrieved using stats
Attributes
The number of internal Ajax
objects created by FusionCharts. This is not same as XMLHttpRequest
object since one Ajax
object can have a number of XMLHttpRequest
objects.
A count of all XMLHttpRequest
objects created.
Sum of all requests sent to server (both GET and POST.)
The total number of requests that had a successful return from server.
The total number of requests that failed to communicate with server due to various factors.
XMLHttpRequest
objects that are idle for later use or has not been disposed yet.
headersstatic member
The default http-headers
that are sent with every AJAX request to the server. More can be added and existing items can be modified.
Attributes
Prevents cacheing of AJAX requests.
Sat, 29 Oct 1994 19:43:31 GMT
Lets the server know that this is an AJAX request.
XMLHttpRequest
Lets server know which web application is sending requests.
FusionCharts
Mentions content-types that are acceptable for the response. Some servers require this for Ajax communication.
text/plain, /
The MIME type of the body of the request along with its charset.
application/x-www-form-urlencoded; charset=UTF-8