examples

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 0 Imported by: 0

README

Examples

Quickstart

This tutorial creates a simple Time Series Chart with two data sets utilizing the Bubble Tea framework, Lip Gloss for styling and BubbleZone for mouse support.

(source)
quickstart gif

Canvas

A Canvas provides a 2D grid to plot arbitrary runes supporting Lip Gloss styles and uses BubbleZone for mouse support.

(source)
logo canvas gif

Graphing

There are various graphing functions for drawing runes onto the Canvas.

Braille

(source)
braille graph gif

Candlesticks

(source)
candlesticks graph gif

Circles

(source)
circles graph gif

Columns

(source)
columns graph gif

Lines

(source)
lines graph gif

Rows

(source)
rows graph gif

Bar Chart

Barcharts displays values as either horizontal rows or vertical columns.

Rows

(source)
horizontal barchart gif

Columns

(source)
vertical barchart gif

Line Chart

Linecharts displays (X,Y) data points onto a 2D grid in various types of charts.

Circles

Circles can be displayed with a given point and radius.

(source)
circles linechart gif

Lines

Lines can be displayed between two points.

(source)
lines linechart gif

Scatter

Scatter charts can be created by plotting abitrary runes onto (X,Y) coordinates.

(source)
scatter linechart gif

Streaming

Streaming charts display a continuous a line moving across the Canvas from the right side to the left side.

(source)
streaming linechart gif

Time Series

Time series charts have values on the Y axis and time values on the X axis.

(source)
timeseries linechart gif

Wave Line

Wave line charts display a continuous a line going across the line chart.

(source)
wavelines linechart gif

Sparkline

Sparklines displays data moving across the Canvas from the right side to the left side.

(source)
sparkline gif

Documentation

Overview

Package examples includes various examples of using the ntcharts package.

Directories

Path Synopsis
barchart
canvas
graph
linechart
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.

Jump to

Keyboard shortcuts

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