Resources
Examples
Complete, runnable integrations.
Plain HTML host
The Quickstart script tag is a complete host with no framework. Plain buttons drive the engine from there:
<button id="add-histogram" type="button">Add histogram</button>
<button id="export-png" type="button">Export PNG</button>
<script>
// After the Quickstart code: `engine`, `view` and a 'rpm' column exist.
document.getElementById('add-histogram').onclick = () => {
const id = engine.charts.add('histogram', { title: 'RPM', settings: { histColumn: 'rpm', histBins: 40 } })
const el = document.body.appendChild(Object.assign(document.createElement('div'), { style: 'height: 300px' }))
engine.charts.mount(id, el)
}
document.getElementById('export-png').onclick = async () => {
const blob = await view.exportPng()
const a = Object.assign(document.createElement('a'), { href: URL.createObjectURL(blob), download: 'rpm.png' })
a.click()
URL.revokeObjectURL(a.href)
}
</script>This website
The live demo on the home page is the SDK running in this site.
Publishers
- The Python publishing package:
pip install kymoscope. - The collector, for data already in another system:
pip install kymoscope-collector.
Next steps
Start from the Quickstart or go straight to the engine reference.