StatisticStyle Class

Spotfire 15.0 API Reference
Represents the style settings for statistics in the context of a ReferenceStatisticLayer.
Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public methodStatisticStyle
Initializes a new instance of the StatisticStyle class.
Top
Properties

  NameDescription
Public propertyColor
Gets the color of the line.
Public propertyColorLightnessFactor
Gets the factor used to blend the color towards black or white. This is only used when ColorType is Default This is linear interpolation where 0 means no blending, and -1 means all black or 1 is all white.
Public propertyColorType
Gets the color type for the line.
Public propertyDisplayNameGranularity
Gets a value indicating whether the display name should be shown for first category or all categories, when it is shown.
Public propertyHorizontalAlignment
Gets the horizontal alignment.
Public propertyShowDisplayName
Gets a value indicating whether the display name should be shown.
Public propertyTextDirection
Gets the text orientation.
Public propertyVerticalAlignment
Gets the vertical alignment.
Top
Methods

  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(StatisticStyle)
Determines whether the specified otherStatisticStyle is equal to this instance.
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithColor
Creates a new Stroke with the given color.
Public methodWithDefaultColor
Creates a new Stroke with default color. The color is inherited from the coloring in the visualization or theme.
Public methodWithDefaultColor(Single)
Creates a new Stroke with default color. The color is inherited from the coloring in the visualization or theme.
Public methodWithDisplayName
Creates a StatisticStyle where the DisplayNameGranularity property is set to the specified value and ShowDisplayName is true.
Public methodWithoutDisplayName
Creates a StatisticStyle where the ShowDisplayName property is set to false.
Public methodWithTextAlign
Creates a StatisticStyle where the HorizontalAlignment property is set to the specified value.
Public methodWithTextDirection
Creates a StatisticStyle where the TextDirection property is set to the specified value.
Public methodWithVerticalAlign
Creates a StatisticStyle where the VerticalAlignment property is set to the specified value.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodISerializableGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Top
Version Information

Supported in: 15.0, 14.8
See Also

Reference