FSharpBio


_ChartStyleExtensions

Namespace: FSharp.Charting

Nested types and modules

TypeDescription
AreaProperties
SeriesProperties
StyleHelper

Functions and values

Function or valueDescription
FSharpChart
Signature: int

Type extensions

Type extensionDescription
ShowChart()
Signature: unit -> unit

Display the chart in a new ChartControl in a new Form()

With3D(...)
Signature: (Inclination:int option * IsClustered:bool option * IsRightAngleAxes:bool option * LightStyle:LightStyle option * Perspective:int option * PointDepth:int option * PointGapDepth:int option * ShowMarkerLines:bool option * Rotation:int option * WallWidth:int option) -> GenericChart

Enables 3D styling for the chart

With3D(...)
Signature: (Inclination:int option * IsClustered:bool option * IsRightAngleAxes:bool option * LightStyle:LightStyle option * Perspective:int option * PointDepth:int option * PointGapDepth:int option * ShowMarkerLines:bool option * Rotation:int option * WallWidth:int option) -> '?7371 -> '?7371
Type parameters: '?7371

Enables 3D styling for the chart

WithArea
Signature: AreaProperties
WithArea
Signature: AreaProperties
WithDataPointLabels(...)
Signature: (Label:string option * LabelPosition:LabelPosition option * LabelToolTip:string option * PointToolTip:string option * BarLabelPosition:BarLabelPosition option) -> GenericChart

Add data point labels and apply styling to the labels

WithDataPointLabels(...)
Signature: (Label:string option * LabelPosition:LabelPosition option * LabelToolTip:string option * PointToolTip:string option * BarLabelPosition:BarLabelPosition option) -> '?7377 -> '?7377
Type parameters: '?7377

Add data point labels and apply styling to the labels

WithLegend(...)
Signature: (Enabled:bool option * Title:string option * Background:Background option * FontName:string option * FontSize:float option * FontStyle:FontStyle option * Alignment:StringAlignment option * Docking:Docking option * InsideArea:bool option * TitleAlignment:StringAlignment option * TitleFont:Font option * TitleColor:Color option * BorderColor:Color option * BorderWidth:int option * BorderDashStyle:DashStyle option) -> GenericChart

Apply styling to the legend of the chart

WithLegend(...)
Signature: (Enabled:bool option * Title:string option * Background:Background option * FontName:string option * FontSize:float option * FontStyle:FontStyle option * Alignment:StringAlignment option * Docking:Docking option * InsideArea:bool option * TitleAlignment:StringAlignment option * TitleFont:Font option * TitleColor:Color option * BorderColor:Color option * BorderWidth:int option * BorderDashStyle:DashStyle option) -> '?7375 -> '?7375
Type parameters: '?7375

Apply styling to the legend of the chart

WithMargin(left, top, right, bottom)
Signature: (left:float<MeasureOne> * top:float<MeasureOne> * right:float<MeasureOne> * bottom:float<MeasureOne>) -> 'T -> 'T
Type parameters: 'T
WithMarkers(...)
Signature: (Color:Color option * Size:int option * Step:int option * Style:MarkerStyle option * BorderColor:Color option * BorderWidth:int option * PointWidth:float option * PixelPointWidth:int option * PointStyle:PointStyle option * MaxPixelPointWidth:int option * MinPixelPointWidth:int option) -> GenericChart

Add styling to the markers and points of the chart

WithMarkers(...)
Signature: (Color:Color option * Size:int option * Step:int option * Style:MarkerStyle option * BorderColor:Color option * BorderWidth:int option * PointWidth:float option * PixelPointWidth:int option * PointStyle:PointStyle option * MaxPixelPointWidth:int option * MinPixelPointWidth:int option) -> '?7373 -> '?7373
Type parameters: '?7373

Add styling to the markers and points of the chart

WithSeries
Signature: SeriesProperties
WithSeries
Signature: SeriesProperties
WithStyle(?Background)
Signature: (Background:Background option) -> 'T -> 'T
Type parameters: 'T
WithStyling(...)
Signature: (Name:string option * Color:Color option * AreaBackground:Background option * Margin:(float<MeasureOne> * float<MeasureOne> * float<MeasureOne> * float<MeasureOne>) option * Background:Background option * BorderColor:Color option * BorderWidth:int option * SplineLineTension:float option) -> GenericChart

Apply additional styling to the chart

WithStyling(...)
Signature: (Name:string option * Color:Color option * AreaBackground:Background option * Margin:(float<MeasureOne> * float<MeasureOne> * float<MeasureOne> * float<MeasureOne>) option * Background:Background option * BorderColor:Color option * BorderWidth:int option * SplineLineTension:float option) -> '?7379 -> '?7379
Type parameters: '?7379

Apply additional styling to the chart

WithTitle(...)
Signature: (Text:string option * InsideArea:bool option * Style:TextStyle option * FontName:string option * FontSize:float option * FontStyle:FontStyle option * Background:Background option * Color:Color option * BorderColor:Color option * BorderWidth:int option * BorderDashStyle:DashStyle option * Orientation:TextOrientation option * Alignment:ContentAlignment option * Docking:Docking option) -> GenericChart

Apply content and styling to the title, if present

WithTitle(...)
Signature: (Text:string option * InsideArea:bool option * Style:TextStyle option * FontName:string option * FontSize:float option * FontStyle:FontStyle option * Background:Background option * Color:Color option * BorderColor:Color option * BorderWidth:int option * BorderDashStyle:DashStyle option * Orientation:TextOrientation option * Alignment:ContentAlignment option * Docking:Docking option) -> '?7369 -> '?7369
Type parameters: '?7369

Apply content and styling to the title, if present

WithXAxis(...)
Signature: (Enabled:bool option * Title:string option * Max:float option * Min:float option * Log:bool option * ArrowStyle:AxisArrowStyle option * LabelStyle:LabelStyle option * MajorGrid:Grid option * MinorGrid:Grid option * MajorTickMark:TickMark option * MinorTickMark:TickMark option * TitleAlignment:StringAlignment option * TitleFontName:string option * TitleFontSize:float option * TitleFontStyle:FontStyle option * TitleColor:Color option * ToolTip:string option) -> GenericChart

Apply styling to the X Axis

WithXAxis(...)
Signature: (Enabled:bool option * Title:string option * Max:float option * Min:float option * Log:bool option * ArrowStyle:AxisArrowStyle option * LabelStyle:LabelStyle option * MajorGrid:Grid option * MinorGrid:Grid option * MajorTickMark:TickMark option * MinorTickMark:TickMark option * TitleAlignment:StringAlignment option * TitleFontName:string option * TitleFontSize:float option * TitleFontStyle:FontStyle option * TitleColor:Color option * ToolTip:string option) -> '?7361 -> '?7361
Type parameters: '?7361

Apply styling to the X Axis

WithXAxis2(...)
Signature: (Enabled:bool option * Title:string option * Max:float option * Min:float option * Log:bool option * ArrowStyle:AxisArrowStyle option * LabelStyle:LabelStyle option * MajorGrid:Grid option * MinorGrid:Grid option * MajorTickMark:TickMark option * MinorTickMark:TickMark option * TitleAlignment:StringAlignment option * TitleFontName:string option * TitleFontSize:float option * TitleFontStyle:FontStyle option * TitleColor:Color option * ToolTip:string option) -> GenericChart

Apply styling to the second X axis, if present

WithXAxis2(...)
Signature: (Enabled:bool option * Title:string option * Max:float option * Min:float option * Log:bool option * ArrowStyle:AxisArrowStyle option * LabelStyle:LabelStyle option * MajorGrid:Grid option * MinorGrid:Grid option * MajorTickMark:TickMark option * MinorTickMark:TickMark option * TitleAlignment:StringAlignment option * TitleFontName:string option * TitleFontSize:float option * TitleFontStyle:FontStyle option * TitleColor:Color option * ToolTip:string option) -> '?7365 -> '?7365
Type parameters: '?7365

Apply styling to the second X axis, if present

WithYAxis(...)
Signature: (Enabled:bool option * Title:string option * Max:float option * Min:float option * Log:bool option * ArrowStyle:AxisArrowStyle option * LabelStyle:LabelStyle option * MajorGrid:Grid option * MinorGrid:Grid option * MajorTickMark:TickMark option * MinorTickMark:TickMark option * TitleAlignment:StringAlignment option * TitleFontName:string option * TitleFontSize:float option * TitleFontStyle:FontStyle option * TitleColor:Color option * ToolTip:string option) -> GenericChart

Apply styling to the Y Axis

WithYAxis(...)
Signature: (Enabled:bool option * Title:string option * Max:float option * Min:float option * Log:bool option * ArrowStyle:AxisArrowStyle option * LabelStyle:LabelStyle option * MajorGrid:Grid option * MinorGrid:Grid option * MajorTickMark:TickMark option * MinorTickMark:TickMark option * TitleAlignment:StringAlignment option * TitleFontName:string option * TitleFontSize:float option * TitleFontStyle:FontStyle option * TitleColor:Color option * ToolTip:string option) -> '?7363 -> '?7363
Type parameters: '?7363

Apply styling to the Y Axis

WithYAxis2(...)
Signature: (Enabled:bool option * Title:string option * Max:float option * Min:float option * Log:bool option * ArrowStyle:AxisArrowStyle option * LabelStyle:LabelStyle option * MajorGrid:Grid option * MinorGrid:Grid option * MajorTickMark:TickMark option * MinorTickMark:TickMark option * TitleAlignment:StringAlignment option * TitleFontName:string option * TitleFontSize:float option * TitleFontStyle:FontStyle option * TitleColor:Color option * ToolTip:string option) -> GenericChart

Apply styling to the second Y axis, if present

WithYAxis2(...)
Signature: (Enabled:bool option * Title:string option * Max:float option * Min:float option * Log:bool option * ArrowStyle:AxisArrowStyle option * LabelStyle:LabelStyle option * MajorGrid:Grid option * MinorGrid:Grid option * MajorTickMark:TickMark option * MinorTickMark:TickMark option * TitleAlignment:StringAlignment option * TitleFontName:string option * TitleFontSize:float option * TitleFontStyle:FontStyle option * TitleColor:Color option * ToolTip:string option) -> '?7367 -> '?7367
Type parameters: '?7367

Apply styling to the second Y axis, if present

Fork me on GitHub