Show / Hide Table of Contents

Class RadialGauge

Represents a linear gauge.

Inheritance
System.Object
Base
ComponentBase
ReportComponentBase
GaugeObject
RadialGauge
Implements
IFRSerializable
System.ICloneable
Inherited Members
GaugeObject.Minimum
GaugeObject.Maximum
GaugeObject.Value
GaugeObject.Scale
GaugeObject.Pointer
GaugeObject.Label
GaugeObject.Expression
GaugeObject.Vertical
GaugeObject.GetExpressions()
GaugeObject.GetData()
GaugeObject.Clone()
ReportComponentBase.BeforePrint
ReportComponentBase.AfterPrint
ReportComponentBase.AfterData
ReportComponentBase.Click
ReportComponentBase.Exportable
ReportComponentBase.Border
ReportComponentBase.Fill
ReportComponentBase.FillColor
ReportComponentBase.Bookmark
ReportComponentBase.Hyperlink
ReportComponentBase.CanGrow
ReportComponentBase.CanShrink
ReportComponentBase.GrowToBottom
ReportComponentBase.ShiftMode
ReportComponentBase.Style
ReportComponentBase.EvenStyle
ReportComponentBase.HoverStyle
ReportComponentBase.EvenStylePriority
ReportComponentBase.PrintOn
ReportComponentBase.BeforePrintEvent
ReportComponentBase.AfterPrintEvent
ReportComponentBase.AfterDataEvent
ReportComponentBase.ClickEvent
ReportComponentBase.FlagSimpleBorder
ReportComponentBase.FlagUseBorder
ReportComponentBase.FlagUseFill
ReportComponentBase.FlagPreviewVisible
ReportComponentBase.FlagSerializeStyle
ReportComponentBase.FlagProvidesHyperlinkValue
ReportComponentBase.Cursor
ReportComponentBase.MouseMoveEvent
ReportComponentBase.MouseUpEvent
ReportComponentBase.MouseDownEvent
ReportComponentBase.MouseEnterEvent
ReportComponentBase.MouseLeaveEvent
ReportComponentBase.ApplyStyle(Style)
ReportComponentBase.SaveStyle()
ReportComponentBase.RestoreStyle()
ReportComponentBase.DrawBackground(FRPaintEventArgs)
ReportComponentBase.IsVisible(FRPaintEventArgs)
ReportComponentBase.Deserialize(FRReader)
ReportComponentBase.OnClick(EventArgs)
ReportComponentBase.OnAfterLoad()
ReportComponentBase.HasClickListeners()
ReportComponentBase.InitializeComponent()
ReportComponentBase.FinalizeComponent()
ReportComponentBase.SaveState()
ReportComponentBase.RestoreState()
ReportComponentBase.CalcHeight()
ReportComponentBase.OnBeforePrint(EventArgs)
ReportComponentBase.OnAfterPrint(EventArgs)
ReportComponentBase.OnAfterData(EventArgs)
ComponentBase.AbsBottom
ComponentBase.AbsBounds
ComponentBase.AbsLeft
ComponentBase.AbsRight
ComponentBase.AbsTop
ComponentBase.Anchor
ComponentBase.Bottom
ComponentBase.Bounds
ComponentBase.ClientSize
ComponentBase.Dock
ComponentBase.GroupIndex
ComponentBase.Left
ComponentBase.Right
ComponentBase.Tag
ComponentBase.Top
ComponentBase.Visible
ComponentBase.Printable
Base.Name
Base.Restrictions
Base.Flags
Base.Parent
Base.BaseName
Base.ClassName
Base.Report
Base.Page
Base.ChildObjects
Base.AllObjects
Base.ZOrder
Base.IsAncestor
Base.IsDesigning
Base.IsPrinting
Base.IsRunning
Base.OriginalComponent
Base.SetProp(Base, Base)
Base.FloatDiff(Single, Single)
Base.DeserializeSubItems(FRReader)
Base.ExtractDefaultMacros(String)
Base.Dispose(Boolean)
Base.SetFlags(Flags, Boolean)
Base.SetReport(Report)
Base.SetName(String)
Base.SetParent(Base)
Base.SetParentCore(Base)
Base.FindObject(String)
Base.CreateUniqueName()
Base.Clear()
Base.BaseAssign(Base)
Base.AssignAll(Base)
Base.HasParent(Base)
Base.HasFlag(Flags)
Base.HasRestriction(Restrictions)
Base.InvokeEvent(String, Object)
Base.GetCustomScript()
Base.ExtractMacros()
Base.IsHaveToConvert(Object)
Base.GetConvertedObjects()
Base.ForEachAllConvectedObjects(Object)
Namespace: FastReport.Gauge.Radial
Assembly: FastReport.OpenSource.dll
Syntax
public class RadialGauge : GaugeObject, IFRSerializable, ICloneable

Constructors

RadialGauge()

Initializes a new instance of the RadialGauge class.

Declaration
public RadialGauge()

Properties

Center

Returns centr of the gauge

Declaration
public PointF Center { get; set; }
Property Value
Type Description
PointF

Height

Gets or sets the height of the object.

Declaration
public override float Height { get; set; }
Property Value
Type Description
System.Single
Overrides
ComponentBase.Height
Remarks

This property value is measured in the screen pixels. Use Units class to convert a value to desired units.

Position

Gats or sets the Radial Gauge position. Doesn't work for Full Radial Gauge.

Declaration
public RadialGaugePosition Position { get; set; }
Property Value
Type Description
RadialGaugePosition

Radians

The number of radians in one degree

Declaration
public static double Radians { get; }
Property Value
Type Description
System.Double

SemicircleOffsetRatio

Gets or sets the semicircles offset

Declaration
public float SemicircleOffsetRatio { get; set; }
Property Value
Type Description
System.Single

Type

Gets or sets the Radial Gauge type

Declaration
public RadialGaugeType Type { get; set; }
Property Value
Type Description
RadialGaugeType

Width

Gets or sets the width of the object.

Declaration
public override float Width { get; set; }
Property Value
Type Description
System.Single
Overrides
ComponentBase.Width
Remarks

This property value is measured in the screen pixels. Use Units class to convert a value to desired units.

Methods

Assign(Base)

Copies the contents of another, similar object.

Declaration
public override void Assign(Base source)
Parameters
Type Name Description
Base source

Source object to copy the contents from.

Overrides
GaugeObject.Assign(Base)
Remarks

Call Assign to copy the properties from another object of the same type. The standard form of a call to Assign is

destination.Assign(source);

which tells the destination object to copy the contents of the source object to itself. In this method, all child objects are ignored. If you want to copy child objects, use the AssignAll(Base) method.

See Also
AssignAll(Base)

Draw(FRPaintEventArgs)

Draws the gauge.

Declaration
public override void Draw(FRPaintEventArgs e)
Parameters
Type Name Description
FRPaintEventArgs e

Draw event arguments.

Overrides
GaugeObject.Draw(FRPaintEventArgs)

Serialize(FRWriter)

Serializes the object.

Declaration
public override void Serialize(FRWriter writer)
Parameters
Type Name Description
FRWriter writer

Writer object.

Overrides
GaugeObject.Serialize(FRWriter)
Remarks

Do not call this method directly. You should override it if you are developing a new component for FastReport.

This method is called when the object needs to save the state. It may happen when:

  • saving the report to the file or stream;
  • saving the report to the designer's undo buffer;
  • assigning the object to another object using the Assign(Base) or AssignAll(Base) methods;
  • saving the object to the designer's clipboard;
  • saving the object to the preview (when run a report).

Implements

IFRSerializable
System.ICloneable
Back to top Generated by DocFX