[]
        
(Showing Draft Content)

C1.Win.FlexReport.Chart.ChartStyle

ChartStyle Class

Represents the appearance of various elements of a chart, including the chart itself, the chart area, legend, header, footer and labels. Typically, an object's style and/or one or more of its properties are inherited from the object's parent style or its default style.

Inheritance
ChartStyle
Implements
IC1Serializable
Namespace: C1.Win.FlexReport.Chart
Assembly: C1.Win.FlexReport.8.dll
Syntax
public class ChartStyle : ChartPropertyBagObject, INotifyPropertyChanged, IC1Serializable

Constructors

Name Description
ChartStyle()

Initializes a new instance of ChartStyle object.

Properties

Name Description
Autowrap

Gets or sets a value indicating whether text automatically wraps.

BackColor

Gets or sets the background color.

BackColor2

Gets or sets the second background color for gradient or hatch background.

Border

Gets the ChartBorder object.

Font

Gets or sets the FontHolder object.

ForeColor

Gets or sets the foreground color.

GradientStyle

Gets or sets the style of gradient background filling.

HatchStyle

Gets or sets the style of hatch background filling.

HorizontalAlignment

Gets or sets the text horizontal alignment.

ImageAlignment

Gets or sets the image alignment.

Opaque

Gets or sets a value indicating whether the background is opaque.

Rotation

Gets or sets the text rotation.

VerticalAlignment

Gets or sets the text vertical alignment.

VerticalText

Gets or sets a value indicating whether text is displayed vertically.

Methods

Name Description
AssignFrom(ChartObject)

For internal use only. Assigns (copies) properties from another ChartObject to the current object.

ResetAutowrap()

Resets the Autowrap to default state.

ResetBackColor()

Resets the BackColor to default state.

ResetBackColor2()

Resets the BackColor2 to default state.

ResetBorder()

Resets the Border to default state.

ResetFont()

Resets the Font to default state.

ResetForeColor()

Resets the ForeColor to default state.

ResetGradientStyle()

Resets the GradientStyle to default state.

ResetHatchStyle()

Resets the HatchStyle to default state.

ResetHorizontalAlignment()

Resets the HorizontalAlignment to default state.

ResetImageAlignment()

Resets the ImageAlignment to default state.

ResetOpaque()

Resets the Opaque to default state.

ResetRotation()

Resets the Rotation to default state.

ResetVerticalAlignment()

Resets the VerticalAlignment to default state.

ResetVerticalText()

Resets the VerticalText to default state.

ShouldSerializeAutowrap()

Returns false if Autowrap is in default state.

ShouldSerializeBackColor()

Returns false if BackColor is in default state.

ShouldSerializeBackColor2()

Returns false if BackColor2 is in default state.

ShouldSerializeBorder()

Returns false if Border is in default state.

ShouldSerializeFont()

Returns false if Font is in default state.

ShouldSerializeForeColor()

Returns false if ForeColor is in default state.

ShouldSerializeGradientStyle()

Returns false if GradientStyle is in default state.

ShouldSerializeHatchStyle()

Returns false if HatchStyle is in default state.

ShouldSerializeHorizontalAlignment()

Returns false if HorizontalAlignment is in default state.

ShouldSerializeImageAlignment()

Returns false if ImageAlignment is in default state.

ShouldSerializeOpaque()

Returns false if Opaque is in default state.

ShouldSerializeRotation()

Returns false if Rotation is in default state.

ShouldSerializeVerticalAlignment()

Returns false if VerticalAlignment is in default state.

ShouldSerializeVerticalText()

Returns false if VerticalText is in default state.