SVG Instrumentation
Some of my earliest work with SVG involved graphing data summarized from log files. In SVG Essentials, there was an example of a Weather Data page that would be updated by regenerating the page with XSLT. This approach seemed interesting, but did not really grab my attention.
Later, I was contracted to produce a dynamic display using SVG and the Batik Java library. In that system, SVG was only used to set up the base graphics. All of the interaction was performed in Java code.
After that project was over I began experimenting with dynamic controls that are defined in SVG and ECMAscript. Unfortunately, I'm still not very good at graphic design. This means the instruments are a little plain. But I have added a reasonable amount of functionality.
Demo
- Instruments.svg
- The demo code updates its data randomly without using an outside source of data. This demo updates the instruments directly without using the data feed protocol that I'm working on.
- asv_patch.es
- I developed this code using Batik's browser for viewing. Unfortunately, the Adobe SVG Viewer does not support quite as complete a version of the ECMAscript spec. I developed this code to correct some of the missing features that I needed.
- Instruments.es
- This ECMAscript file defines most of the instrument classes.
- StripChart.es
- This ECMAscript file defines the StripChart class.