Documentation
¶
Overview ¶
Package examples includes various examples of using the ntcharts package.
Directories
¶
| Path | Synopsis |
|---|---|
|
barchart
|
|
|
horizontal
command
|
|
|
vertical
command
|
|
|
canvas
|
|
|
logo
command
|
|
|
examples/chartpicture/main.go
|
examples/chartpicture/main.go |
|
Command combo-categorical prints a categorical bar/line combo.
|
Command combo-categorical prints a categorical bar/line combo. |
|
Command combo-timeseries-bar demonstrates ntcharts' multi-surface spec package by building a single chart specification and rendering it to both a terminal and an ECharts HTML file.
|
Command combo-timeseries-bar demonstrates ntcharts' multi-surface spec package by building a single chart specification and rendering it to both a terminal and an ECharts HTML file. |
|
graph
|
|
|
braille
command
|
|
|
candlesticks
command
|
|
|
circles
command
|
|
|
columns
command
|
|
|
lines
command
|
|
|
rows
command
|
|
|
heatmap
|
|
|
aoc2024
command
|
|
|
functor
command
|
|
|
heatcalc
command
|
|
|
labels
command
Labels shows a heatmap drawn as a grid of filled cells with row and column names: visits by day of the week and time of day.
|
Labels shows a heatmap drawn as a grid of filled cells with row and column names: visits by day of the week and time of day. |
|
perlin
command
|
|
|
simple
command
|
|
|
heatpicture
|
|
|
perlin
command
|
|
|
linechart
|
|
|
circles
command
|
|
|
dualaxis
command
Dualaxis shows two series on very different scales sharing one time axis: a load between 0 and 1 on the left Y axis and a temperature between 5 and 20 C on the right Y axis.
|
Dualaxis shows two series on very different scales sharing one time axis: a load between 0 and 1 on the left Y axis and a temperature between 5 and 20 C on the right Y axis. |
|
lines
command
|
|
|
logscale
command
Logscale shows a timeseries linechart on a logarithmic Y axis.
|
Logscale shows a timeseries linechart on a logarithmic Y axis. |
|
scatter
command
|
|
|
streaming
command
|
|
|
throughput
command
Throughput keeps one minute of transfer speeds and fits Y to that window.
|
Throughput keeps one minute of transfer speeds and fits Y to that window. |
|
timeseries
command
|
|
|
wavelines
command
|
|
|
Command ohlc-volume renders one OHLCV spec in the terminal and optionally HTML.
|
Command ohlc-volume renders one OHLCV spec in the terminal and optionally HTML. |
|
examples/picture/main.go
|
examples/picture/main.go |
|
grid
command
|
|
|
simple
command
examples/picture/simple/main.go
|
examples/picture/simple/main.go |
|
Quickstart is a tutorial creating a simple timeserieslinechart that uses keyboard and mouse for zooming in and out, and moving the chart right and left.
|
Quickstart is a tutorial creating a simple timeserieslinechart that uses keyboard and mouse for zooming in and out, and moving the chart right and left. |
Click to show internal directories.
Click to hide internal directories.

























