ChartSeries
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Defines presentation and binding for one chart series.
- C#
- VB.NET
public class ChartSeries
Public Class ChartSeries
- Name Gets or sets the series legend and tooltip title.
- ChartType Gets or sets the geometry of this series. Cartesian series can share axes.
- DataSource Gets or sets an enumerable source, overriding ChartView.DataSource. Null uses shared data or Points.
Example:
var series = new ChartSeries { Name = "Revenue", ChartType = ChartType.Column, ValueMember = "Revenue" };
Constructors
ChartSeries()
Creates an observable series with empty samples.
Properties
AxisMembers
String[]: Gets or sets radar spoke member paths. When set, the first bound record supplies one value per spoke.
CategoryMember
String: Gets or sets the bound member path for Category. Empty uses the unbound point value. (Default: "")
CenterText
String: Gets or sets the label inside a donut. (Default: "")
ChartType
ChartType: Gets or sets the geometry of this series. Cartesian series can share axes. (Default: Line)
CloseMember
String: Gets or sets the bound member path for Close. Empty uses the unbound point value. (Default: "")
Color
Color: Gets or sets an explicit color; Color.Empty uses the chart palette. (Default: Color [Empty])
ColorMember
String: Gets or sets the bound member path for Color. Empty uses the unbound point value. (Default: "")
Connectors
Boolean: Gets or sets whether waterfall segments are joined by reference lines. (Default: True)
DataSource
Object: Gets or sets an enumerable source, overriding ChartView.DataSource. Null uses shared data or Points.
DownTone
ChartTone: Gets or sets the color for losses or falling candles. (Default: Danger)
ExplodeOnClick
Boolean: Gets or sets whether selecting a pie or donut slice offsets it from the center. (Default: True)
Fill
Boolean: Gets or sets whether area and radar shapes are filled. (Default: True)
FillOpacity
Double: Gets or sets the area and radar fill opacity from zero to one. (Default: 0.16)
GridShape
ChartGridShape: Gets or sets the radar grid shape. (Default: Polygon)
HighMember
String: Gets or sets the bound member path for High. Empty uses the unbound point value. (Default: "")
InnerRadius
Double: Gets or sets the donut hole radius as a fraction between zero and 0.9. (Default: 0.62)
LabelFormat
String: Gets or sets a .NET composite format: {0} is the value and {1} is the category. (Default: "{0:N0}")
LabelTemplate
String: Gets or sets a treemap composite label template: {0} value, {1} category, {2} color value. (Default: "{1}")
Levels
Int32: Gets or sets the heatmap intensity level count from two to twenty. (Default: 5)
LineStyle
ChartLineStyle: Gets or sets the stroke pattern for line, area and radar outlines. (Default: Solid)
LowMember
String: Gets or sets the bound member path for Low. Empty uses the unbound point value. (Default: "")
Markers
ChartMarkers: Gets or sets the visibility of point markers. (Default: Auto)
Name
String: Gets or sets the series legend and tooltip title. (Default: "")
Neck
Double: Gets or sets the funnel minimum width ratio between zero and one. (Default: 0.2)
OpenMember
String: Gets or sets the bound member path for Open. Empty uses the unbound point value. (Default: "")
Points
ChartPointCollection: Gets the mutable unbound sample collection. Used when no data source is supplied.
RunningTotal
Boolean: Gets or sets whether waterfall values accumulate; IsTotal points always use absolute values. (Default: True)
SecondaryAxis
Boolean: Gets or sets whether this series uses Y2Axis. (Default: False)
ShowConversion
Boolean: Gets or sets whether funnel stages display conversion percentages. (Default: True)
ShowLabels
Boolean: Gets or sets whether point values are printed on the plot. (Default: False)
SizeMember
String: Gets or sets the bound member path for Size. Empty uses the unbound point value. (Default: "")
Smooth
Boolean: Gets or sets whether line and area paths use bounded smooth curves. (Default: False)
Tone
ChartTone: Gets or sets the semantic color used when Color and palette are not specified. (Default: Primary)
TotalMember
String: Gets or sets the bound member path for Total. Empty uses the unbound point value. (Default: "")
UpTone
ChartTone: Gets or sets the color for gains or rising candles. (Default: Success)
ValueMember
String: Gets or sets the bound member path for Value. Empty uses the unbound point value. (Default: "")
Visible
Boolean: Gets or sets whether the series is drawn; legend toggling updates this property. (Default: True)
XMember
String: Gets or sets the bound member path for X. Empty uses the unbound point value. (Default: "")
YMember
String: Gets or sets the bound member path for Y. Empty uses the unbound point value. (Default: "")