OGE logoOGE

Axes & layout

Layout depth of the cartesian chart: rotated charts (horizontal bars, top-down lines), panes stacked over one argument axis, value- and argument-axis constant lines and strips, axis breaks, fixed tick intervals with minor ticks and label templates, right-to-left layout, two-finger pinch zoom on touch screens and a first-render draw-in animation. Everything is computed by the framework-free engine both render layers share; the series geometry stays the same and only the frame turns, so every series type rotates. The basics are on the overview.

rotated panes constant lines axis breaks RTL pinch zoom

Rotated bars

[rotated]="true" swaps the axes: the argument axis runs down the left and values grow to the right. Every series type follows — these stackedBar series become horizontal stacked bars — and so do the tooltip, the crosshair, zoom and the keyboard (Up/Down walk the categories, Left/Right the series).

rotated stackedBar Up/Down keys
North East South West Central 0 200 400 600 Units sold
Chart data
ArgumentOnlineRetail
North420310
East380260
South290340
West510220
Central240180

Constant lines & strips

constantLines draw a threshold or target at an axis value with a label — inside beside the line, or position: 'outside' past the plot edge — and strips shade a band. Both work on the value and on the argument axis, take any colour (theme tokens included) and keep their labels clear of the plot edges.

constantLines strips inside / outside labels
Freeze Release 2.0 Comfort zone SLO 250 ms Goal Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 150 200 250
Chart data
Argumentp95 latency (ms)
Jan180
Feb223
Mar253
Apr261
May246
Jun214
Jul178
Aug150
Sep142
Oct158
Nov193
Dec237

Panes (price + volume)

panes stack plot areas over one shared argument axis; series and value axes pick theirs by pane name, and each pane gets its own height ratio. The crosshair runs through every pane, zoom and pan move them together, and the range selector's periods (1M / 3M / 6M / YTD / 1Y / All) set the same window.

panes shared crosshair period buttons
Sep 25 Nov 25 Jan 26 Mar 26 May 26 100 120 140 0 Price Volume
Chart data
ArgumentOGEVolume
Sep 1, 2025O 100 H 102 L 98 C 1004,200
Sep 2, 2025O 101.405 H 106.38 L 99.405 C 104.384,068
Sep 3, 2025O 102.803 H 104.803 L 100.036 C 102.0363,686
Sep 4, 2025O 104.188 H 106.188 L 99.41 C 101.413,097
Sep 5, 2025O 105.553 H 109.036 L 103.553 C 107.0362,365
Sep 6, 2025O 106.893 H 111.288 L 104.893 C 109.2882,030
Sep 7, 2025O 108.2 H 110.2 L 104.101 C 106.1012,799
Sep 8, 2025O 109.47 H 111.47 L 105.615 C 107.6153,458
Sep 9, 2025O 110.695 H 115.273 L 108.695 C 113.2733,934
Sep 10, 2025O 111.871 H 115.061 L 109.871 C 113.0614,176
Sep 11, 2025O 112.991 H 114.991 L 108.107 C 110.1074,156
Sep 12, 2025O 114.052 H 116.052 L 111.605 C 113.6053,877
Sep 13, 2025O 115.048 H 120.047 L 113.048 C 118.0473,369
Sep 14, 2025O 115.974 H 117.974 L 113.648 C 115.6482,688
Sep 15, 2025O 116.826 H 118.826 L 111.911 C 113.9111,910
Sep 16, 2025O 117.602 H 120.679 L 115.602 C 118.6792,481
Sep 17, 2025O 118.297 H 122.935 L 116.297 C 120.9353,196
Sep 18, 2025O 118.908 H 120.908 L 115.151 C 117.1513,758
Sep 19, 2025O 119.433 H 121.433 L 115.248 C 117.2484,104
Sep 20, 2025O 119.871 H 124.191 L 117.871 C 122.1914,197
Sep 21, 2025O 120.218 H 123.806 L 118.218 C 121.8064,026
Sep 22, 2025O 120.475 H 122.475 L 115.746 C 117.7463,609
Sep 23, 2025O 120.64 H 122.64 L 117.756 C 119.7562,994
Sep 24, 2025O 120.713 H 125.67 L 118.713 C 123.672,247
Sep 25, 2025O 120.695 H 122.817 L 118.695 C 120.8172,149
Sep 26, 2025O 120.586 H 122.586 L 115.598 C 117.5982,907
Sep 27, 2025O 120.387 H 123.035 L 118.387 C 121.0353,543
Sep 28, 2025O 120.1 H 124.921 L 118.1 C 122.9213,987
Sep 29, 2025O 119.727 H 121.727 L 116.352 C 118.3524,190
Sep 30, 2025O 119.271 H 121.271 L 114.804 C 116.8044,130
Oct 1, 2025O 118.734 H 122.745 L 116.734 C 120.7453,814
Oct 2, 2025O 118.12 H 122.069 L 116.12 C 120.0693,276
Oct 3, 2025O 117.433 H 119.433 L 112.92 C 114.922,575
Oct 4, 2025O 116.676 H 118.676 L 113.375 C 115.3751,811
Oct 5, 2025O 115.854 H 120.702 L 113.854 C 118.7022,595
Oct 6, 2025O 114.972 H 117.54 L 112.972 C 115.543,292
Oct 7, 2025O 114.036 H 116.036 L 109.041 C 111.0413,825
Oct 8, 2025O 113.05 H 115.254 L 111.05 C 113.2544,135
Oct 9, 2025O 112.02 H 116.961 L 110.02 C 114.9614,188
Oct 10, 2025O 110.951 H 112.951 L 107.989 C 109.9893,978
Oct 11, 2025O 109.851 H 111.851 L 105.158 C 107.1583,528
Oct 12, 2025O 108.725 H 112.382 L 106.725 C 110.3822,888
Oct 13, 2025O 107.58 H 111.847 L 105.58 C 109.8472,128
Oct 14, 2025O 106.422 H 108.422 L 102.181 C 104.1812,268
Oct 15, 2025O 105.257 H 107.257 L 101.568 C 103.5683,012
Oct 16, 2025O 104.093 H 108.769 L 102.093 C 106.7693,623
Oct 17, 2025O 102.935 H 105.935 L 100.935 C 103.9354,034
Oct 18, 2025O 101.79 H 103.79 L 96.856 C 98.8564,198
Oct 19, 2025O 100.665 H 102.665 L 98.421 C 100.4214,098
Oct 20, 2025O 99.566 H 104.562 L 97.566 C 102.5623,746
Sep 25 Nov 25 Jan 26 Mar 26 May 26

Axis breaks

One outlier would flatten every other bar. breaks skip value ranges on a linear value axis: the gap is drawn with a zig-zag marker, no tick lands inside it and bars crossing it show the cut.

breaks zig-zag marker outliers
84 112 1,010 96 61 Search Billing Platform Mobile Data 0 50 100 950 1,000 1,050
Chart data
ArgumentOpen tickets
Search84
Billing112
Platform1,010
Mobile96
Data61

Ticks & labels

tickInterval fixes the tick distance — axis units, or a calendar interval such as { weeks: 1 } on time axes; minorTicks adds ticks and grid lines between; allowDecimals: false keeps whole numbers. label.format takes Intl options or a function, label.template wraps the text and label.overlap picks rotate / stagger / hide / skip.

tickInterval minorTicks label template stagger
Mar 2 Mar 9 Mar 16 Mar 23 Mar 30 Apr 6 Apr 13 Apr 20 Apr 27 May 4 10 °C 12 °C 14 °C 16 °C 18 °C 20 °C 22 °C
Chart data
ArgumentDaily high
Mar 2, 20269
Mar 3, 202610
Mar 4, 202610
Mar 5, 202611
Mar 6, 202612
Mar 7, 202612
Mar 8, 202613
Mar 9, 202613
Mar 10, 202614
Mar 11, 202614
Mar 12, 202615
Mar 13, 202615
Mar 14, 202615
Mar 15, 202616
Mar 16, 202616
Mar 17, 202616
Mar 18, 202616
Mar 19, 202616
Mar 20, 202616
Mar 21, 202616
Mar 22, 202615
Mar 23, 202615
Mar 24, 202615
Mar 25, 202615
Mar 26, 202614
Mar 27, 202614
Mar 28, 202614
Mar 29, 202613
Mar 30, 202613
Mar 31, 202612
Apr 1, 202612
Apr 2, 202611
Apr 3, 202611
Apr 4, 202611
Apr 5, 202610
Apr 6, 202610
Apr 7, 202610
Apr 8, 202610
Apr 9, 20269
Apr 10, 20269
Apr 11, 20269
Apr 12, 20269
Apr 13, 20269
Apr 14, 20269
Apr 15, 202610
Apr 16, 202610
Apr 17, 202610
Apr 18, 202611
Apr 19, 202611
Apr 20, 202611

RTL & touch

rtlEnabled (unset follows the page's dir) mirrors the argument axis, moves the value axis to the right, flips the legend and the tooltip side and swaps the Left/Right arrow keys. On touch screens two fingers pinch-zoom and pan the plot; one finger pans when panEnabled is on, otherwise it drag-zooms.

rtlEnabled pinch zoom two-finger pan
5 10 15 20 25 30 0 200 400 600
Chart data
ArgumentVisitsOrders
140080
244781
349082
452581
554979
655976
755773
854370
951968
1048965
1145764
1242864
1340564
1439366
1539269
1640574
1743079
1846785
1951092
2055899
21605106
22647112
23680118
24702123
25711127
26706130
27691132
28665132
29635131
30603129

Draw-in animation

The first render draws each series in from its value baseline — bars grow, lines rise. animation takes true / false or { enabled, duration, easing }; prefers-reduced-motion always switches it off.

animation duration easing reduced motion
Q1 Q2 Q3 Q4 0 50 100 150
Chart data
ArgumentRevenueCost
Q112080
Q215092
Q3138101
Q4190110