CrystalCliGraph::Graph
Inherits Reference < Object
Constants
BAR_TOPPER = "▁"
COLUMN_BODY = "█"
Constructors
new(data : Array(Int32), options : Hash(Symbol, Bool | Int32 | String | Nil | Array(String)))
SourceInstance methods
data
Sourcegenerate
Sourcegenerate_columns_from_data(data : Array(Int32), fit_min : Bool, max_height : Int32, y_axis_label : String | Nil, max_width : Int32, column_labels : Array(String)) : Array(Column)
TODO REFACTOR ME! OMG SUCH COMPLEXITY!
get_graph_key_chars
Sourceget_padding_columns_count(data : Array(Int32), max_width : Int32, labels : Bool) : Int32
Source