Class HorizontalLine

java.lang.Object
org.aesh.charts.common.HorizontalLine

public class HorizontalLine extends Object
A horizontal reference line drawn across the chart at a fixed Y value.

Used for threshold lines, baselines, targets, and other reference values.

Example:

 chart.addHorizontalLine(HorizontalLine.at(80.0)
         .label("threshold")
         .color(ANSI.RED_TEXT)
         .dashed(true));