ChartStateTimelineOptionsFluent
ChartForgeX.Core
The fluent methods of ChartStateTimelineOptions, 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
- ChartStateTimelineOptionsFluent
Methods
public static ChartStateTimelineOptions Categories(ChartStateTimelineOptions chartStateTimelineOptions, IEnumerable<ChartStateCategory> items) #Adds items to ChartStateTimelineOptions.Categories: Gets the categorical state map shared by state timelines and categorical heatmaps, in legend order. Keys that are not registered render in the theme's muted colour and show the raw key. The category legend is drawn at the bottom when ChartLegendOptions.Visible is enabled (heatmaps also require ChartHeatmapOptions.ShowCategoryLegend); ChartLegendOptions.Position does not apply to it.
Parameters
- chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartStateCategory>
- The items, in order.
public static ChartStateTimelineOptions Category(ChartStateTimelineOptions chartStateTimelineOptions, ChartStateCategory item) #Adds an item to ChartStateTimelineOptions.Categories: Gets the categorical state map shared by state timelines and categorical heatmaps, in legend order. Keys that are not registered render in the theme's muted colour and show the raw key. The category legend is drawn at the bottom when ChartLegendOptions.Visible is enabled (heatmaps also require ChartHeatmapOptions.ShowCategoryLegend); ChartLegendOptions.Position does not apply to it.
Parameters
- chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions
- The instance.
- item ChartForgeX.Core.ChartStateCategory
- The item.
public static ChartStateTimelineOptions Group(ChartStateTimelineOptions chartStateTimelineOptions, ChartLaneGroup item) #Adds an item to ChartStateTimelineOptions.Groups: Gets the nested lane groups shared by state timeline and Gantt lanes, in registration order. A lane whose group matches a registered ID is listed under that group and every ancestor; any other group text keeps the single-level header. Use Chart.AddLaneGroup so parents are validated.
Parameters
- chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions
- The instance.
- item ChartForgeX.Core.ChartLaneGroup
- The item.
public static ChartStateTimelineOptions Groups(ChartStateTimelineOptions chartStateTimelineOptions, IEnumerable<ChartLaneGroup> items) #Adds items to ChartStateTimelineOptions.Groups: Gets the nested lane groups shared by state timeline and Gantt lanes, in registration order. A lane whose group matches a registered ID is listed under that group and every ancestor; any other group text keeps the single-level header. Use Chart.AddLaneGroup so parents are validated.
Parameters
- chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartLaneGroup>
- The items, in order.
public static ChartStateTimelineOptions PinColorsInForcedColors(ChartStateTimelineOptions chartStateTimelineOptions, bool value = true) #Sets ChartStateTimelineOptions.PinColorsInForcedColors: Gets or sets whether SVG output keeps state marks in their colours in forced-colours mode (Windows high contrast): marks with a status (data-cfx-status: state timeline segments, Gantt lane items, categorical heatmap cells, legend swatches, and also semantic heatmap cells and the calendar no-data swatch) and the hatch and outline drawn over them get forced-color-adjust:none, as report views do for their status chips. Off by default, so forced colours apply as usual. A host that also remaps its colour variables in forced-colours mode must keep the values of the variables these marks use, because custom properties are not affected by forced-color-adjust. PNG output is not affected.
Parameters
- chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartStateTimelineOptions { PinColorsInForcedColors = value }; chartStateTimelineOptions.PinColorsInForcedColors(value);public static ChartStateTimelineOptions SummaryHeader(ChartStateTimelineOptions chartStateTimelineOptions, string? value) #Sets ChartStateTimelineOptions.SummaryHeader: Gets or sets the header for the right-hand summary column of state timelines. This remains an alias of ChartStateTimelineOptions.SummaryHeader for existing callers.
Parameters
- chartStateTimelineOptions ChartForgeX.Core.ChartStateTimelineOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartStateTimelineOptions { SummaryHeader = value }; chartStateTimelineOptions.SummaryHeader(value);