[]
        
(Showing Draft Content)

C1.Win.Chart.ChartStyle

ChartStyle Class

Specifies visual style for chart elements.

Inheritance
ChartStyle
Namespace: C1.Win.Chart
Assembly: C1.Win.FlexChart.8.dll
Syntax
[TypeConverter(typeof(ChartStyleConverter))]
public class ChartStyle : INotifyPropertyChanged

Constructors

Name Description
ChartStyle()

Creates an instance of ChartStyle class.

Properties

Name Description
Fill

Gets or sets the fill brush of element.

FillColor

Gets or sets the fill color.

Font

Gets or sets the font of the chart element.

LinePattern

Gets or sets the Line Pattern.

Stroke

Gets or sets the stroke brush of element.

StrokeColor

Gets or sets the stroke color.

StrokeDashPattern

Gets or sets the stroke dash pattern.

StrokeWidth

Gets or sets the stroke width.

VerticalText

Gets or sets a value indicating whether the text should be rendered vertically.

Methods

Name Description
ResetFillColor()

Restores the default value of the FillColor property.

ResetFont()

Restores the default value of the Font property.

ResetStrokeColor()

Restores the default value of the StrokeColor property.

ResetStrokeWidth()

Restores the default value of the StrokeWidth property.

ResetVerticalText()

Restores the default value of the VerticalText property.

ShouldSerializeFillColor()

Specifies whether to save the value of the FillColor property.

ShouldSerializeFont()

Specifies whether to save the value of the Font property.

ShouldSerializeStrokeColor()

Specifies whether to save the value of the StrokeColor property.

ShouldSerializeStrokeWidth()

Specifies whether to save the value of the StrokeWidth property.

ShouldSerializeVerticalText()

Specifies whether to save the value of the VerticalText property.

Events

Name Description
PropertyChanged

Fires when property value has changed.