ChartAxisGridStyleFluent
ChartForgeX.Core
Hand-written fluent methods of ChartAxisGridStyle that do more than set one property.
Inheritance
- object
- ChartAxisGridStyleFluent
Methods
public static ChartAxisGridStyle BandColor(ChartAxisGridStyle chartAxisGridStyle, ChartColor? value) #Sets ChartAxisGridStyle.BandColor: Gets or sets the band fill, or null for a neutral tint of the theme grid colour.
Parameters
- chartAxisGridStyle ChartForgeX.Core.ChartAxisGridStyle
- The instance.
- value ChartForgeX.Primitives.ChartColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxisGridStyle { BandColor = value }; chartAxisGridStyle.BandColor(value);public static ChartAxisGridStyle BandOpacity(ChartAxisGridStyle chartAxisGridStyle, double? value) #Sets ChartAxisGridStyle.BandOpacity: Gets or sets band opacity from zero to one, or null for 0.5 of the theme grid colour or 0.08 of an authored colour.
Parameters
- chartAxisGridStyle ChartForgeX.Core.ChartAxisGridStyle
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxisGridStyle { BandOpacity = value }; chartAxisGridStyle.BandOpacity(value);public static ChartAxisGridStyle Color(ChartAxisGridStyle chartAxisGridStyle, ChartColor? value) #Sets ChartAxisGridStyle.Color: Gets or sets the line colour, or null for the theme grid colour.
Parameters
- chartAxisGridStyle ChartForgeX.Core.ChartAxisGridStyle
- The instance.
- value ChartForgeX.Primitives.ChartColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxisGridStyle { Color = value }; chartAxisGridStyle.Color(value);public static ChartAxisGridStyle Dash(ChartAxisGridStyle chartAxisGridStyle, double dash, double gap) #Sets dash and gap lengths. A zero dash draws solid lines even when the chart grid is dashed.
Parameters
- chartAxisGridStyle ChartForgeX.Core.ChartAxisGridStyle
- dash double
- gap double
Returns
ChartAxisGridStylepublic static ChartAxisGridStyle MinorOpacity(ChartAxisGridStyle chartAxisGridStyle, double? value) #Sets ChartAxisGridStyle.MinorOpacity: Gets or sets minor line opacity, or null for half the major line opacity.
Parameters
- chartAxisGridStyle ChartForgeX.Core.ChartAxisGridStyle
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxisGridStyle { MinorOpacity = value }; chartAxisGridStyle.MinorOpacity(value);public static ChartAxisGridStyle Opacity(ChartAxisGridStyle chartAxisGridStyle, double? value) #Sets ChartAxisGridStyle.Opacity: Gets or sets major line opacity from zero to one, or null for the chart policy.
Parameters
- chartAxisGridStyle ChartForgeX.Core.ChartAxisGridStyle
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxisGridStyle { Opacity = value }; chartAxisGridStyle.Opacity(value);public static ChartAxisGridStyle ShowBands(ChartAxisGridStyle chartAxisGridStyle, bool value = true) #Sets ChartAxisGridStyle.ShowBands: Gets or sets whether every other interval between adjacent major ticks is filled.
Parameters
- chartAxisGridStyle ChartForgeX.Core.ChartAxisGridStyle
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxisGridStyle { ShowBands = value }; chartAxisGridStyle.ShowBands(value);public static ChartAxisGridStyle ShowLines(ChartAxisGridStyle chartAxisGridStyle, bool? value = true) #Sets ChartAxisGridStyle.ShowLines: Gets or sets whether this axis draws grid lines, or null to follow the chart's horizontal and vertical line policy.
Parameters
- chartAxisGridStyle ChartForgeX.Core.ChartAxisGridStyle
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxisGridStyle { ShowLines = value }; chartAxisGridStyle.ShowLines(value);public static ChartAxisGridStyle StrokeWidth(ChartAxisGridStyle chartAxisGridStyle, double? value) #Sets ChartAxisGridStyle.StrokeWidth: Gets or sets the line width in drawing units, or null for the chart policy.
Parameters
- chartAxisGridStyle ChartForgeX.Core.ChartAxisGridStyle
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxisGridStyle { StrokeWidth = value }; chartAxisGridStyle.StrokeWidth(value);