Class ChartSeries3D
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public abstract class ChartSeries3D : ChartSeriesBase, ICloneable
Constructors
ChartSeries3D()
Initializes a new instance of the ChartSeries3D class.
Declaration
public ChartSeries3D()
Fields
AdornmentsInfoProperty
The DependencyProperty for AdornmentsInfo property.
Declaration
public static readonly DependencyProperty AdornmentsInfoProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
SegmentSelectionBrushProperty
The DependencyProperty for SegmentSelectionBrush property.
Declaration
public static readonly DependencyProperty SegmentSelectionBrushProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
SelectedIndexProperty
The DependencyProperty for SelectedIndex property.
Declaration
public static readonly DependencyProperty SelectedIndexProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
SelectionModeProperty
The DependencyProperty for SelectionMode property.
Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty |
Properties
AdornmentsInfo
Gets or sets data labels for the series.
This allows us to customize the appearance of a data point by displaying labels, shapes and connector lines.
Declaration
public ChartAdornmentInfo3D AdornmentsInfo { get; set; }
Property Value
Type | Description |
---|---|
ChartAdornmentInfo3D | The ChartAdornmentInfo3D value. |
Examples
<syncfusion:ColumnSeries3D.AdornmentsInfo>
<syncfusion:ChartAdornmentInfo3D ShowMarker="True" Symbol="Ellipse">
</syncfusion:ColumnSeries3D.AdornmentsInfo>
ChartAdornmentInfo3D chartAdornmentInfo3D = new ChartAdornmentInfo3D();
chartAdornmentInfo3D.ShowMarker = true;
chartAdornmentInfo3D.Symbol = ChartSymbol.Ellipse;
ColumnSeries3D columnSeries3D = new ColumnSeries3D();
columnSeries3D.AdornmentsInfo = chartAdornmentInfo3D;
SegmentSelectionBrush
Gets or sets the interior (brush) for the selected segment(s).
Declaration
public Brush SegmentSelectionBrush { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.Brush | The |
Examples
series.SegmentSelectionBrush = new SolidColorBrush(Colors.Red);
SelectedIndex
Gets or sets the index of the selected segment.
Declaration
public int SelectedIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
|
SelectedSegment
Gets the selected segment in this series, when we enable the single selection.
Declaration
protected override ChartSegment SelectedSegment { get; }
Property Value
Type | Description |
---|---|
ChartSegment | It returns |
Overrides
SelectedSegments
Gets the selected segments in this series, when we enable the multiple selection.
Declaration
protected override List<ChartSegment> SelectedSegments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ChartSegment> | It returns System.Collections.Generic.List<>. |
Overrides
SelectionMode
Gets or sets the property which defines the way of selection.
Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
Type | Description |
---|---|
SelectionMode |
|
Methods
AddAdornmentAtXY(Double, Double, Int32, Double)
Method implementation for Add Adornments at XY
Declaration
protected virtual void AddAdornmentAtXY(double x, double y, int pointindex, double startDepth)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The X Value |
System.Double | y | The Y Value |
System.Int32 | pointindex | The Point Index |
System.Double | startDepth | The Start Depth |
AddAdornments(Double, Double, Int32, Double)
Adds the adornment to the adornments collection.
Declaration
protected virtual void AddAdornments(double xValue, double yValue, int index, double depth)
Parameters
Type | Name | Description |
---|---|---|
System.Double | xValue | The X Value |
System.Double | yValue | The Y Value |
System.Int32 | index | The Index |
System.Double | depth | The Depth |
AddColumnAdornments(Double[])
Method implementation for Add ColumnAdornments in Chart.
Declaration
protected virtual void AddColumnAdornments(params double[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | values | The Value |
ClearUnUsedAdornments(Int32)
Method implementation for Clear Unused Adornments
Declaration
protected void ClearUnUsedAdornments(int startIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | startIndex | The start index. |
CloneSeries(DependencyObject)
Clones the series.
Declaration
protected override DependencyObject CloneSeries(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | The object. |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.DependencyObject | A DependencyObject. |
Overrides
CreateAdornment(ChartSeriesBase, Double, Double, Double, Double, Double)
Method implementation for Create Adornments
Declaration
protected virtual ChartAdornment CreateAdornment(ChartSeriesBase series, double xVal, double yVal, double xPos, double yPos, double startDepth)
Parameters
Type | Name | Description |
---|---|---|
ChartSeriesBase | series | The series. |
System.Double | xVal | The x value. |
System.Double | yVal | The y value. |
System.Double | xPos | The x position. |
System.Double | yPos | The y position. |
System.Double | startDepth | The start depth. |
Returns
Type | Description |
---|---|
ChartAdornment | Returns the created adornment. |
GetSeriesSelectionBrush(ChartSeriesBase)
Method used to get selection brush for series selection.
Declaration
public virtual Brush GetSeriesSelectionBrush(ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeriesBase | series | The Series |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.Media.Brush | The series selection brush. |
OnApplyTemplate()
Invoke to render 3D series
Declaration
protected override void OnApplyTemplate()
Overrides
OnDataSourceChanged(IEnumerable, IEnumerable)
Called when DataSource property changed
Declaration
protected override void OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | oldValue | The Old Value |
System.Collections.IEnumerable | newValue | The New Value |
Overrides
OnSeriesMouseDown(Object, Point)
Called when [series mouse down].
Declaration
protected override void OnSeriesMouseDown(object source, Point position)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
Windows.Foundation.Point | position | The position. |
Overrides
OnSeriesMouseLeave(Object, Point)
Called when [series mouse leave].
Declaration
protected virtual void OnSeriesMouseLeave(object source, Point pos)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
Windows.Foundation.Point | pos | The position. |
OnSeriesMouseMove(Object, Point)
Called when [series mouse move].
Declaration
protected virtual void OnSeriesMouseMove(object source, Point pos)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
Windows.Foundation.Point | pos | The position. |
OnSeriesMouseUp(Object, Point)
Called when [series mouse up].
Declaration
protected override void OnSeriesMouseUp(object source, Point position)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
Windows.Foundation.Point | position | The position. |
Overrides
SelectedIndexChanged(Int32, Int32)
Method used to set SegmentSelectionBrush to SelectedIndex ChartSegment3D and trigger chart selection event.
Declaration
protected override void SelectedIndexChanged(int newIndex, int oldIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | newIndex | The New Index |
System.Int32 | oldIndex | The Old Index |