ChartSeriesAttribute
namespace Griff.Scenes;
public sealed class ChartSeriesAttribute : RowsAttributeMarks a list of strings as a Chart’s series, one per row: a name, a color and optionally an output it samples, written “Cards: #4C9AFF = Cards Today”. The Inspector lists them a row each, the color picked and the output picked from what the chart’s Track entity gives.
Properties
Section titled “Properties”Columns
Section titled “Columns”public override IReadOnlyList<RowColumn> Columns { get; }Example
Section titled “Example”public override string Example { get; }public override string Noun { get; }Methods
Section titled “Methods”Describe
Section titled “Describe”public override string Describe()MoreChoices
Section titled “MoreChoices”public override IReadOnlyList<string> MoreChoices(int column, Component component, IProjectNames? names)NewRow
Section titled “NewRow”public override IReadOnlyList<string> NewRow()public static IReadOnlyList<ValueTuple<string, Color?, string>> Parse(IReadOnlyList<string>? rows)The series rows hold, as read: each one’s name, color (null for the palette’s) and output (null for none).
public override IReadOnlyList<string>? Read(string row)public override string Write(IReadOnlyList<string> cells)