servlet guide
From autoplot.org
Contents |
1 Installation
Most up-to-date demo version: http://autoplot.org/AutoplotServlet/simple.jsp. Note that this server uses caching when this form of the URL is used: http://autoplot.org/cache/AutoplotServlet/simple.jsp
1.1 Basic
1.2 Caching Images
Apache 2 configuration notes for using caching on Autoplot.
2 Parameters
These parameters are specific to the servlet. Other parameters are at api.
- format specifies the return format type
- image/png
- application/pdf
- image/svg+xml
- script does nothing. The idea was an arbitrary script can be run giving complete control of the application, but because the ScriptContext is static (one per java instance), it cannot be supported. This will probably be corrected at some point. Also sandbox security needs to be ensured.
- canvas.aspect. Aspect ratio for the canvas. Aspect is width/height, and simple expressions like '10/3' are handled.
- process specifies a process to apply to the loaded data.
- histogram performs a 100-bin histogram on the data. The data is autoranged to establish min, max and scale type.
- magnitude(fft) displays the frequency content of the data
