Esacode

Docs / Blocks / Visualizers

Chart

Lines, areas, steps, points, bars or a histogram, from a table or a live stream.

A view in the browser (JavaScript) Visualizers Version 1.2 Code you can open and adapt

How it works

Connect a table, a Telemetry block or a block's live telemetry. Choose the column for the horizontal axis and the columns to draw (comma-separated). With a stream, the chart grows while the run goes on; "Last points" keeps only the newest ones (a scrolling chart). Drag across the chart to zoom, double-click to zoom out. A histogram counts the values of the first column chosen.

Inputs

InputTakesWhat it is
Data
data
Table or Stream or Metrics
csv, tsv, json
Rows of a table, or live values from a Telemetry block Takes several connections.

Settings

SettingDefaultWhat it does
Kind
kind
line
One of: line, area, step, points, bars, histogram
Horizontal axis
x
empty Column or field; empty = row number or time
Values
y
empty Comma-separated; empty = every number
Stream channel
channel
empty
Last points
last
0 Keep only the newest points (0 = all): a scrolling live chart
From 0 to 1000000
Histogram bins
bins
30
From 2 to 500
Lowest value shown
ymin
empty Empty = automatic
Highest value shown
ymax
empty Empty = automatic
Title
title
empty

Where it runs

In the browser, on the flow's View page and in the run's results, in a sandbox without network access. It needs no worker.

More in Visualizers