Class
ChartHistogramSource

Handles histogram data associated operations for ScatterRangeBarSeries.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class ChartHistogramSource : FrameworkElement, IEnumerable<DataPoint>, IEnumerable

Inheritance: objectChartHistogramSource

Implements: IEnumerableIEnumerable<DataPoint>

Constructors

ChartHistogramSource()

Initializes a new instance of the ChartHistogramSource class.

Declaration

cs-api-definition
public ChartHistogramSource()

Fields

ActualIntervalProperty

Identifies the ActualInterval dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActualIntervalProperty

Field Value

DependencyProperty

IntervalProperty

Identifies the Interval dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IntervalProperty

Field Value

DependencyProperty

IntervalValueBindingProperty

Identifies the IntervalValueBinding dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IntervalValueBindingProperty

Field Value

DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

OriginValueProperty

Identifies the OriginValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OriginValueProperty

Field Value

DependencyProperty

ValueBindingProperty

Identifies the ValueBinding dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValueBindingProperty

Field Value

DependencyProperty

Properties

ActualInterval

Gets the actual interval.

Declaration

cs-api-definition
public double ActualInterval { get; }

Property Value

double

Interval

Gets or sets the Interval. This property defines the value length (width) of each bar in the histogram. If the property is set to null (default), an automatically interval is used. The auto-interval is calculated using the Scott's Normal Reference Rule. If the interval is bigger then the data range (max - min values), the data range is used as interval.

Declaration

cs-api-definition
public double? Interval { get; set; }

Property Value

double?

IntervalValueBinding

Gets or sets the binding that will be used to get the values on the horizontal axis.

Declaration

cs-api-definition
[TypeConverter(typeof(StringToDataPointBindingConverter))]
public DataPointBinding IntervalValueBinding { get; set; }

Property Value

DataPointBinding

ItemsSource

Gets or sets the ItemsSource.

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

Orientation

Gets or sets the orientation of the bars. The default value is Horizontal. Horizontal means that the intervals of the bars will be calculate on the horizontal axis, therefore the bars height will be relevant to the vertical axis.

Declaration

cs-api-definition
public ChartHistogramDataOrientation Orientation { get; set; }

Property Value

ChartHistogramDataOrientation

OriginValue

Gets or sets the OriginValue. This property defines the vertical origin value of the bar. The default origin value is 0.

Declaration

cs-api-definition
public double OriginValue { get; set; }

Property Value

double

ValueBinding

Gets or sets the binding that will be used to get the values on the vertical axis.

Declaration

cs-api-definition
[TypeConverter(typeof(StringToDataPointBindingConverter))]
public DataPointBinding ValueBinding { get; set; }

Property Value

DataPointBinding

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<DataPoint> GetEnumerator()

Returns

IEnumerator<DataPoint>

A IEnumerator<T> that can be used to iterate through the collection.

Implements IEnumerable<DataPoint>.GetEnumerator()

GetValueAggregateFunction()

When overridden in a derived class, this method returns the function used to calculate the aggregate values for the bars in the histogram.

Declaration

cs-api-definition
protected virtual ChartAggregateFunction GetValueAggregateFunction()

Returns

ChartAggregateFunction

Events

ActualIntervalChanged

Occurs when the actual interval changes.

Declaration

cs-api-definition
public event EventHandler ActualIntervalChanged

Event Value

EventHandler