JourneyDiagramBlockFluent
ChartForgeX.VisualBlocks
The fluent methods of JourneyDiagramBlock, 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
- JourneyDiagramBlockFluent
Methods
public static JourneyDiagramBlock Accessibility(JourneyDiagramBlock journeyDiagramBlock, Action<VisualAccessibility> configure) #Configures VisualBlockOptions.Accessibility in place: Gets the text alternative, language, and decorative metadata used by static exports.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
- Configures the value.
public static JourneyDiagramBlock HostOwnsFrame(JourneyDiagramBlock journeyDiagramBlock, bool value = true) #Sets VisualBlockOptions.HostOwnsFrame: Gets or sets whether the host owns the frame, removing the surface and outer padding.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.JourneyDiagramBlock>)journeyDiagramBlock).Options.HostOwnsFrame = value; journeyDiagramBlock.HostOwnsFrame(value);public static JourneyDiagramBlock Options(JourneyDiagramBlock journeyDiagramBlock, Action<VisualBlockOptions> configure) #Configures VisualBlock<JourneyDiagramBlock>.Options in place: Gets shared rendering options.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions>
- Configures the value.
public static JourneyDiagramBlock Padding(JourneyDiagramBlock journeyDiagramBlock, ChartPadding value) #Sets VisualBlockOptions.Padding: Gets or sets the inner content padding.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value ChartForgeX.Primitives.ChartPadding
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.JourneyDiagramBlock>)journeyDiagramBlock).Options.Padding = value; journeyDiagramBlock.Padding(value);public static JourneyDiagramBlock RasterScale(JourneyDiagramBlock journeyDiagramBlock, int value) #Sets VisualBlockOptions.RasterScale: Gets or sets the output pixel multiplier used by PNG exports.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.JourneyDiagramBlock>)journeyDiagramBlock).Options.RasterScale = value; journeyDiagramBlock.RasterScale(value);public static JourneyDiagramBlock ShowCard(JourneyDiagramBlock journeyDiagramBlock, bool value = true) #Sets VisualBlockOptions.ShowCard: Gets or sets whether the outer card surface should be rendered.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.JourneyDiagramBlock>)journeyDiagramBlock).Options.ShowCard = value; journeyDiagramBlock.ShowCard(value);public static JourneyDiagramBlock Size(JourneyDiagramBlock journeyDiagramBlock, ChartSize value) #Sets VisualBlockOptions.Size: Gets or sets the rendered block size in pixels.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value ChartForgeX.Primitives.ChartSize
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.JourneyDiagramBlock>)journeyDiagramBlock).Options.Size = value; journeyDiagramBlock.Size(value);public static JourneyDiagramBlock Subtitle(JourneyDiagramBlock journeyDiagramBlock, string value) #Sets VisualBlock<JourneyDiagramBlock>.Subtitle: Gets or sets the block subtitle.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.JourneyDiagramBlock { Subtitle = value }; journeyDiagramBlock.Subtitle(value);public static JourneyDiagramBlock SvgColorVariables(JourneyDiagramBlock journeyDiagramBlock, SvgColorVariables? value) #Sets VisualBlockOptions.SvgColorVariables: Gets or sets the CSS custom properties SVG output writes for theme colours, matched by colour value (see SvgColorVariables.Apply), for example SvgColorVariables.SharedRoles of this theme and mode. Null (the default) writes literal colours; PNG output always does.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value ChartForgeX.Themes.SvgColorVariables?
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.JourneyDiagramBlock>)journeyDiagramBlock).Options.SvgColorVariables = value; journeyDiagramBlock.SvgColorVariables(value);public static JourneyDiagramBlock Theme(JourneyDiagramBlock journeyDiagramBlock, VisualTheme value) #Sets VisualBlockOptions.Theme: Gets or sets the visual theme used by renderers.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value ChartForgeX.Themes.VisualTheme
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.JourneyDiagramBlock>)journeyDiagramBlock).Options.Theme = value; journeyDiagramBlock.Theme(value);public static JourneyDiagramBlock ThemeMode(JourneyDiagramBlock journeyDiagramBlock, ThemeMode value) #Sets VisualBlockOptions.ThemeMode: Gets or sets the explicit mode of the shared theme.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value ChartForgeX.ThemeMode
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.JourneyDiagramBlock>)journeyDiagramBlock).Options.ThemeMode = value; journeyDiagramBlock.ThemeMode(value);public static JourneyDiagramBlock Title(JourneyDiagramBlock journeyDiagramBlock, string value) #Sets VisualBlock<JourneyDiagramBlock>.Title: Gets or sets the block title.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.JourneyDiagramBlock { Title = value }; journeyDiagramBlock.Title(value);public static JourneyDiagramBlock TransparentBackground(JourneyDiagramBlock journeyDiagramBlock, bool value = true) #Sets VisualBlockOptions.TransparentBackground: Gets or sets whether the full background should stay transparent.
Parameters
- journeyDiagramBlock ChartForgeX.VisualBlocks.JourneyDiagramBlock
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.JourneyDiagramBlock>)journeyDiagramBlock).Options.TransparentBackground = value; journeyDiagramBlock.TransparentBackground(value);