Class MinMaxInfo
Simple, unchangeable class to store information on minimum and maximum values and a suggested interval.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class MinMaxInfo
Constructors
MinMaxInfo(Double, Double, Double)
MinMaxInfo represents a range of double type values. There is a lower bound, upper bound and an associated interval.
Declaration
public MinMaxInfo(double min, double max, double interval)
Parameters
Type | Name | Description |
---|---|---|
System.Double | min | The lower bound value. |
System.Double | max | The upper bound value. |
System.Double | interval | The interval value. |
Properties
Delta
gets the difference between the upper and lower boundary of this range.
Declaration
[ChartTemplate(ChartTemplateSet.SimpleBehavior)]
public double Delta { get; }
Property Value
Type |
---|
System.Double |
Interval
Gets or sets the value of the interval associated with this range.
Declaration
[ChartTemplate(ChartTemplateSet.SimpleBehavior)]
public double Interval { get; set; }
Property Value
Type |
---|
System.Double |
Max
Gets or sets the upper boundary of this range.
Declaration
[ChartTemplate(ChartTemplateSet.SimpleBehavior)]
public double Max { get; set; }
Property Value
Type |
---|
System.Double |
Min
Gets or sets the lower boundary of this range.
Declaration
[ChartTemplate(ChartTemplateSet.SimpleBehavior)]
public double Min { get; set; }
Property Value
Type |
---|
System.Double |
NumberOfIntervals
Gets the number of intervals present in this range. Interval
Declaration
[ChartTemplate(ChartTemplateSet.SimpleBehavior)]
public int NumberOfIntervals { get; }
Property Value
Type |
---|
System.Int32 |
Methods
Clone()
Creates a copy of the MinMaxInfo object.
Declaration
public MinMaxInfo Clone()
Returns
Type | Description |
---|---|
MinMaxInfo | The MinMaxInfo. |
Contains(Double)
Checks whether range contains double value.
Declaration
public bool Contains(double d)
Parameters
Type | Name | Description |
---|---|---|
System.Double | d | Double to check |
Returns
Type | Description |
---|---|
System.Boolean | Bool value. |
Equals(MinMaxInfo)
Compares this object with another object of the same type.
Declaration
public bool Equals(MinMaxInfo minMaxInfo)
Parameters
Type | Name | Description |
---|---|---|
MinMaxInfo | minMaxInfo | The object with which this object is to be compared. |
Returns
Type | Description |
---|---|
System.Boolean | Returns True if the objects are equal in value. |
Intersects(MinMaxInfo)
Checks whether range intersects with range.
Declaration
public bool Intersects(MinMaxInfo r)
Parameters
Type | Name | Description |
---|---|---|
MinMaxInfo | r | MinMaxInfo to check |
Returns
Type | Description |
---|---|
System.Boolean | Bool value. |
ToString()
Overridden. Returns a string representation of this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |
Overrides
Events
SettingsChanged
An event that is triggered when one of the range setting is changed.
Declaration
public event EventHandler SettingsChanged
Event Type
Type |
---|
System.EventHandler |