TopologyLabelsFluent
ChartForgeX.Topology
The fluent methods of TopologyLabels, 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
- TopologyLabelsFluent
Methods
public static TopologyLabels AccessibleTextBy(TopologyLabels topologyLabels, Func<ChartDescriptionFacts, string?>? value) #Sets TopologyLabels.AccessibleTextFormatter: Gets or sets a function that writes the automatic description (the SVG desc element) from its ChartDescriptionFacts, whose ChartDescriptionFacts.Kind is ChartDescriptionKind.Topology with the node, group, and edge counts. It takes the same facts as ChartLabels.AccessibleTextFormatter, so a host can use one formatter for charts and diagrams. Null (the default), or a function returning null or white space, writes ChartDescriptionFacts.EnglishText. A description set through Accessibility still wins and the function is not called for it. Exceptions thrown by the function are not caught; they surface from the render call.
Parameters
- topologyLabels ChartForgeX.Topology.TopologyLabels
- The instance.
- value System.Func<ChartForgeX.Core.ChartDescriptionFacts, string?>?
- The callback.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyLabels { AccessibleTextFormatter = value }; topologyLabels.AccessibleTextBy(value);public static TopologyLabels UntitledReport(TopologyLabels topologyLabels, string value) #Sets TopologyLabels.UntitledReport: Gets or sets the title of a topology report (TopologyReport) whose source diagram has no title; its pages add their number. Default Topology report.
Parameters
- topologyLabels ChartForgeX.Topology.TopologyLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyLabels { UntitledReport = value }; topologyLabels.UntitledReport(value);public static TopologyLabels UntitledTopology(TopologyLabels topologyLabels, string value) #Sets TopologyLabels.UntitledTopology: Gets or sets the accessible name of a diagram without a title (the SVG title element and the HTML page title). Default ChartForgeX topology.
Parameters
- topologyLabels ChartForgeX.Topology.TopologyLabels
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyLabels { UntitledTopology = value }; topologyLabels.UntitledTopology(value);