ChartHistogramSource
Handles histogram data associated operations for ScatterRangeBarSeries.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class ChartHistogramSource : FrameworkElement, IEnumerable<DataPoint>, IEnumerable
Inheritance: objectChartHistogramSource
Implements:
Constructors
Initializes a new instance of the ChartHistogramSource class.
public ChartHistogramSource()
Fields
ActualIntervalProperty
DependencyProperty
Identifies the ActualInterval dependency property.
public static readonly DependencyProperty ActualIntervalProperty
IntervalProperty
DependencyProperty
Identifies the Interval dependency property.
public static readonly DependencyProperty IntervalProperty
IntervalValueBindingProperty
DependencyProperty
Identifies the IntervalValueBinding dependency property.
public static readonly DependencyProperty IntervalValueBindingProperty
ItemsSourceProperty
DependencyProperty
Identifies the ItemsSource dependency property.
public static readonly DependencyProperty ItemsSourceProperty
OrientationProperty
DependencyProperty
Identifies the Orientation dependency property.
public static readonly DependencyProperty OrientationProperty
OriginValueProperty
DependencyProperty
Identifies the OriginValue dependency property.
public static readonly DependencyProperty OriginValueProperty
ValueBindingProperty
DependencyProperty
Identifies the ValueBinding dependency property.
public static readonly DependencyProperty ValueBindingProperty
Properties
Gets the actual interval.
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.
public double? Interval { get; set; }
Gets or sets the binding that will be used to get the values on the horizontal axis.
[TypeConverter(typeof(StringToDataPointBindingConverter))]
public DataPointBinding IntervalValueBinding { get; set; }
Gets or sets the ItemsSource.
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.
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.
public double OriginValue { get; set; }
Gets or sets the binding that will be used to get the values on the vertical axis.
[TypeConverter(typeof(StringToDataPointBindingConverter))]
public DataPointBinding ValueBinding { get; set; }
Methods
Returns an enumerator that iterates through the collection.
public IEnumerator<DataPoint> GetEnumerator()
A IEnumerator<T> that can be used to iterate through the collection.
Implements:
When overridden in a derived class, this method returns the function used to calculate the aggregate values for the bars in the histogram.
protected virtual ChartAggregateFunction GetValueAggregateFunction()
Events
Occurs when the actual interval changes.
public event EventHandler ActualIntervalChanged