C# 클래스 WinRTXamlToolkit.Controls.DataVisualization.Charting.PieSeries

상속: DataPointSeries, IResourceDictionaryDispenser, IRequireGlobalSeriesIndex
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
PaletteProperty Windows.UI.Xaml.DependencyProperty

Private Properties

프로퍼티 타입 설명
ConvertRatioOfRotationToPoint Point
OnPalettePropertyChanged void
OnPalettePropertyChanged void
OnPieDataPointActualOffsetRatioChanged void
OnPieDataPointActualRatioChanged void
OnPieDataPointOffsetRatioChanged void
OnPieDataPointRatioChanged void
SeriesHostResourceDictionariesChanged void
UpdateLegendItemIndexes void
UpdatePieDataPointGeometry void
UpdateRatios void

공개 메소드들

메소드 설명
GetResourceDictionariesWhere ( bool>.Func predicate ) : IEnumerator

Returns a rotating enumerator of ResourceDictionary objects that coordinates with the dispenser object to ensure that no two enumerators are on the same item. If the dispenser is reset or its collection is changed then the enumerators are also reset.

GlobalSeriesIndexChanged ( int globalIndex ) : void

This method updates the global series index property.

PieSeries ( ) : System

Initializes a new instance of the PieSeries class.

보호된 메소드들

메소드 설명
AddDataPoint ( DataPoint dataPoint ) : void

Creates a legend item for each data point.

AttachEventHandlersToDataPoint ( DataPoint dataPoint ) : void

Attach event handlers to a data point.

CreateDataPoint ( ) : DataPoint

Creates a data point.

CreatePieLegendItem ( DataPoint dataPoint, int index ) : LegendItem

Creates a legend item from a data point.

DetachEventHandlersFromDataPoint ( DataPoint dataPoint ) : void

Detaches event handlers from a data point.

OnBeforeUpdateDataPoints ( ) : void

Updates all ratios before data points are updated.

OnDataPointDependentValueChanged ( DataPoint dataPoint, IComparable oldValue, IComparable newValue ) : void

Updates the data point when the dependent value is changed.

OnDataPointIndependentValueChanged ( DataPoint dataPoint, object oldValue, object newValue ) : void

Updates the data point when the independent value is changed.

OnDataPointStylePropertyChanged ( Style oldValue, Style newValue ) : void

DataPointStyleProperty property changed handler.

OnDataPointsChanged ( IList newDataPoints, IList oldDataPoints ) : void

Called after data points have been loaded from the items source.

OnLegendItemStylePropertyChanged ( Style oldValue, Style newValue ) : void

Called when the value of the LegendItemStyle property changes.

OnResourceDictionariesChanged ( EventArgs e ) : void

Invokes the ResourceDictionariesChanged event.

OnSeriesHostPropertyChanged ( ISeriesHost oldValue, ISeriesHost newValue ) : void

Called when the value of the SeriesHost property changes.

RemoveDataPoint ( DataPoint dataPoint ) : void

Removes data point's legend item when the data point is removed.

UpdateDataPoint ( DataPoint dataPoint ) : void

Updates a data point.

비공개 메소드들

메소드 설명
ConvertRatioOfRotationToPoint ( double ratio, double radiusX, double radiusY ) : Point

Accepts a ratio of a full rotation, the x and y length and returns the 2D point using trigonometric functions.

OnPalettePropertyChanged ( Collection newValue ) : void

PaletteProperty property changed handler.

OnPalettePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

PaletteProperty property changed handler.

OnPieDataPointActualOffsetRatioChanged ( object sender, RoutedPropertyChangedEventArgs args ) : void

Updates the data point when the pie data point's actual offset ratio is changed.

OnPieDataPointActualRatioChanged ( object sender, RoutedPropertyChangedEventArgs args ) : void

Updates the data point when the pie data point's actual ratio is changed.

OnPieDataPointOffsetRatioChanged ( object sender, RoutedPropertyChangedEventArgs args ) : void

Updates the data point when the pie data point's offset ratio is changed.

OnPieDataPointRatioChanged ( object sender, RoutedPropertyChangedEventArgs args ) : void

Updates the data point when the pie data point's ratio is changed.

SeriesHostResourceDictionariesChanged ( object sender, EventArgs e ) : void

Handles the SeriesHost's ResourceDictionariesChanged event.

UpdateLegendItemIndexes ( ) : void

Updates the indexes of all legend items when a change is made to the collection.

UpdatePieDataPointGeometry ( PieDataPoint pieDataPoint, double plotAreaWidth, double plotAreaHeight ) : void

Updates the PieDataPoint's Geometry property.

UpdateRatios ( ) : void

Updates the ratios of each data point.

메소드 상세

AddDataPoint() 보호된 메소드

Creates a legend item for each data point.
protected AddDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint The data point added.
리턴 void

AttachEventHandlersToDataPoint() 보호된 메소드

Attach event handlers to a data point.
protected AttachEventHandlersToDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint The data point.
리턴 void

CreateDataPoint() 보호된 메소드

Creates a data point.
protected CreateDataPoint ( ) : DataPoint
리턴 DataPoint

CreatePieLegendItem() 보호된 메소드

Creates a legend item from a data point.
protected CreatePieLegendItem ( DataPoint dataPoint, int index ) : LegendItem
dataPoint DataPoint The data point to use to create the legend item.
index int The 1-based index of the Control.
리턴 LegendItem

DetachEventHandlersFromDataPoint() 보호된 메소드

Detaches event handlers from a data point.
protected DetachEventHandlersFromDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint The data point.
리턴 void

GetResourceDictionariesWhere() 공개 메소드

Returns a rotating enumerator of ResourceDictionary objects that coordinates with the dispenser object to ensure that no two enumerators are on the same item. If the dispenser is reset or its collection is changed then the enumerators are also reset.
public GetResourceDictionariesWhere ( bool>.Func predicate ) : IEnumerator
predicate bool>.Func A predicate that returns a value indicating /// whether to return an item.
리턴 IEnumerator

GlobalSeriesIndexChanged() 공개 메소드

This method updates the global series index property.
public GlobalSeriesIndexChanged ( int globalIndex ) : void
globalIndex int The global index of the series.
리턴 void

OnBeforeUpdateDataPoints() 보호된 메소드

Updates all ratios before data points are updated.
protected OnBeforeUpdateDataPoints ( ) : void
리턴 void

OnDataPointDependentValueChanged() 보호된 메소드

Updates the data point when the dependent value is changed.
protected OnDataPointDependentValueChanged ( DataPoint dataPoint, IComparable oldValue, IComparable newValue ) : void
dataPoint DataPoint The data point.
oldValue IComparable The old value.
newValue IComparable The new value.
리턴 void

OnDataPointIndependentValueChanged() 보호된 메소드

Updates the data point when the independent value is changed.
protected OnDataPointIndependentValueChanged ( DataPoint dataPoint, object oldValue, object newValue ) : void
dataPoint DataPoint The data point.
oldValue object The old value.
newValue object The new value.
리턴 void

OnDataPointStylePropertyChanged() 보호된 메소드

DataPointStyleProperty property changed handler.
protected OnDataPointStylePropertyChanged ( Style oldValue, Style newValue ) : void
oldValue Windows.UI.Xaml.Style Old value.
newValue Windows.UI.Xaml.Style New value.
리턴 void

OnDataPointsChanged() 보호된 메소드

Called after data points have been loaded from the items source.
protected OnDataPointsChanged ( IList newDataPoints, IList oldDataPoints ) : void
newDataPoints IList New active data points.
oldDataPoints IList Old inactive data points.
리턴 void

OnLegendItemStylePropertyChanged() 보호된 메소드

Called when the value of the LegendItemStyle property changes.
protected OnLegendItemStylePropertyChanged ( Style oldValue, Style newValue ) : void
oldValue Windows.UI.Xaml.Style Old value.
newValue Windows.UI.Xaml.Style New value.
리턴 void

OnResourceDictionariesChanged() 보호된 메소드

Invokes the ResourceDictionariesChanged event.
protected OnResourceDictionariesChanged ( EventArgs e ) : void
e System.EventArgs Event arguments.
리턴 void

OnSeriesHostPropertyChanged() 보호된 메소드

Called when the value of the SeriesHost property changes.
protected OnSeriesHostPropertyChanged ( ISeriesHost oldValue, ISeriesHost newValue ) : void
oldValue ISeriesHost The value to be replaced.
newValue ISeriesHost The new series host value.
리턴 void

PieSeries() 공개 메소드

Initializes a new instance of the PieSeries class.
public PieSeries ( ) : System
리턴 System

RemoveDataPoint() 보호된 메소드

Removes data point's legend item when the data point is removed.
protected RemoveDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint The data point to remove.
리턴 void

UpdateDataPoint() 보호된 메소드

Updates a data point.
protected UpdateDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint The data point to update.
리턴 void

프로퍼티 상세

PaletteProperty 공개적으로 정적으로 프로퍼티

Identifies the Palette dependency property.
public static DependencyProperty,Windows.UI.Xaml PaletteProperty
리턴 Windows.UI.Xaml.DependencyProperty