API Reference
Class
LineChartFluent
The fluent methods of LineChart, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- LineChartFluent
Methods
public static LineChart WithCapacity(LineChart lineChart, Int32 value) #Returns:
LineChartSets LineChart.Capacity: How many values each series keeps (default 512).
Parameters
- lineChart ConsoleMonster.Widgets.LineChart
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static LineChart WithHeight(LineChart lineChart, Int32 value) #Returns:
LineChartSets LineChart.Height: Rows for the plot including the x axis (default 8).
Parameters
- lineChart ConsoleMonster.Widgets.LineChart
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static LineChart WithMax(LineChart lineChart, Double? value) #Returns:
LineChartSets LineChart.Max: A fixed maximum for the y axis, or null.
Parameters
- lineChart ConsoleMonster.Widgets.LineChart
- The instance.
- value System.Double?
- The value.
Returns
The same instance.
public static LineChart WithMin(LineChart lineChart, Double? value) #Returns:
LineChartSets LineChart.Min: A fixed minimum for the y axis, or null (0 when all values are positive).
Parameters
- lineChart ConsoleMonster.Widgets.LineChart
- The instance.
- value System.Double?
- The value.
Returns
The same instance.
public static LineChart WithScatter(LineChart lineChart, Boolean value = true) #Returns:
LineChartSets LineChart.Scatter: Whether points are joined by lines (default) or drawn as a scatter.
Parameters
- lineChart ConsoleMonster.Widgets.LineChart
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static LineChart WithUnit(LineChart lineChart, String? value) #Returns:
LineChartSets LineChart.Unit: A unit appended to axis labels.
Parameters
- lineChart ConsoleMonster.Widgets.LineChart
- The instance.
- value System.String?
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?