New to Telerik UI for WPFStart a free 30-day trial

Handles histogram data associated operations for ScatterRangeBarSeries.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class ChartHistogramSource : FrameworkElement, IEnumerable<DataPoint>, IEnumerable

Inheritance: objectChartHistogramSource

Implements: IEnumerableIEnumerable<DataPoint>

Constructors

Initializes a new instance of the ChartHistogramSource class.

C#
public ChartHistogramSource()

Fields

ActualIntervalProperty

DependencyProperty

Identifies the ActualInterval dependency property.

C#
public static readonly DependencyProperty ActualIntervalProperty

IntervalProperty

DependencyProperty

Identifies the Interval dependency property.

C#
public static readonly DependencyProperty IntervalProperty

Identifies the IntervalValueBinding dependency property.

C#
public static readonly DependencyProperty IntervalValueBindingProperty

ItemsSourceProperty

DependencyProperty

Identifies the ItemsSource dependency property.

C#
public static readonly DependencyProperty ItemsSourceProperty

OrientationProperty

DependencyProperty

Identifies the Orientation dependency property.

C#
public static readonly DependencyProperty OrientationProperty

OriginValueProperty

DependencyProperty

Identifies the OriginValue dependency property.

C#
public static readonly DependencyProperty OriginValueProperty

ValueBindingProperty

DependencyProperty

Identifies the ValueBinding dependency property.

C#
public static readonly DependencyProperty ValueBindingProperty

Properties

Gets the actual interval.

C#
public double ActualInterval { get; }

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.

C#
public double? Interval { get; set; }

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

C#
[TypeConverter(typeof(StringToDataPointBindingConverter))]
public DataPointBinding IntervalValueBinding { get; set; }

Gets or sets the ItemsSource.

C#
public IEnumerable ItemsSource { get; set; }

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.

C#
public ChartHistogramDataOrientation Orientation { get; set; }

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

C#
public double OriginValue { get; set; }

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

C#
[TypeConverter(typeof(StringToDataPointBindingConverter))]
public DataPointBinding ValueBinding { get; set; }

Methods

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<DataPoint> GetEnumerator()
Returns:

IEnumerator<DataPoint>

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

Implements: IEnumerable<DataPoint>.GetEnumerator()

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

C#
protected virtual ChartAggregateFunction GetValueAggregateFunction()
Returns:

ChartAggregateFunction

Events

Occurs when the actual interval changes.

C#
public event EventHandler ActualIntervalChanged