Class BulletChartBuilder
Inheritance
System.Object
BulletChartBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
Syntax
public class BulletChartBuilder : ControlBuilder
Constructors
BulletChartBuilder()
Declaration
public BulletChartBuilder()
BulletChartBuilder(BulletChart)
Declaration
public BulletChartBuilder(BulletChart model)
Parameters
Fields
model
Declaration
Field Value
Properties
HtmlAttr
Declaration
public IDictionary<string, object> HtmlAttr { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
ID
Declaration
public string ID { get; set; }
Property Value
Type |
Description |
System.String |
|
Output
Declaration
public override TextWriter Output { get; set; }
Property Value
Type |
Description |
System.IO.TextWriter |
|
Overrides
Methods
Animation(BulletChartAnimation)
Options for customizing animation of the feature bar.
Declaration
public BulletChartBuilder Animation(BulletChartAnimation animation)
Parameters
Returns
Animation(Action<BulletChartAnimationBuilder>)
Declaration
public BulletChartBuilder Animation(Action<BulletChartAnimationBuilder> animation)
Parameters
Returns
BeforePrint(String)
Triggers before the prints gets started.
Declaration
public BulletChartBuilder BeforePrint(string beforePrint)
Parameters
Type |
Name |
Description |
System.String |
beforePrint |
|
Returns
Border(BulletChartContainerBorder)
Options for customizing the color and width of the chart border.
Declaration
public BulletChartBuilder Border(BulletChartContainerBorder border)
Parameters
Returns
Border(Action<BulletChartBorderBuilder>)
Declaration
public BulletChartBuilder Border(Action<BulletChartBorderBuilder> border)
Parameters
Returns
BulletChartMouseClick(String)
Triggers on clicking the chart.
Declaration
public BulletChartBuilder BulletChartMouseClick(string bulletChartMouseClick)
Parameters
Type |
Name |
Description |
System.String |
bulletChartMouseClick |
|
Returns
CategoryField(String)
It defines the category for the data source.
Declaration
public BulletChartBuilder CategoryField(string categoryField)
Parameters
Type |
Name |
Description |
System.String |
categoryField |
|
Returns
CategoryLabelStyle(BulletChartBulletLabelStyle)
Options for customizing values labels.
Declaration
public BulletChartBuilder CategoryLabelStyle(BulletChartBulletLabelStyle categoryLabelStyle)
Parameters
Returns
CategoryLabelStyle(Action<BulletChartBulletLabelStyleBuilder>)
Declaration
public BulletChartBuilder CategoryLabelStyle(Action<BulletChartBulletLabelStyleBuilder> categoryLabelStyle)
Parameters
Returns
DataLabel(BulletChartBulletDataLabel)
Options for customizing data label of the feature bar.
Declaration
public BulletChartBuilder DataLabel(BulletChartBulletDataLabel dataLabel)
Parameters
Returns
DataLabel(Action<BulletChartBulletDataLabelBuilder>)
Declaration
public BulletChartBuilder DataLabel(Action<BulletChartBulletDataLabelBuilder> dataLabel)
Parameters
Returns
DataSource(Action<DataManagerBuilder>)
Declaration
public BulletChartBuilder DataSource(Action<DataManagerBuilder> dataSource)
Parameters
Returns
DataSource(Object)
default value of multiple data bullet chart.
Declaration
public BulletChartBuilder DataSource(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
Returns
EnableGroupSeparator(Boolean)
default value for enableGroupSeparator.
Declaration
public BulletChartBuilder EnableGroupSeparator(bool enableGroupSeparator = true)
Parameters
Type |
Name |
Description |
System.Boolean |
enableGroupSeparator |
|
Returns
EnablePersistence(Boolean)
Enable or disable persisting component's state between page reloads.
Declaration
public BulletChartBuilder EnablePersistence(bool enablePersistence = true)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
|
Returns
EnableRtl(Boolean)
Enable or disable rendering component in right to left direction.
Declaration
public BulletChartBuilder EnableRtl(bool enableRtl = true)
Parameters
Type |
Name |
Description |
System.Boolean |
enableRtl |
|
Returns
Height(String)
The height of the bullet chart as a string accepts input both as '100px' or '100%'.
If specified as '100%, bullet chart renders to the full height of its parent element.
Declaration
public BulletChartBuilder Height(string height)
Parameters
Type |
Name |
Description |
System.String |
height |
|
Returns
HtmlAttributes(Object)
Allows additional HTML attributes such as title, name, etc., and
accepts n number of attributes in a key-value pair format.
Declaration
public BulletChartBuilder HtmlAttributes(object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Object |
htmlAttributes |
|
Returns
Interval(Double)
Specifies the interval for an scale.
Declaration
public BulletChartBuilder Interval(double interval)
Parameters
Type |
Name |
Description |
System.Double |
interval |
|
Returns
Specifies the format of the bullet chart axis labels.
Declaration
public BulletChartBuilder LabelFormat(string labelFormat)
Parameters
Type |
Name |
Description |
System.String |
labelFormat |
|
Returns
LabelPosition(LabelsPlacement)
specifies the axis label position of the bullet chart.
Declaration
public BulletChartBuilder LabelPosition(LabelsPlacement labelPosition)
Parameters
Returns
LabelStyle(BulletChartBulletLabelStyle)
Options for customizing labels
Declaration
public BulletChartBuilder LabelStyle(BulletChartBulletLabelStyle labelStyle)
Parameters
Returns
LabelStyle(Action<BulletChartBulletLabelStyleBuilder>)
Declaration
public BulletChartBuilder LabelStyle(Action<BulletChartBulletLabelStyleBuilder> labelStyle)
Parameters
Returns
LegendRender(String)
Triggers before the legend is rendered.
Declaration
public BulletChartBuilder LegendRender(string legendRender)
Parameters
Type |
Name |
Description |
System.String |
legendRender |
|
Returns
LegendSettings(BulletChartBulletChartLegendSettings)
Options for customizing the legend of the bullet chart.
Declaration
public BulletChartBuilder LegendSettings(BulletChartBulletChartLegendSettings legendSettings)
Parameters
Returns
LegendSettings(Action<BulletChartBulletChartLegendSettingsBuilder>)
Declaration
public BulletChartBuilder LegendSettings(Action<BulletChartBulletChartLegendSettingsBuilder> legendSettings)
Parameters
Returns
Load(String)
Triggers before bullet chart load.
Declaration
public BulletChartBuilder Load(string load)
Parameters
Type |
Name |
Description |
System.String |
load |
|
Returns
Loaded(String)
Triggers after the bullet chart rendering
Declaration
public BulletChartBuilder Loaded(string loaded)
Parameters
Type |
Name |
Description |
System.String |
loaded |
|
Returns
Locale(String)
The locale of the bullet chart as a string.
Declaration
public BulletChartBuilder Locale(string locale)
Parameters
Type |
Name |
Description |
System.String |
locale |
|
Returns
MajorTickLines(BulletChartMajorTickLines)
Options for customizing major tick lines.
Declaration
public BulletChartBuilder MajorTickLines(BulletChartMajorTickLines majorTickLines)
Parameters
Returns
MajorTickLines(Action<BulletChartMajorTickLinesBuilder>)
Declaration
public BulletChartBuilder MajorTickLines(Action<BulletChartMajorTickLinesBuilder> majorTickLines)
Parameters
Returns
Margin(BulletChartMargin)
Options to customize left, right, top and bottom margins of the bullet chart.
Declaration
public BulletChartBuilder Margin(BulletChartMargin margin)
Parameters
Returns
Margin(Action<BulletChartMarginBuilder>)
Declaration
public BulletChartBuilder Margin(Action<BulletChartMarginBuilder> margin)
Parameters
Returns
Maximum(Double)
Specifies the maximum range of an scale.
Declaration
public BulletChartBuilder Maximum(double maximum)
Parameters
Type |
Name |
Description |
System.Double |
maximum |
|
Returns
Minimum(Double)
Specifies the minimum range of an scale.
Declaration
public BulletChartBuilder Minimum(double minimum)
Parameters
Type |
Name |
Description |
System.Double |
minimum |
|
Returns
MinorTickLines(BulletChartMinorTickLines)
Options for customizing minor tick lines.
Declaration
public BulletChartBuilder MinorTickLines(BulletChartMinorTickLines minorTickLines)
Parameters
Returns
MinorTickLines(Action<BulletChartMinorTickLinesBuilder>)
Declaration
public BulletChartBuilder MinorTickLines(Action<BulletChartMinorTickLinesBuilder> minorTickLines)
Parameters
Returns
MinorTicksPerInterval(Double)
specifies the interval of minor ticks.
Declaration
public BulletChartBuilder MinorTicksPerInterval(double minorTicksPerInterval)
Parameters
Type |
Name |
Description |
System.Double |
minorTicksPerInterval |
|
Returns
OpposedPosition(Boolean)
If set to true, the axis will render at the opposite side of its default position.
Declaration
public BulletChartBuilder OpposedPosition(bool opposedPosition = true)
Parameters
Type |
Name |
Description |
System.Boolean |
opposedPosition |
|
Returns
Orientation(OrientationType)
Orientation of the scale.
Declaration
public BulletChartBuilder Orientation(OrientationType orientation)
Parameters
Returns
Query(String)
It defines the query for the data source.
Declaration
public BulletChartBuilder Query(string query)
Parameters
Type |
Name |
Description |
System.String |
query |
|
Returns
Ranges(Action<RangeBuilder>)
Declaration
public BulletChartBuilder Ranges(Action<RangeBuilder> ranges)
Parameters
Returns
Ranges(List<Range>)
provides Qualitative ranges of the bullet chart.
Declaration
public BulletChartBuilder Ranges(List<Range> ranges)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Range> |
ranges |
|
Returns
Render()
Declaration
public HtmlString Render()
Returns
Type |
Description |
System.Web.HtmlString |
|
Subtitle(String)
Specifies the sub title of the bullet chart.
Declaration
public BulletChartBuilder Subtitle(string subtitle)
Parameters
Type |
Name |
Description |
System.String |
subtitle |
|
Returns
SubtitleStyle(BulletChartBulletLabelStyle)
Options for customizing the sub title styles of the bullet chart.
Declaration
public BulletChartBuilder SubtitleStyle(BulletChartBulletLabelStyle subtitleStyle)
Parameters
Returns
SubtitleStyle(Action<BulletChartBulletLabelStyleBuilder>)
Declaration
public BulletChartBuilder SubtitleStyle(Action<BulletChartBulletLabelStyleBuilder> subtitleStyle)
Parameters
Returns
TabIndex(Double)
TabIndex value for the bullet chart.
Declaration
public BulletChartBuilder TabIndex(double tabIndex)
Parameters
Type |
Name |
Description |
System.Double |
tabIndex |
|
Returns
TargetColor(String)
Default stroke of comparative measure.
Declaration
public BulletChartBuilder TargetColor(string targetColor)
Parameters
Type |
Name |
Description |
System.String |
targetColor |
|
Returns
TargetField(String)
The DataSource field that contains the target value.
Declaration
public BulletChartBuilder TargetField(string targetField)
Parameters
Type |
Name |
Description |
System.String |
targetField |
|
Returns
TargetTypes(Object)
The DataSource field that contains the target value.
Declaration
public BulletChartBuilder TargetTypes(object targetTypes)
Parameters
Type |
Name |
Description |
System.Object |
targetTypes |
|
Returns
TargetWidth(Double)
Options for customizing comparative bar color bullet chart.
Declaration
public BulletChartBuilder TargetWidth(double targetWidth)
Parameters
Type |
Name |
Description |
System.Double |
targetWidth |
|
Returns
Theme(ChartTheme)
Specifies the theme for the bullet chart.
Declaration
public BulletChartBuilder Theme(ChartTheme theme)
Parameters
Returns
TickPosition(TickPosition)
specifies the tick position of the bullet chart.
Declaration
public BulletChartBuilder TickPosition(TickPosition tickPosition)
Parameters
Returns
Title(String)
Specifies the title of the bullet chart.
Declaration
public BulletChartBuilder Title(string title)
Parameters
Type |
Name |
Description |
System.String |
title |
|
Returns
TitlePosition(TextPosition)
Sets the title position of bullet chart.
Declaration
public BulletChartBuilder TitlePosition(TextPosition titlePosition)
Parameters
Returns
TitleStyle(BulletChartBulletLabelStyle)
Options for customizing the title styles of the bullet chart.
Declaration
public BulletChartBuilder TitleStyle(BulletChartBulletLabelStyle titleStyle)
Parameters
Returns
TitleStyle(Action<BulletChartBulletLabelStyleBuilder>)
Declaration
public BulletChartBuilder TitleStyle(Action<BulletChartBulletLabelStyleBuilder> titleStyle)
Parameters
Returns
Options for customizing the tooltip of the BulletChart.
Declaration
public BulletChartBuilder Tooltip(BulletChartBulletTooltipSettings tooltip)
Parameters
Returns
Declaration
public BulletChartBuilder Tooltip(Action<BulletChartBulletTooltipSettingsBuilder> tooltip)
Parameters
Returns
Triggers before the bulletchart tooltip is rendered.
Declaration
public BulletChartBuilder TooltipRender(string tooltipRender)
Parameters
Type |
Name |
Description |
System.String |
tooltipRender |
|
Returns
Type(FeatureType)
Default type on feature measure.
Declaration
public BulletChartBuilder Type(FeatureType type)
Parameters
Returns
ValueBorder(BulletChartValueBorder)
Options for customizing the color and width of the feature bar border.
Declaration
public BulletChartBuilder ValueBorder(BulletChartValueBorder valueBorder)
Parameters
Returns
ValueBorder(Action<BulletChartBorderBuilder>)
Declaration
public BulletChartBuilder ValueBorder(Action<BulletChartBorderBuilder> valueBorder)
Parameters
Returns
ValueField(String)
The DataSource field that contains the value value.
Declaration
public BulletChartBuilder ValueField(string valueField)
Parameters
Type |
Name |
Description |
System.String |
valueField |
|
Returns
ValueFill(String)
Default stroke color of feature measure.
Declaration
public BulletChartBuilder ValueFill(string valueFill)
Parameters
Type |
Name |
Description |
System.String |
valueFill |
|
Returns
ValueHeight(Double)
Options for customizing feature bar height of the bullet chart.
Declaration
public BulletChartBuilder ValueHeight(double valueHeight)
Parameters
Type |
Name |
Description |
System.Double |
valueHeight |
|
Returns
Width(String)
The width of the bullet chart as a string accepts input as both like '100px' or '100%'.
If specified as '100%, bullet chart renders to the full width of its parent element.
Declaration
public BulletChartBuilder Width(string width)
Parameters
Type |
Name |
Description |
System.String |
width |
|
Returns