Altair® Panopticon

 

[6] Axis Graphs

 

With the 2023.0 release, Axis Graphs were introduced in Panopticon. These new Axis Graphs are the recommended visualization components to use for all use cases that they can meet. The Axis Graphs should be used with priority over the legacy graphs presented in this document, for example the different varieties of bar graphs, needle graphs, and line graphs.

Axis Graphs are different from the visualization parts available since before in Panopticon in the following ways:

q  The same part can produce several different graph types, such as line, bar, etc.

q  The same part can display multiple visualization layers superimposed

q  The same part can display multiple visualizations juxta positioned, i.e., side by side

q  The same part can use any kind of data type on the main axis: Numeric, Text, Continuous Time, Time Buckets, or Time Series Transformed continuous time.

There are two different Axis Graphs: X-Axis Graph and Y-Axis Graph. As the names imply, X-Axis Graphs use the X-axis as the main axis, while Y-Axis Graphs use the Y-axis as the main axis. For example, a line graph where the line goes from left to right would be created with the X-Axis Graph, while a bar graph where the bars are drawn horizontally would be created with the Y-Axis Graph.

In an Axis Graph, you have the freedom to change from one data column to another on the main axis while designing the graph, even if it means changing from one data type to another. This capability provides full freedom to build graphs in an iterative, exploratory manner. This can be contrasted against the inherent limitation of the legacy visualization parts, which require that the data type of the main axis is decided à priori.

 

X-Axis Graph

Y-Axis Graph

Main axis (domain axis)

X-axis

Y-axis

Numeric columns

Yes

Yes

Text columns, nominal mode

Yes

Yes

Text columns, series mode

Yes

Yes

Time Bucket columns

Yes

Yes

Time columns

Yes

No

Time Series Transformed time columns

Yes

No

X-Axis Graph

The following visualization types are available in the X-Axis Graph:

X-Axis Graph

Nominal

(Text)

Series

(Numeric)

Series

(Text)

Time

Time

(Time Series Transformed)

Area

--

Yes

Yes

Yes

Yes

Band

--

Yes

Yes

Yes

Yes

Bar (Needle)

Yes

Yes

Yes

Yes

Yes

Box

Yes

Yes

Yes

Yes

Yes

Box Whisker

Yes

Yes

Yes

Yes

Yes

Dot

Yes

Yes

Yes

Yes

Yes

Line

Yes

Yes

Yes

Yes

Yes

OHLC

--

Yes

Yes

Yes

Yes

Order Book

--

--

--

--

Yes

Waterfall

Yes

--

Yes

--

--

Constant Reference Line

Yes

Yes

Yes

Yes

Yes

Constant Reference Band

Yes

Yes

Yes

Yes

Yes

Y-Axis Graph

The following visualization types are available in the Y-Axis Graph:

X-Axis Graph

Nominal

(Text)

Series

(Numeric)

Series

(Text)

Area

--

--

--

Band

Yes

Yes

Yes

Bar (Needle)

Yes

Yes

Yes

Box

Yes

Yes

Yes

Box Whisker

Yes

Yes

Yes

Dot

Yes

Yes

Yes

Line

Yes

Yes

Yes

OHLC

--

--

--

Order Book

--

--

--

Waterfall

--

--

--

Constant Reference Line

Yes

Yes

Yes

Constant Reference Band

Yes

Yes

Yes