FishboneDiagramBlock
ChartForgeX.VisualBlocks
A deterministic cause-and-effect fishbone diagram.
Inheritance
- VisualBlock<FishboneDiagramBlock>
- FishboneDiagramBlock
Usage
Explore 63 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 35
- Extension method MermaidIshikawaDocument.ToFishboneDiagramBlock
- Method MermaidIshikawaRendering.ToFishboneDiagramBlock
- Extension method FishboneDiagramBlock.Accessibility
- Extension method FishboneDiagramBlock.Effect
- Extension method FishboneDiagramBlock.HostOwnsFrame
- Extension method FishboneDiagramBlock.Options
- Extension method FishboneDiagramBlock.Padding
- Extension method FishboneDiagramBlock.RasterScale
- Extension method FishboneDiagramBlock.ShowCard
- Extension method FishboneDiagramBlock.Size
- Extension method FishboneDiagramBlock.Subtitle
- Extension method FishboneDiagramBlock.SvgColorVariables
- Extension method FishboneDiagramBlock.Theme
- Extension method FishboneDiagramBlock.ThemeMode
- Extension method FishboneDiagramBlock.Title
- Extension method FishboneDiagramBlock.TransparentBackground
- Method FishboneDiagramBlock.Create
- Method FishboneDiagramBlock.NaturalSize
- Method FishboneDiagramBlock.Padding
- Method FishboneDiagramBlock.Size
- Method FishboneDiagramBlock.Theme
- Method FishboneDiagramBlockFluent.Accessibility
- Method FishboneDiagramBlockFluent.Effect
- Method FishboneDiagramBlockFluent.HostOwnsFrame
- Method FishboneDiagramBlockFluent.Options
- Method FishboneDiagramBlockFluent.Padding
- Method FishboneDiagramBlockFluent.RasterScale
- Method FishboneDiagramBlockFluent.ShowCard
- Method FishboneDiagramBlockFluent.Size
- Method FishboneDiagramBlockFluent.Subtitle
- Method FishboneDiagramBlockFluent.SvgColorVariables
- Method FishboneDiagramBlockFluent.Theme
- Method FishboneDiagramBlockFluent.ThemeMode
- Method FishboneDiagramBlockFluent.Title
- Method FishboneDiagramBlockFluent.TransparentBackground
Accepted by parameters 28
- Extension method FishboneDiagramBlock.Accessibility
- Extension method FishboneDiagramBlock.Effect
- Extension method FishboneDiagramBlock.HostOwnsFrame
- Extension method FishboneDiagramBlock.Options
- Extension method FishboneDiagramBlock.Padding
- Extension method FishboneDiagramBlock.RasterScale
- Extension method FishboneDiagramBlock.ShowCard
- Extension method FishboneDiagramBlock.Size
- Extension method FishboneDiagramBlock.Subtitle
- Extension method FishboneDiagramBlock.SvgColorVariables
- Extension method FishboneDiagramBlock.Theme
- Extension method FishboneDiagramBlock.ThemeMode
- Extension method FishboneDiagramBlock.Title
- Extension method FishboneDiagramBlock.TransparentBackground
- Method FishboneDiagramBlockFluent.Accessibility
- Method FishboneDiagramBlockFluent.Effect
- Method FishboneDiagramBlockFluent.HostOwnsFrame
- Method FishboneDiagramBlockFluent.Options
- Method FishboneDiagramBlockFluent.Padding
- Method FishboneDiagramBlockFluent.RasterScale
- Method FishboneDiagramBlockFluent.ShowCard
- Method FishboneDiagramBlockFluent.Size
- Method FishboneDiagramBlockFluent.Subtitle
- Method FishboneDiagramBlockFluent.SvgColorVariables
- Method FishboneDiagramBlockFluent.Theme
- Method FishboneDiagramBlockFluent.ThemeMode
- Method FishboneDiagramBlockFluent.Title
- Method FishboneDiagramBlockFluent.TransparentBackground
Constructors
public FishboneDiagramBlock() #Methods
public FishboneCause AddCause(string label) #Adds a top-level cause.
Parameters
- label string
Returns
FishboneCausepublic static FishboneDiagramBlock Create(string effect) #Creates a fishbone diagram.
Parameters
- effect string
Returns
FishboneDiagramBlockpublic ChartSize MeasureNaturalSize() #Measures a complete, wrapped cause tree at native typography before raster allocation.
Returns
ChartSizepublic FishboneDiagramBlock NaturalSize(int minimumWidth = 0, int minimumHeight = 0) #Selects measured parent-connected cause lanes and sets their complete natural frame.
Parameters
- minimumWidth int = 0
- minimumHeight int = 0
Returns
FishboneDiagramBlockInherited Methods
public FishboneDiagramBlock Padding(double padding) #Parameters
- padding double
Returns
FishboneDiagramBlockpublic FishboneDiagramBlock Padding(double left, double top, double right, double bottom) #Parameters
- left double
- top double
- right double
- bottom double
Returns
FishboneDiagramBlockpublic virtual RgbaImage RenderRgba() #Returns
RgbaImagepublic virtual string RenderSvg(string idScope) #Parameters
- idScope string
Returns
stringpublic FishboneDiagramBlock Size(int width, int height) #Parameters
- width int
- height int
Returns
FishboneDiagramBlockpublic FishboneDiagramBlock Theme(Action<VisualThemeBuilder> configure) #Parameters
- configure Action<VisualThemeBuilder>
Returns
FishboneDiagramBlockProperties
Inherited Properties
public string Title { get; set; } #public string Subtitle { get; set; } #public VisualBlockOptions Options { get; } #FluentInlineExtension Methods
public static FishboneDiagramBlock Accessibility(FishboneDiagramBlock fishboneDiagramBlock, Action<VisualAccessibility> configure) #Configures VisualBlockOptions.Accessibility in place: Gets the text alternative, language, and decorative metadata used by static exports.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
- Configures the value.
public static FishboneDiagramBlock Effect(FishboneDiagramBlock fishboneDiagramBlock, string value) #Sets FishboneDiagramBlock.Effect: Gets or sets the effect shown at the fishbone head.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.FishboneDiagramBlock { Effect = value }; fishboneDiagramBlock.Effect(value);public static FishboneDiagramBlock HostOwnsFrame(FishboneDiagramBlock fishboneDiagramBlock, bool value = true) #Sets VisualBlockOptions.HostOwnsFrame: Gets or sets whether the host owns the frame, removing the surface and outer padding.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.FishboneDiagramBlock>)fishboneDiagramBlock).Options.HostOwnsFrame = value; fishboneDiagramBlock.HostOwnsFrame(value);public static FishboneDiagramBlock Options(FishboneDiagramBlock fishboneDiagramBlock, Action<VisualBlockOptions> configure) #Configures VisualBlock<FishboneDiagramBlock>.Options in place: Gets shared rendering options.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions>
- Configures the value.
public static FishboneDiagramBlock Padding(FishboneDiagramBlock fishboneDiagramBlock, ChartPadding value) #Sets VisualBlockOptions.Padding: Gets or sets the inner content padding.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value ChartForgeX.Primitives.ChartPadding
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.FishboneDiagramBlock>)fishboneDiagramBlock).Options.Padding = value; fishboneDiagramBlock.Padding(value);public static FishboneDiagramBlock RasterScale(FishboneDiagramBlock fishboneDiagramBlock, int value) #Sets VisualBlockOptions.RasterScale: Gets or sets the output pixel multiplier used by PNG exports.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.FishboneDiagramBlock>)fishboneDiagramBlock).Options.RasterScale = value; fishboneDiagramBlock.RasterScale(value);public static FishboneDiagramBlock ShowCard(FishboneDiagramBlock fishboneDiagramBlock, bool value = true) #Sets VisualBlockOptions.ShowCard: Gets or sets whether the outer card surface should be rendered.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.FishboneDiagramBlock>)fishboneDiagramBlock).Options.ShowCard = value; fishboneDiagramBlock.ShowCard(value);public static FishboneDiagramBlock Size(FishboneDiagramBlock fishboneDiagramBlock, ChartSize value) #Sets VisualBlockOptions.Size: Gets or sets the rendered block size in pixels.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value ChartForgeX.Primitives.ChartSize
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.FishboneDiagramBlock>)fishboneDiagramBlock).Options.Size = value; fishboneDiagramBlock.Size(value);public static FishboneDiagramBlock Subtitle(FishboneDiagramBlock fishboneDiagramBlock, string value) #Sets VisualBlock<FishboneDiagramBlock>.Subtitle: Gets or sets the block subtitle.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.FishboneDiagramBlock { Subtitle = value }; fishboneDiagramBlock.Subtitle(value);public static FishboneDiagramBlock SvgColorVariables(FishboneDiagramBlock fishboneDiagramBlock, 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
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value ChartForgeX.Themes.SvgColorVariables?
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.FishboneDiagramBlock>)fishboneDiagramBlock).Options.SvgColorVariables = value; fishboneDiagramBlock.SvgColorVariables(value);public static FishboneDiagramBlock Theme(FishboneDiagramBlock fishboneDiagramBlock, VisualTheme value) #Sets VisualBlockOptions.Theme: Gets or sets the visual theme used by renderers.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value ChartForgeX.Themes.VisualTheme
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.FishboneDiagramBlock>)fishboneDiagramBlock).Options.Theme = value; fishboneDiagramBlock.Theme(value);public static FishboneDiagramBlock ThemeMode(FishboneDiagramBlock fishboneDiagramBlock, ThemeMode value) #Sets VisualBlockOptions.ThemeMode: Gets or sets the explicit mode of the shared theme.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value ChartForgeX.ThemeMode
- The value.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.FishboneDiagramBlock>)fishboneDiagramBlock).Options.ThemeMode = value; fishboneDiagramBlock.ThemeMode(value);public static FishboneDiagramBlock Title(FishboneDiagramBlock fishboneDiagramBlock, string value) #Sets VisualBlock<FishboneDiagramBlock>.Title: Gets or sets the block title.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.VisualBlocks.FishboneDiagramBlock { Title = value }; fishboneDiagramBlock.Title(value);public static FishboneDiagramBlock TransparentBackground(FishboneDiagramBlock fishboneDiagramBlock, bool value = true) #Sets VisualBlockOptions.TransparentBackground: Gets or sets whether the full background should stay transparent.
Parameters
- fishboneDiagramBlock ChartForgeX.VisualBlocks.FishboneDiagramBlock
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.FishboneDiagramBlock>)fishboneDiagramBlock).Options.TransparentBackground = value; fishboneDiagramBlock.TransparentBackground(value);