ChartAxisFluent
ChartForgeX.Core
Hand-written fluent methods of ChartAxis that do more than set one property.
Inheritance
- object
- ChartAxisFluent
Methods
public static ChartAxis CrossAt(ChartAxis chartAxis, double? value) #Sets ChartAxis.CrossAt: Gets or sets the opposite primary physical coordinate for the complete Cartesian axis, or null for the frame edge.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { CrossAt = value }; chartAxis.CrossAt(value);public static ChartAxis Culture(ChartAxis chartAxis, CultureInfo? culture) #Sets the culture for this axis's tick labels and tooltips, or null for the invariant formatting.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance to configure.
- culture System.Globalization.CultureInfo?
- The culture; it is stored read-only.
public static ChartAxis Grid(ChartAxis chartAxis, ChartAxisGridStyle? value) #Sets ChartAxis.Grid: Gets or sets this axis's grid styling, or null to use the chart grid style.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value ChartForgeX.Core.ChartAxisGridStyle?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { Grid = value }; chartAxis.Grid(value);public static ChartAxis Grid(ChartAxis chartAxis, Action<ChartAxisGridStyle> configure) #Configures a copy of ChartAxis.Grid (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets this axis's grid styling, or null to use the chart grid style.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- configure System.Action<ChartForgeX.Core.ChartAxisGridStyle>
- Configures the copy.
public static ChartAxis IntegerTicks(ChartAxis chartAxis, bool value = true) #Sets ChartAxis.IntegerTicks: Gets or sets whether generated linear ticks use whole-number positions and steps of at least one. Explicit labels and other scales retain their own tick policy.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { IntegerTicks = value }; chartAxis.IntegerTicks(value);public static ChartAxis Label(ChartAxis chartAxis, ChartAxisLabel item) #Adds an item to ChartAxis.Labels: Gets explicit value-to-label mappings.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- item ChartForgeX.Core.ChartAxisLabel
- The item.
public static ChartAxis LabelAngle(ChartAxis chartAxis, double value) #Sets ChartAxis.LabelAngle: Gets or sets label rotation in degrees, or an offset from the selected relative orientation.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { LabelAngle = value }; chartAxis.LabelAngle(value);public static ChartAxis LabelBy(ChartAxis chartAxis, Func<double, string>? value) #Sets ChartAxis.LabelFormatter: Gets or sets a formatter for generated labels.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value System.Func<double, string>?
- The callback.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { LabelFormatter = value }; chartAxis.LabelBy(value);public static ChartAxis LabelDensity(ChartAxis chartAxis, ChartLabelDensity value) #Sets ChartAxis.LabelDensity: Gets or sets label density.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value ChartForgeX.Core.ChartLabelDensity
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { LabelDensity = value }; chartAxis.LabelDensity(value);public static ChartAxis LabelOrientation(ChartAxis chartAxis, ChartAxisLabelOrientation value) #Sets ChartAxis.LabelOrientation: Gets or sets how labels follow the axis. The default is a fixed screen orientation.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value ChartForgeX.Core.ChartAxisLabelOrientation
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { LabelOrientation = value }; chartAxis.LabelOrientation(value);public static ChartAxis Labels(ChartAxis chartAxis, IEnumerable<ChartAxisLabel> items) #Adds items to ChartAxis.Labels: Gets explicit value-to-label mappings.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartAxisLabel>
- The items, in order.
public static ChartAxis LogarithmBase(ChartAxis chartAxis, double value) #Sets ChartAxis.LogarithmBase: Gets or sets the finite base greater than one used by logarithmic and symmetric logarithmic scales. Default: ten.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { LogarithmBase = value }; chartAxis.LogarithmBase(value);public static ChartAxis LogarithmicDomain(ChartAxis chartAxis, ChartLogarithmicDomain value) #Sets ChartAxis.LogarithmicDomain: Gets or sets the explicitly accepted sign domain for a logarithmic scale. Default: positive.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value ChartForgeX.Core.ChartLogarithmicDomain
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { LogarithmicDomain = value }; chartAxis.LogarithmicDomain(value);public static ChartAxis Max(ChartAxis chartAxis, double? value) #Sets ChartAxis.Max: Gets or sets an explicit maximum. Null enables automatic bounds.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { Max = value }; chartAxis.Max(value);public static ChartAxis Min(ChartAxis chartAxis, double? value) #Sets ChartAxis.Min: Gets or sets an explicit minimum. Null enables automatic bounds.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { Min = value }; chartAxis.Min(value);public static ChartAxis MinorTickCount(ChartAxis chartAxis, int value) #Sets ChartAxis.MinorTickCount: Gets the number of minor ticks between adjacent major ticks. Zero, the default, draws none.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { MinorTickCount = value }; chartAxis.MinorTickCount(value);public static ChartAxis Reversed(ChartAxis chartAxis, bool value = true) #Sets ChartAxis.Reversed: Gets or sets whether increasing values advance in the reverse visual direction. Bounds and source labels keep their original values.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { Reversed = value }; chartAxis.Reversed(value);public static ChartAxis RuleCrossAt(ChartAxis chartAxis, double? value) #Sets ChartAxis.RuleCrossAt: Gets or sets the coordinate on the opposite primary physical axis at which this axis rule is drawn. Null retains its frame edge.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { RuleCrossAt = value }; chartAxis.RuleCrossAt(value);public static ChartAxis Scale(ChartAxis chartAxis, ChartScaleKind value) #Sets ChartAxis.Scale: Gets or sets the mathematical axis scale.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value ChartForgeX.Core.ChartScaleKind
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { Scale = value }; chartAxis.Scale(value);public static ChartAxis ShowLine(ChartAxis chartAxis, bool value = true) #Sets ChartAxis.ShowLine: Gets or sets a value indicating whether the axis rule is visible.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { ShowLine = value }; chartAxis.ShowLine(value);public static ChartAxis ShowTimeZone(ChartAxis chartAxis, bool value = true) #Sets ChartAxis.ShowTimeZone: Gets or sets a value indicating whether time axes append the time-zone designator to the axis title, or show it as the title when no title is set. Horizontal line charts also decorate their physical Y category title.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { ShowTimeZone = value }; chartAxis.ShowTimeZone(value);public static ChartAxis SymmetricLogarithmThreshold(ChartAxis chartAxis, double value) #Sets ChartAxis.SymmetricLogarithmThreshold: Gets or sets the positive linear threshold used by symmetric logarithmic scaling.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { SymmetricLogarithmThreshold = value }; chartAxis.SymmetricLogarithmThreshold(value);public static ChartAxis TickCount(ChartAxis chartAxis, int value) #Sets ChartAxis.TickCount: Gets or sets the preferred number of generated ticks. An explicit value limits automatic fitting; the default lets measured horizontal numeric and time labels use the available room.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { TickCount = value }; chartAxis.TickCount(value);public static ChartAxis TickStep(ChartAxis chartAxis, double step) #Places generated ticks at whole multiples of a positive step in data units.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance to configure.
- step double
- A finite step greater than zero. On logarithmic axes, a whole number of powers.
public static ChartAxis TickStep(ChartAxis chartAxis, ChartTimeTickInterval step) #Places time-axis ticks on fixed calendar boundaries, such as every month or every six hours.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance to configure.
- step ChartForgeX.Core.ChartTimeTickInterval
- The calendar interval.
public static ChartAxis TickValues(ChartAxis chartAxis, params double[] values) #Places ticks at exactly these values; captions still use the axis formatter.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance to configure.
- values double[]
- Up to ChartAxis.MaximumTickValues finite values. Duplicates are merged and order does not matter.
public static ChartAxis TickValues(ChartAxis chartAxis, IEnumerable<double> values) #Places ticks at exactly these values; captions still use the axis formatter.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance to configure.
- values System.Collections.Generic.IEnumerable<double>
- Up to ChartAxis.MaximumTickValues finite values. Duplicates are merged and order does not matter.
public static ChartAxis TimeSessions(ChartAxis chartAxis, ChartTimeSessionDomain? domain) #Selects a time scale with an explicit shared session domain; null restores continuous elapsed time.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance to configure.
- domain ChartForgeX.Core.ChartTimeSessionDomain?
- The immutable included intervals, or null to remove compression.
public static ChartAxis TimeSpacing(ChartAxis chartAxis, ChartTimeSpacing? spacing) #Selects a time scale and an explicit spacing policy; null restores elapsed-time spacing.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- spacing ChartForgeX.Core.ChartTimeSpacing?
Returns
ChartAxispublic static ChartAxis TimeZone(ChartAxis chartAxis, TimeZoneInfo? value) #Sets ChartAxis.TimeZone: Gets or sets the display time zone for ChartScaleKind.Time axes. Axis values are UTC instants; null keeps ticks and labels in UTC. A zone moves tick alignment and labels to that zone's wall-clock time.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value System.TimeZoneInfo?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { TimeZone = value }; chartAxis.TimeZone(value);public static ChartAxis TimeZoneLabel(ChartAxis chartAxis, string? value) #Sets ChartAxis.TimeZoneLabel: Gets or sets the time-zone designator shown when ChartAxis.ShowTimeZone is enabled. Null uses UTC when ChartAxis.TimeZone is null, otherwise the zone identifier. Zone identifiers differ between Windows and IANA systems, so set an explicit label when output must match across platforms.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { TimeZoneLabel = value }; chartAxis.TimeZoneLabel(value);public static ChartAxis Title(ChartAxis chartAxis, string value) #Sets ChartAxis.Title: Gets or sets the axis title. An empty title draws none.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { Title = value }; chartAxis.Title(value);public static ChartAxis ValueFormat(ChartAxis chartAxis, ChartValueFormat? value) #Sets ChartAxis.ValueFormat: Gets or sets the numeric display policy. Null uses the chart fallback or the scale-aware default for time axes.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value ChartForgeX.Core.ChartValueFormat?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { ValueFormat = value }; chartAxis.ValueFormat(value);public static ChartAxis Visible(ChartAxis chartAxis, bool value = true) #Sets ChartAxis.Visible: Gets or sets a value indicating whether the axis and its labels are visible.
Parameters
- chartAxis ChartForgeX.Core.ChartAxis
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartAxis { Visible = value }; chartAxis.Visible(value);