Class SelectionSettings
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class SelectionSettings : EJTagHelper
Constructors
SelectionSettings()
Declaration
public SelectionSettings()
Properties
Border
Gets or sets the Border used for Selection, which provides an option to customize border of series on selection.
Declaration
[JsonProperty("border")]
public ChartBorder Border { get; set; }
Property Value
Type | Description |
---|---|
ChartBorder |
Remarks
Options for customizing the border of the series on selection.
Color
Gets or sets the Color used for Selection, which provides an option to customize the color of point or series on selection.
Declaration
[JsonProperty("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Color of the series/point on selection.
CustomPattern
Gets or sets the Custom Pattern used for selection, which selects the points or series based on specified custom pattern.
Declaration
[JsonProperty("customPattern")]
public string CustomPattern { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Custom pattern for the series on selection.
Enable
Gets or sets a enable value which indicates, whether selection is enabled or not on selecting the point or series.
Declaration
[JsonProperty("enable")]
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Enables/disables the ability to select a series/data point interactively.
Mode
Gets or sets the Mode of selection, which provides an option to select the data point or series based on specified mode.
Declaration
[JsonProperty("mode")]
[JsonConverter(typeof(StringEnumConverter))]
public ChartMode Mode { get; set; }
Property Value
Type | Description |
---|---|
ChartMode |
Remarks
Specifies whether the series or data point has to be selected.
Opacity
Gets or sets the Opacity used for Selection, which provides an option to select the point or series based on sepcified opacity.
Declaration
[JsonProperty("opacity")]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Opacity of the selected series / data point.
Pattern
Gets or sets the Pattern used for selection, which selects the point or series based on the specified pattern.
Declaration
[JsonProperty("pattern")]
[JsonConverter(typeof(StringEnumConverter))]
public ChartPattern Pattern { get; set; }
Property Value
Type | Description |
---|---|
ChartPattern |
Remarks
Specifies the pattern for the series/point on selection.
RangeType
Gets or sets the multiSelectType used for selection, which provides an option to select the points or series based on range type.
Declaration
[JsonProperty("rangeType")]
[JsonConverter(typeof(StringEnumConverter))]
public MultiSelectType RangeType { get; set; }
Property Value
Type | Description |
---|---|
MultiSelectType |
Remarks
Specifies the multiSelectType for the range on selection.
Type
Gets or sets the Type of selection, which provides an option to select single or multiple points based on type of selection.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("type")]
public ChartSelectionType Type { get; set; }
Property Value
Type | Description |
---|---|
ChartSelectionType |
Remarks
Specifies whether multiple data points can be selected or not.
Methods
ShouldSerializeBorder()
Declaration
public bool ShouldSerializeBorder()
Returns
Type | Description |
---|---|
System.Boolean |