demo

command
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Command demo opens a chart in a native window.

go run ./cmd/demo

Hover to see what is under the pointer, drag to pan, turn the wheel to zoom about it, and double click to go back to the whole signal. Resize the window and the chart is laid out again at the size it now has; because the plot is refract.Responsive, its type and stroke weights follow.

It is here rather than in the repository's examples directory because it needs this module: the core's examples are built by a module that depends on nothing, and a window is a dependency.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL