ChartCalendarOptionsFluent
ChartForgeX.Core
The fluent methods of ChartCalendarOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- ChartCalendarOptionsFluent
Methods
public static ChartCalendarOptions CellSize(ChartCalendarOptions chartCalendarOptions, double? value) #Sets ChartCalendarOptions.CellSize: Gets or sets a preferred cell size in pixels, between two and two hundred. Cells shrink to fit the plot. Null fills the plot; a preferred size takes precedence over ChartCalendarOptions.MaximumCellSize.
Parameters
- chartCalendarOptions ChartForgeX.Core.ChartCalendarOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartCalendarOptions { CellSize = value }; chartCalendarOptions.CellSize(value);public static ChartCalendarOptions DayNames(ChartCalendarOptions chartCalendarOptions, IReadOnlyList<string>? value) #Sets ChartCalendarOptions.DayNames: Gets or sets seven non-empty weekday names indexed by DayOfWeek, Sunday first. Null uses invariant abbreviations. Both assignment and retrieval copy the names.
Parameters
- chartCalendarOptions ChartForgeX.Core.ChartCalendarOptions
- The instance.
- value System.Collections.Generic.IReadOnlyList<string>?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartCalendarOptions { DayNames = value }; chartCalendarOptions.DayNames(value);public static ChartCalendarOptions FirstDayOfWeek(ChartCalendarOptions chartCalendarOptions, DayOfWeek value) #Sets ChartCalendarOptions.FirstDayOfWeek: Gets or sets the weekday in the top row. Weeks begin on this day. Default: Sunday.
Parameters
- chartCalendarOptions ChartForgeX.Core.ChartCalendarOptions
- The instance.
- value System.DayOfWeek
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartCalendarOptions { FirstDayOfWeek = value }; chartCalendarOptions.FirstDayOfWeek(value);public static ChartCalendarOptions Gap(ChartCalendarOptions chartCalendarOptions, double? value) #Sets ChartCalendarOptions.Gap: Gets or sets a cell gap from zero to twenty-four pixels. Null chooses 3.5 px, or 2.5 px above 32 weeks.
Parameters
- chartCalendarOptions ChartForgeX.Core.ChartCalendarOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartCalendarOptions { Gap = value }; chartCalendarOptions.Gap(value);public static ChartCalendarOptions MaximumCellSize(ChartCalendarOptions chartCalendarOptions, double? value) #Sets ChartCalendarOptions.MaximumCellSize: Gets or sets the largest size, in pixels, cells grow to when filling the plot. Null leaves them unlimited.
Parameters
- chartCalendarOptions ChartForgeX.Core.ChartCalendarOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartCalendarOptions { MaximumCellSize = value }; chartCalendarOptions.MaximumCellSize(value);public static ChartCalendarOptions MonthNames(ChartCalendarOptions chartCalendarOptions, IReadOnlyList<string>? value) #Sets ChartCalendarOptions.MonthNames: Gets or sets twelve non-empty month names, January first. Null uses invariant abbreviations. Both assignment and retrieval copy the names.
Parameters
- chartCalendarOptions ChartForgeX.Core.ChartCalendarOptions
- The instance.
- value System.Collections.Generic.IReadOnlyList<string>?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartCalendarOptions { MonthNames = value }; chartCalendarOptions.MonthNames(value);