TopologyLabels
ChartForgeX.Topology
Holds the words ChartForgeX writes into rendered topology diagrams on its own, so hosts can localize them, as ChartLabels does for charts. Defaults are English.
Inheritance
- object
- TopologyLabels
Usage
Explore 21 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 9
- Property TopologyChart.Labels
- Extension method TopologyLabels.AccessibleTextBy
- Extension method TopologyLabels.HiddenDescendants
- Extension method TopologyLabels.UntitledReport
- Extension method TopologyLabels.UntitledTopology
- Method TopologyLabelsFluent.AccessibleTextBy
- Method TopologyLabelsFluent.HiddenDescendants
- Method TopologyLabelsFluent.UntitledReport
- Method TopologyLabelsFluent.UntitledTopology
Accepted by parameters 12
- Extension method TopologyChart.Labels
- Extension method TopologyChart.Labels
- Method TopologyChartFluent.Labels
- Method TopologyChartFluent.Labels
- Extension method TopologyLabels.AccessibleTextBy
- Extension method TopologyLabels.HiddenDescendants
- Extension method TopologyLabels.UntitledReport
- Extension method TopologyLabels.UntitledTopology
- Method TopologyLabelsFluent.AccessibleTextBy
- Method TopologyLabelsFluent.HiddenDescendants
- Method TopologyLabelsFluent.UntitledReport
- Method TopologyLabelsFluent.UntitledTopology
Constructors
public TopologyLabels() #Inherited Methods
Properties
public string UntitledTopology { get; set; } #Gets or sets the accessible name of a diagram without a title (the SVG title element and the HTML page title). Default ChartForgeX topology.
public Func<ChartDescriptionFacts, string?>? AccessibleTextFormatter { get; set; } #Fluent("AccessibleTextBy")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.
public string UntitledReport { get; set; } #Gets or sets the title of a topology report (TopologyReport) whose source diagram has no title; its pages add their number. Default Topology report.
Extension 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);