Sets dataRenderer property to pull data from external data source.
Parameters |
Description |
renderer |
plugin or user function that returns plotting data |
None
Sets dataRenderer property. Data renderers allow jqPlot to pull data from any external data source such as a function implementing an AJAX call. Simply assign the external source to the "dataRenderer" plot option. The only requirement on data renderers is that it must return a valid jqPlot data array.
The Sine Data Renderer returns data from a sine function.
The following example returns the data from the ci_parser plugin.
What do you think about this topic? Send feedback!
|
Copyright (c) 2011. All rights reserved.
|