class RatatuiRuby::Dataset
A single line on a chart.
- name
-
The name of the dataset.
- data
-
Array of arrays [[x, y], [x, y]] (Floats).
- color
-
The color of the line.
Public Class Methods
Source
# File lib/ratatui_ruby/schema/line_chart.rb, line 17 def initialize(name:, data:, color: "white") super end
- name
-
The name of the dataset.
- data
-
Array of arrays [[x, y], [x, y]] (Floats).
- color
-
The color of the line.
Calls superclass method