Represents the style settings for statistics in the context of a ReferenceStatisticLayer.
Inheritance Hierarchy
Spotfire.Dxp.Application.Visuals.ReferenceElementsStatisticStyle
Namespace: Spotfire.Dxp.Application.Visuals.ReferenceElements
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(70, 0)] public sealed class StatisticStyle : ISerializable, IEquatable<StatisticStyle>
The StatisticStyle type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StatisticStyle |
Initializes a new instance of the StatisticStyle class.
|
Properties
| Name | Description | |
|---|---|---|
| Color |
Gets the color of the line.
| |
| ColorLightnessFactor | ||
| ColorType |
Gets the color type for the line.
| |
| DisplayNameGranularity |
Gets a value indicating whether the display name should be shown for first category or all categories, when it is shown.
| |
| HorizontalAlignment |
Gets the horizontal alignment.
| |
| ShowDisplayName |
Gets a value indicating whether the display name should be shown.
| |
| TextDirection |
Gets the text orientation.
| |
| VerticalAlignment |
Gets the vertical alignment.
|
Methods
| Name | Description | |
|---|---|---|
| Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) | |
| Equals(StatisticStyle) |
Determines whether the specified otherStatisticStyle is equal to this instance.
| |
| GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WithColor |
Creates a new Stroke with the given color.
| |
| WithDefaultColor |
Creates a new Stroke with default color. The color is inherited from the coloring in the visualization or theme.
| |
| WithDefaultColor(Single) |
Creates a new Stroke with default color. The color is inherited from the coloring in the visualization or theme.
| |
| WithDisplayName |
Creates a StatisticStyle where the DisplayNameGranularity property is set to the specified value and ShowDisplayName is true.
| |
| WithoutDisplayName |
Creates a StatisticStyle where the ShowDisplayName property is set to false.
| |
| WithTextAlign | ||
| WithTextDirection | ||
| WithVerticalAlign |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| ISerializableGetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. |
Version Information
Supported in: 15.0, 14.8
See Also