namespace Terminal.Gui;
/// A single bar in a
public class BarSeriesBar
{
///
/// Creates a new instance of a single bar rendered in the given that extends out
/// graph space units in the default
///
///
///
///
public BarSeriesBar (string text, GraphCellToRender fill, float value)
{
Text = text;
Fill = fill;
Value = value;
}
/// The color and character that will be rendered in the console when the bar extends over it
public GraphCellToRender Fill { get; set; }
///
/// Optional text that describes the bar. This will be rendered on the corresponding unless
/// is false
///
public string Text { get; set; }
/// The value in graph space X/Y (depending on ) to which the bar extends.
public float Value { get; }
}