API Reference
Class
VisualTypography
The shared logical typography scale; the default follows the chart look specification.
Inheritance
- Object
- VisualTypography
Usage
Explore 4 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 1
- Property VisualTheme.Typography
Accepted by parameters 3
- Constructor VisualTheme.VisualTheme
- Method VisualTheme.FromJson
- Method VisualTheme.WithTypography
Constructors
public VisualTypography(String family = "Calibri, Carlito, Segoe UI, system-ui, sans-serif", Double titleSize = 17, Double subtitleSize = 13.5, Double axisSize = 12, Double legendSize = 13, Double dataLabelSize = 12, Double scalarValueSize = 34, Double centerValueSize = 20) #Creates a validated immutable font scale.
Parameters
- family System.String = "Calibri, Carlito, Segoe UI, system-ui, sans-serif"
- titleSize System.Double = 17
- subtitleSize System.Double = 13.5
- axisSize System.Double = 12
- legendSize System.Double = 13
- dataLabelSize System.Double = 12
- scalarValueSize System.Double = 34
- centerValueSize System.Double = 20
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Family { get; } #Gets the fallback family stack.
public Double TitleSize { get; } #Gets the title size.
public Double SubtitleSize { get; } #Gets the subtitle size.
public Double AxisSize { get; } #Gets the axis size.
public Double LegendSize { get; } #Gets the legend size.
public Double DataLabelSize { get; } #Gets the data-label size.
public Double ScalarValueSize { get; } #Gets the primary value size for scalar charts.
public Double CenterValueSize { get; } #Gets the value size inside a radial chart.