Class Chart3DSeriesBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
Chart3DSeriesBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class Chart3DSeriesBuilder : ControlBuilder
Constructors
Chart3DSeriesBuilder()
Declaration
public Chart3DSeriesBuilder()
Chart3DSeriesBuilder(List<Chart3DSeries>)
Declaration
public Chart3DSeriesBuilder(List<Chart3DSeries> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Chart3DSeries> |
collection |
|
Methods
Add()
Declaration
Animation(Chart3DAnimation)
Options to customizing animation for the series.
Declaration
public Chart3DSeriesBuilder Animation(Chart3DAnimation animation)
Parameters
Returns
Animation(Action<Chart3DAnimationBuilder>)
Declaration
public Chart3DSeriesBuilder Animation(Action<Chart3DAnimationBuilder> animation)
Parameters
Returns
ColumnFacet(ShapeType)
Defines the shape of the data in a column and bar chart.
Rectangle: Displays the data in a column and bar chart in a rectangle shape.
Cylinder: Displays the data in a column and bar chart in a cylinder shape.
Declaration
public Chart3DSeriesBuilder ColumnFacet(ShapeType columnFacet)
Parameters
Returns
ColumnSpacing(Double)
To render the column series points with particular column spacing. It takes value from 0 - 1.
Declaration
public Chart3DSeriesBuilder ColumnSpacing(double columnSpacing)
Parameters
Type |
Name |
Description |
System.Double |
columnSpacing |
|
Returns
ColumnWidth(Double)
Render the column series points with a particular column width.
Declaration
public Chart3DSeriesBuilder ColumnWidth(double columnWidth)
Parameters
Type |
Name |
Description |
System.Double |
columnWidth |
|
Returns
DataLabel(Chart3DDataLabelSettings)
The data label for the series.
Declaration
public Chart3DSeriesBuilder DataLabel(Chart3DDataLabelSettings dataLabel)
Parameters
Returns
DataLabel(Action<Chart3DDataLabelSettingsBuilder>)
Declaration
public Chart3DSeriesBuilder DataLabel(Action<Chart3DDataLabelSettingsBuilder> dataLabel)
Parameters
Returns
DataSource(Action<DataManagerBuilder>)
Declaration
public Chart3DSeriesBuilder DataSource(Action<DataManagerBuilder> dataSource)
Parameters
Type |
Name |
Description |
System.Action<Syncfusion.EJ2.DataManagerBuilder> |
dataSource |
|
Returns
DataSource(Object)
Specifies the data source for the series. It can be an array of JSON objects or an instance of DataManager.
Declaration
public Chart3DSeriesBuilder DataSource(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
Returns
EmptyPointSettings(Chart3DEmptyPointSettings)
options to customize the empty points in series.
Declaration
public Chart3DSeriesBuilder EmptyPointSettings(Chart3DEmptyPointSettings emptyPointSettings)
Parameters
Returns
EmptyPointSettings(Action<Chart3DEmptyPointSettingsBuilder>)
Declaration
public Chart3DSeriesBuilder EmptyPointSettings(Action<Chart3DEmptyPointSettingsBuilder> emptyPointSettings)
Parameters
Returns
Enable tooltip for the chart series.
Declaration
public Chart3DSeriesBuilder EnableTooltip(bool enableTooltip)
Parameters
Type |
Name |
Description |
System.Boolean |
enableTooltip |
|
Returns
Fill(String)
The fill color for the series, which can accept values in hex or rgba as a valid CSS color string.
Declaration
public Chart3DSeriesBuilder Fill(string fill)
Parameters
Type |
Name |
Description |
System.String |
fill |
|
Returns
GroupName(String)
Defines the name that specifies the chart series are mutually exclusive and can be overlaid.
The axis in the same group shares the same baseline and location on the corresponding axis.
Declaration
public Chart3DSeriesBuilder GroupName(string groupName)
Parameters
Type |
Name |
Description |
System.String |
groupName |
|
Returns
LegendImageUrl(String)
The URL for the Image that is to be displayed as a Legend icon. It requires legendShape
value to be an Image
.
Declaration
public Chart3DSeriesBuilder LegendImageUrl(string legendImageUrl)
Parameters
Type |
Name |
Description |
System.String |
legendImageUrl |
|
Returns
LegendShape(LegendShape)
The shape of the legend. Each series has its own legend shape, which can be one of the following:
Circle
Rectangle
Triangle
Diamond
Cross
HorizontalLine
VerticalLine
Pentagon
InvertedTriangle
SeriesType
Image
Declaration
public Chart3DSeriesBuilder LegendShape(LegendShape legendShape)
Parameters
Returns
Name(String)
The name of the series as displayed in the legend.
Declaration
public Chart3DSeriesBuilder Name(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Opacity(Double)
The opacity of the series.
Declaration
public Chart3DSeriesBuilder Opacity(double opacity)
Parameters
Type |
Name |
Description |
System.Double |
opacity |
|
Returns
PointColorMapping(String)
The DataSource field that contains the point colors.
Declaration
public Chart3DSeriesBuilder PointColorMapping(string pointColorMapping)
Parameters
Type |
Name |
Description |
System.String |
pointColorMapping |
|
Returns
Query(String)
Specifies a query to select data from the DataSource. This property is applicable only when the DataSource is an ej.DataManager
.
Declaration
public Chart3DSeriesBuilder Query(string query)
Parameters
Type |
Name |
Description |
System.String |
query |
|
Returns
Size(String)
The DataSource field that contains the size value of y
Declaration
public Chart3DSeriesBuilder Size(string size)
Parameters
Type |
Name |
Description |
System.String |
size |
|
Returns
StackingGroup(String)
This property allows grouping series in stacked column / bar
charts.
Any string value can be provided to the stackingGroup property.
If any two or above series have the same value, those series will be grouped together.
Declaration
public Chart3DSeriesBuilder StackingGroup(string stackingGroup)
Parameters
Type |
Name |
Description |
System.String |
stackingGroup |
|
Returns
Format of the tooltip content.
Declaration
public Chart3DSeriesBuilder TooltipFormat(string tooltipFormat)
Parameters
Type |
Name |
Description |
System.String |
tooltipFormat |
|
Returns
The data source field that contains the tooltip value.
Declaration
public Chart3DSeriesBuilder TooltipMappingName(string tooltipMappingName)
Parameters
Type |
Name |
Description |
System.String |
tooltipMappingName |
|
Returns
Type(Chart3DSeriesType)
Specifies the type of the series in the 3D chart. Available options include:
- Column
- Bar
- StackingColumn
- StackingBar
- StackingColumn100
- StackingBar100
Declaration
public Chart3DSeriesBuilder Type(Chart3DSeriesType type)
Parameters
Returns
Visible(Boolean)
Specifies the visibility of series.
Declaration
public Chart3DSeriesBuilder Visible(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Returns
XAxisName(String)
The name of the horizontal axis associated with the series. It requires axes
of the chart.
Declaration
public Chart3DSeriesBuilder XAxisName(string xAxisName)
Parameters
Type |
Name |
Description |
System.String |
xAxisName |
|
Returns
XName(String)
The DataSource field that contains the x value.
Declaration
public Chart3DSeriesBuilder XName(string xName)
Parameters
Type |
Name |
Description |
System.String |
xName |
|
Returns
YAxisName(String)
The name of the vertical axis associated with the series. It requires axes
of the chart.
Declaration
public Chart3DSeriesBuilder YAxisName(string yAxisName)
Parameters
Type |
Name |
Description |
System.String |
yAxisName |
|
Returns
YName(String)
The DataSource field that contains the y value.
Declaration
public Chart3DSeriesBuilder YName(string yName)
Parameters
Type |
Name |
Description |
System.String |
yName |
|
Returns