Line chart
Line chart shows data points as connected line segments. It is commonly used to track trends, changes over time, and compare multiple data series.
Developers: To add the viewer from the console, use:
grok.shell.tv.addViewer('Line chart');
General:
| Right click | Context menu |
| Alt+Mouse Drag | Zoom |
| Alt+F | Show in full screen |
| Shift+Mouse Drag | Select |
| Up, Down, Left, Right | Scroll |
| Ctrl - | Zoom out |
| Ctrl + | Zoom in |
| Shift+drag axes | Select segments |

Custom aggregated tooltip
The line chart supports tooltips for both single and aggregated values. The default single-value tooltip is inherited from the grid. The default aggregated tooltip displays axis values and can be customized to show additional summary statistics.
To configure a custom aggregated tooltip, go to Context menu > Tooltip > Edit. This opens the aggregated tooltip dialog, where you can select the columns and corresponding aggregation functions. Available aggregation functions depend on the column type.
Supported aggregation functions
| Column type | Aggregation functions |
|---|---|
| Numerical | min, max, sum, avg, med, geomean,count, values, unique, nulls,stdev, variance, skew, kurt,q1, q2, q3, first |
| Categorical | first, count, values, unique,nulls, values or unique count,concat all, concat unique,l ongest, shortest,most frequent, concat counts |
| Date | first, count, values, unique, nulls,min, max, avg,range |

Statistical Process Control
Line chart supports Statistical Process Control (SPC) features out of the box, including contol limits and adjustable rules.

Videos
See also:
