ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartBuilder

    Show / Hide Table of Contents

    Class ChartBuilder

    Inheritance
    System.Object
    ControlBuilder
    ChartBuilder
    Inherited Members
    ControlBuilder.Context
    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()
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartBuilder : ControlBuilder

    Constructors

    ChartBuilder()

    Declaration
    public ChartBuilder()

    ChartBuilder(Chart)

    Declaration
    public ChartBuilder(Chart model)
    Parameters
    Type Name Description
    Chart model

    Fields

    model

    Declaration
    public Chart model
    Field Value
    Type Description
    Chart

    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
    ControlBuilder.Output

    Methods

    AfterExport(String)

    Triggers after the export completed.

    Declaration
    public ChartBuilder AfterExport(string afterExport)
    Parameters
    Type Name Description
    System.String afterExport
    Returns
    Type Description
    ChartBuilder

    AllowExport(Boolean)

    To enable export feature in blazor chart.

    Declaration
    public ChartBuilder AllowExport(bool allowExport = true)
    Parameters
    Type Name Description
    System.Boolean allowExport
    Returns
    Type Description
    ChartBuilder

    AllowMultiSelection(Boolean)

    If set true, enables the multi drag selection in chart. It requires selectionMode to be Dragx | DragY | or DragXY.

    Declaration
    public ChartBuilder AllowMultiSelection(bool allowMultiSelection = true)
    Parameters
    Type Name Description
    System.Boolean allowMultiSelection
    Returns
    Type Description
    ChartBuilder

    AnimationComplete(String)

    Triggers after animation is completed for the series.

    Declaration
    public ChartBuilder AnimationComplete(string animationComplete)
    Parameters
    Type Name Description
    System.String animationComplete
    Returns
    Type Description
    ChartBuilder

    AnnotationRender(String)

    Triggers before the annotation gets rendered.

    Declaration
    public ChartBuilder AnnotationRender(string annotationRender)
    Parameters
    Type Name Description
    System.String annotationRender
    Returns
    Type Description
    ChartBuilder

    Annotations(Action<ChartAnnotationBuilder>)

    Declaration
    public ChartBuilder Annotations(Action<ChartAnnotationBuilder> annotations)
    Parameters
    Type Name Description
    System.Action<ChartAnnotationBuilder> annotations
    Returns
    Type Description
    ChartBuilder

    Annotations(List<ChartAnnotation>)

    The configuration for annotation in chart.

    Declaration
    public ChartBuilder Annotations(List<ChartAnnotation> annotations)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartAnnotation> annotations
    Returns
    Type Description
    ChartBuilder

    Axes(Action<ChartAxisBuilder>)

    Declaration
    public ChartBuilder Axes(Action<ChartAxisBuilder> axes)
    Parameters
    Type Name Description
    System.Action<ChartAxisBuilder> axes
    Returns
    Type Description
    ChartBuilder

    Axes(List<ChartAxis>)

    Secondary axis collection for the chart.

    Declaration
    public ChartBuilder Axes(List<ChartAxis> axes)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartAxis> axes
    Returns
    Type Description
    ChartBuilder

    AxisLabelClick(String)

    Triggers when x axis label clicked.

    Declaration
    public ChartBuilder AxisLabelClick(string axisLabelClick)
    Parameters
    Type Name Description
    System.String axisLabelClick
    Returns
    Type Description
    ChartBuilder

    AxisLabelRender(String)

    Triggers before each axis label is rendered.

    Declaration
    public ChartBuilder AxisLabelRender(string axisLabelRender)
    Parameters
    Type Name Description
    System.String axisLabelRender
    Returns
    Type Description
    ChartBuilder

    AxisMultiLabelRender(String)

    Triggers before each axis multi label is rendered.

    Declaration
    public ChartBuilder AxisMultiLabelRender(string axisMultiLabelRender)
    Parameters
    Type Name Description
    System.String axisMultiLabelRender
    Returns
    Type Description
    ChartBuilder

    AxisRangeCalculated(String)

    Triggers before each axis range is rendered.

    Declaration
    public ChartBuilder AxisRangeCalculated(string axisRangeCalculated)
    Parameters
    Type Name Description
    System.String axisRangeCalculated
    Returns
    Type Description
    ChartBuilder

    Background(String)

    The background color of the chart that accepts value in hex and rgba as a valid CSS color string.

    Declaration
    public ChartBuilder Background(string background)
    Parameters
    Type Name Description
    System.String background
    Returns
    Type Description
    ChartBuilder

    BackgroundImage(String)

    The background image of the chart that accepts value in string as url link or location of an image.

    Declaration
    public ChartBuilder BackgroundImage(string backgroundImage)
    Parameters
    Type Name Description
    System.String backgroundImage
    Returns
    Type Description
    ChartBuilder

    BeforeExport(String)

    Triggers before the export gets started.

    Declaration
    public ChartBuilder BeforeExport(string beforeExport)
    Parameters
    Type Name Description
    System.String beforeExport
    Returns
    Type Description
    ChartBuilder

    BeforePrint(String)

    Triggers before the prints gets started.

    Declaration
    public ChartBuilder BeforePrint(string beforePrint)
    Parameters
    Type Name Description
    System.String beforePrint
    Returns
    Type Description
    ChartBuilder

    BeforeResize(String)

    Triggers before resizing of chart

    Declaration
    public ChartBuilder BeforeResize(string beforeResize)
    Parameters
    Type Name Description
    System.String beforeResize
    Returns
    Type Description
    ChartBuilder

    Border(ChartBorder)

    Options for customizing the color and width of the chart border.

    Declaration
    public ChartBuilder Border(ChartBorder border)
    Parameters
    Type Name Description
    ChartBorder border
    Returns
    Type Description
    ChartBuilder

    Border(Action<ChartBorderBuilder>)

    Declaration
    public ChartBuilder Border(Action<ChartBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<ChartBorderBuilder> border
    Returns
    Type Description
    ChartBuilder

    ChartArea(ChartArea)

    Options for configuring the border and background of the chart area.

    Declaration
    public ChartBuilder ChartArea(ChartArea chartArea)
    Parameters
    Type Name Description
    ChartArea chartArea
    Returns
    Type Description
    ChartBuilder

    ChartArea(Action<ChartAreaBuilder>)

    Declaration
    public ChartBuilder ChartArea(Action<ChartAreaBuilder> chartArea)
    Parameters
    Type Name Description
    System.Action<ChartAreaBuilder> chartArea
    Returns
    Type Description
    ChartBuilder

    ChartDoubleClick(String)

    Triggers on double clicking the chart.

    Declaration
    public ChartBuilder ChartDoubleClick(string chartDoubleClick)
    Parameters
    Type Name Description
    System.String chartDoubleClick
    Returns
    Type Description
    ChartBuilder

    ChartMouseClick(String)

    Triggers on clicking the chart.

    Declaration
    public ChartBuilder ChartMouseClick(string chartMouseClick)
    Parameters
    Type Name Description
    System.String chartMouseClick
    Returns
    Type Description
    ChartBuilder

    ChartMouseDown(String)

    Triggers on mouse down.

    Declaration
    public ChartBuilder ChartMouseDown(string chartMouseDown)
    Parameters
    Type Name Description
    System.String chartMouseDown
    Returns
    Type Description
    ChartBuilder

    ChartMouseLeave(String)

    Triggers when cursor leaves the chart.

    Declaration
    public ChartBuilder ChartMouseLeave(string chartMouseLeave)
    Parameters
    Type Name Description
    System.String chartMouseLeave
    Returns
    Type Description
    ChartBuilder

    ChartMouseMove(String)

    Triggers on hovering the chart.

    Declaration
    public ChartBuilder ChartMouseMove(string chartMouseMove)
    Parameters
    Type Name Description
    System.String chartMouseMove
    Returns
    Type Description
    ChartBuilder

    ChartMouseUp(String)

    Triggers on mouse up.

    Declaration
    public ChartBuilder ChartMouseUp(string chartMouseUp)
    Parameters
    Type Name Description
    System.String chartMouseUp
    Returns
    Type Description
    ChartBuilder

    Columns(Action<ChartColumnBuilder>)

    Declaration
    public ChartBuilder Columns(Action<ChartColumnBuilder> columns)
    Parameters
    Type Name Description
    System.Action<ChartColumnBuilder> columns
    Returns
    Type Description
    ChartBuilder

    Columns(List<ChartColumn>)

    Options to split chart into multiple plotting areas vertically. Each object in the collection represents a plotting area in the chart.

    Declaration
    public ChartBuilder Columns(List<ChartColumn> columns)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartColumn> columns
    Returns
    Type Description
    ChartBuilder

    Crosshair(ChartCrosshairSettings)

    Options for customizing the crosshair of the chart.

    Declaration
    public ChartBuilder Crosshair(ChartCrosshairSettings crosshair)
    Parameters
    Type Name Description
    ChartCrosshairSettings crosshair
    Returns
    Type Description
    ChartBuilder

    Crosshair(Action<ChartCrosshairSettingsBuilder>)

    Declaration
    public ChartBuilder Crosshair(Action<ChartCrosshairSettingsBuilder> crosshair)
    Parameters
    Type Name Description
    System.Action<ChartCrosshairSettingsBuilder> crosshair
    Returns
    Type Description
    ChartBuilder

    DataSource(Action<DataManagerBuilder>)

    Declaration
    public ChartBuilder DataSource(Action<DataManagerBuilder> dataSource)
    Parameters
    Type Name Description
    System.Action<DataManagerBuilder> dataSource
    Returns
    Type Description
    ChartBuilder

    DataSource(Object)

    Specifies the DataSource for the chart. It can be an array of JSON objects or an instance of DataManager.

    Declaration
    public ChartBuilder DataSource(object dataSource)
    Parameters
    Type Name Description
    System.Object dataSource
    Returns
    Type Description
    ChartBuilder

    Description(String)

    Description for chart.

    Declaration
    public ChartBuilder Description(string description)
    Parameters
    Type Name Description
    System.String description
    Returns
    Type Description
    ChartBuilder

    Drag(String)

    Triggers when the point is dragging.

    Declaration
    public ChartBuilder Drag(string drag)
    Parameters
    Type Name Description
    System.String drag
    Returns
    Type Description
    ChartBuilder

    DragComplete(String)

    Triggers after the drag selection is completed.

    Declaration
    public ChartBuilder DragComplete(string dragComplete)
    Parameters
    Type Name Description
    System.String dragComplete
    Returns
    Type Description
    ChartBuilder

    DragEnd(String)

    Triggers when the point drag end.

    Declaration
    public ChartBuilder DragEnd(string dragEnd)
    Parameters
    Type Name Description
    System.String dragEnd
    Returns
    Type Description
    ChartBuilder

    DragStart(String)

    Triggers when the point drag start.

    Declaration
    public ChartBuilder DragStart(string dragStart)
    Parameters
    Type Name Description
    System.String dragStart
    Returns
    Type Description
    ChartBuilder

    EnableAnimation(Boolean)

    If set true, Animation process will be executed.

    Declaration
    public ChartBuilder EnableAnimation(bool enableAnimation = true)
    Parameters
    Type Name Description
    System.Boolean enableAnimation
    Returns
    Type Description
    ChartBuilder

    EnableAutoIntervalOnBothAxis(Boolean)

    If set to true, both axis interval will be calculated automatically with respect to the zoomed range.

    Declaration
    public ChartBuilder EnableAutoIntervalOnBothAxis(bool enableAutoIntervalOnBothAxis = true)
    Parameters
    Type Name Description
    System.Boolean enableAutoIntervalOnBothAxis
    Returns
    Type Description
    ChartBuilder

    EnableCanvas(Boolean)

    It specifies whether the chart should be rendered in canvas mode.

    Declaration
    public ChartBuilder EnableCanvas(bool enableCanvas = true)
    Parameters
    Type Name Description
    System.Boolean enableCanvas
    Returns
    Type Description
    ChartBuilder

    EnableExport(Boolean)

    To enable export feature in chart.

    Declaration
    public ChartBuilder EnableExport(bool enableExport = true)
    Parameters
    Type Name Description
    System.Boolean enableExport
    Returns
    Type Description
    ChartBuilder

    EnablePersistence(Boolean)

    Enable or disable persisting component's state between page reloads.

    Declaration
    public ChartBuilder EnablePersistence(bool enablePersistence = true)
    Parameters
    Type Name Description
    System.Boolean enablePersistence
    Returns
    Type Description
    ChartBuilder

    EnableRtl(Boolean)

    Enable or disable rendering component in right to left direction.

    Declaration
    public ChartBuilder EnableRtl(bool enableRtl = true)
    Parameters
    Type Name Description
    System.Boolean enableRtl
    Returns
    Type Description
    ChartBuilder

    EnableSideBySidePlacement(Boolean)

    To enable the side by side placing the points for column type series.

    Declaration
    public ChartBuilder EnableSideBySidePlacement(bool enableSideBySidePlacement = true)
    Parameters
    Type Name Description
    System.Boolean enableSideBySidePlacement
    Returns
    Type Description
    ChartBuilder

    Height(String)

    The height of the chart as a string accepts input both as '100px' or '100%'. If specified as '100%, chart renders to the full height of its parent element.

    Declaration
    public ChartBuilder Height(string height)
    Parameters
    Type Name Description
    System.String height
    Returns
    Type Description
    ChartBuilder

    HighlightColor(String)

    Define the color for the data point on highlight.

    Declaration
    public ChartBuilder HighlightColor(string highlightColor)
    Parameters
    Type Name Description
    System.String highlightColor
    Returns
    Type Description
    ChartBuilder

    HighlightMode(HighlightMode)

    Specifies whether series or data point has to be selected. They are, none: Disables the highlight. series: highlight a series. point: highlight a point. cluster: highlight a cluster of point

    Declaration
    public ChartBuilder HighlightMode(HighlightMode highlightMode)
    Parameters
    Type Name Description
    HighlightMode highlightMode
    Returns
    Type Description
    ChartBuilder

    HighlightPattern(SelectionPattern)

    Specifies whether series or data point has to be selected. They are, none: sets none as highlighting pattern. chessboard: sets chess board as highlighting pattern. dots: sets dots as highlighting pattern. diagonalForward: sets diagonal forward as highlighting pattern. crosshatch: sets crosshatch as highlighting pattern. pacman: sets pacman highlighting pattern. diagonalbackward: sets diagonal backward as highlighting pattern. grid: sets grid as highlighting pattern. turquoise: sets turquoise as highlighting pattern. star: sets star as highlighting pattern. triangle: sets triangle as highlighting pattern. circle: sets circle as highlighting pattern. tile: sets tile as highlighting pattern. horizontaldash: sets horizontal dash as highlighting pattern. verticaldash: sets vertical dash as highlighting pattern. rectangle: sets rectangle as highlighting pattern. box: sets box as highlighting pattern. verticalstripe: sets vertical stripe as highlighting pattern. horizontalstripe: sets horizontal stripe as highlighting pattern. bubble: sets bubble as highlighting pattern.

    Declaration
    public ChartBuilder HighlightPattern(SelectionPattern highlightPattern)
    Parameters
    Type Name Description
    SelectionPattern highlightPattern
    Returns
    Type Description
    ChartBuilder

    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 ChartBuilder HtmlAttributes(object htmlAttributes)
    Parameters
    Type Name Description
    System.Object htmlAttributes
    Returns
    Type Description
    ChartBuilder

    Indicators(Action<ChartIndicatorBuilder>)

    Declaration
    public ChartBuilder Indicators(Action<ChartIndicatorBuilder> indicators)
    Parameters
    Type Name Description
    System.Action<ChartIndicatorBuilder> indicators
    Returns
    Type Description
    ChartBuilder

    Indicators(List<ChartIndicator>)

    Defines the collection of technical indicators, that are used in financial markets.

    Declaration
    public ChartBuilder Indicators(List<ChartIndicator> indicators)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartIndicator> indicators
    Returns
    Type Description
    ChartBuilder

    IsMultiSelect(Boolean)

    If set true, enables the multi selection in chart. It requires selectionMode to be Point | Series | or Cluster.

    Declaration
    public ChartBuilder IsMultiSelect(bool isMultiSelect = true)
    Parameters
    Type Name Description
    System.Boolean isMultiSelect
    Returns
    Type Description
    ChartBuilder

    IsTransposed(Boolean)

    It specifies whether the chart should be render in transposed manner or not.

    Declaration
    public ChartBuilder IsTransposed(bool isTransposed = true)
    Parameters
    Type Name Description
    System.Boolean isTransposed
    Returns
    Type Description
    ChartBuilder

    LegendClick(String)

    Triggers after click on legend.

    Declaration
    public ChartBuilder LegendClick(string legendClick)
    Parameters
    Type Name Description
    System.String legendClick
    Returns
    Type Description
    ChartBuilder

    LegendRender(String)

    Triggers before the legend is rendered.

    Declaration
    public ChartBuilder LegendRender(string legendRender)
    Parameters
    Type Name Description
    System.String legendRender
    Returns
    Type Description
    ChartBuilder

    LegendSettings(ChartLegendSettings)

    Options for customizing the legend of the chart.

    Declaration
    public ChartBuilder LegendSettings(ChartLegendSettings legendSettings)
    Parameters
    Type Name Description
    ChartLegendSettings legendSettings
    Returns
    Type Description
    ChartBuilder

    LegendSettings(Action<ChartLegendSettingsBuilder>)

    Declaration
    public ChartBuilder LegendSettings(Action<ChartLegendSettingsBuilder> legendSettings)
    Parameters
    Type Name Description
    System.Action<ChartLegendSettingsBuilder> legendSettings
    Returns
    Type Description
    ChartBuilder

    Load(String)

    Triggers before chart load.

    Declaration
    public ChartBuilder Load(string load)
    Parameters
    Type Name Description
    System.String load
    Returns
    Type Description
    ChartBuilder

    Loaded(String)

    Triggers after chart load.

    Declaration
    public ChartBuilder Loaded(string loaded)
    Parameters
    Type Name Description
    System.String loaded
    Returns
    Type Description
    ChartBuilder

    Locale(String)

    Overrides the global culture and localization value for this component. Default global culture is 'en-US'.

    Declaration
    public ChartBuilder Locale(string locale)
    Parameters
    Type Name Description
    System.String locale
    Returns
    Type Description
    ChartBuilder

    Margin(ChartMargin)

    Options to customize left, right, top and bottom margins of the chart.

    Declaration
    public ChartBuilder Margin(ChartMargin margin)
    Parameters
    Type Name Description
    ChartMargin margin
    Returns
    Type Description
    ChartBuilder

    Margin(Action<ChartMarginBuilder>)

    Declaration
    public ChartBuilder Margin(Action<ChartMarginBuilder> margin)
    Parameters
    Type Name Description
    System.Action<ChartMarginBuilder> margin
    Returns
    Type Description
    ChartBuilder

    MultiLevelLabelClick(String)

    Triggers after click on multiLevelLabelClick.

    Declaration
    public ChartBuilder MultiLevelLabelClick(string multiLevelLabelClick)
    Parameters
    Type Name Description
    System.String multiLevelLabelClick
    Returns
    Type Description
    ChartBuilder

    OnZooming(String)

    Triggers after the zoom selection is triggered.

    Declaration
    public ChartBuilder OnZooming(string onZooming)
    Parameters
    Type Name Description
    System.String onZooming
    Returns
    Type Description
    ChartBuilder

    Palettes(String[])

    Palette for the chart series.

    Declaration
    public ChartBuilder Palettes(string[] palettes)
    Parameters
    Type Name Description
    System.String[] palettes
    Returns
    Type Description
    ChartBuilder

    PointClick(String)

    Triggers on point click.

    Declaration
    public ChartBuilder PointClick(string pointClick)
    Parameters
    Type Name Description
    System.String pointClick
    Returns
    Type Description
    ChartBuilder

    PointDoubleClick(String)

    Triggers on point double click.

    Declaration
    public ChartBuilder PointDoubleClick(string pointDoubleClick)
    Parameters
    Type Name Description
    System.String pointDoubleClick
    Returns
    Type Description
    ChartBuilder

    PointMove(String)

    Triggers on point move.

    Declaration
    public ChartBuilder PointMove(string pointMove)
    Parameters
    Type Name Description
    System.String pointMove
    Returns
    Type Description
    ChartBuilder

    PointRender(String)

    Triggers before each points for the series is rendered.

    Declaration
    public ChartBuilder PointRender(string pointRender)
    Parameters
    Type Name Description
    System.String pointRender
    Returns
    Type Description
    ChartBuilder

    PrimaryXAxis(ChartAxis)

    Options to configure the horizontal axis.

    Declaration
    public ChartBuilder PrimaryXAxis(ChartAxis primaryXAxis)
    Parameters
    Type Name Description
    ChartAxis primaryXAxis
    Returns
    Type Description
    ChartBuilder

    PrimaryXAxis(Action<ChartAxisBuilder>)

    Declaration
    public ChartBuilder PrimaryXAxis(Action<ChartAxisBuilder> primaryXAxis)
    Parameters
    Type Name Description
    System.Action<ChartAxisBuilder> primaryXAxis
    Returns
    Type Description
    ChartBuilder

    PrimaryYAxis(ChartAxis)

    Options to configure the vertical axis.

    Declaration
    public ChartBuilder PrimaryYAxis(ChartAxis primaryYAxis)
    Parameters
    Type Name Description
    ChartAxis primaryYAxis
    Returns
    Type Description
    ChartBuilder

    PrimaryYAxis(Action<ChartAxisBuilder>)

    Declaration
    public ChartBuilder PrimaryYAxis(Action<ChartAxisBuilder> primaryYAxis)
    Parameters
    Type Name Description
    System.Action<ChartAxisBuilder> primaryYAxis
    Returns
    Type Description
    ChartBuilder

    RangeColorSettings(Action<ChartRangeColorSettingBuilder>)

    Declaration
    public ChartBuilder RangeColorSettings(Action<ChartRangeColorSettingBuilder> rangeColorSettings)
    Parameters
    Type Name Description
    System.Action<ChartRangeColorSettingBuilder> rangeColorSettings
    Returns
    Type Description
    ChartBuilder

    RangeColorSettings(List<ChartRangeColorSetting>)

    Options for customizing the points fill color based on condition.

    Declaration
    public ChartBuilder RangeColorSettings(List<ChartRangeColorSetting> rangeColorSettings)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartRangeColorSetting> rangeColorSettings
    Returns
    Type Description
    ChartBuilder

    Render()

    Declaration
    public HtmlString Render()
    Returns
    Type Description
    System.Web.HtmlString

    Resized(String)

    Triggers after resizing of chart.

    Declaration
    public ChartBuilder Resized(string resized)
    Parameters
    Type Name Description
    System.String resized
    Returns
    Type Description
    ChartBuilder

    Rows(Action<ChartRowBuilder>)

    Declaration
    public ChartBuilder Rows(Action<ChartRowBuilder> rows)
    Parameters
    Type Name Description
    System.Action<ChartRowBuilder> rows
    Returns
    Type Description
    ChartBuilder

    Rows(List<ChartRow>)

    Options to split Chart into multiple plotting areas horizontally. Each object in the collection represents a plotting area in the Chart.

    Declaration
    public ChartBuilder Rows(List<ChartRow> rows)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartRow> rows
    Returns
    Type Description
    ChartBuilder

    ScrollChanged(String)

    Triggers when change the scroll.

    Declaration
    public ChartBuilder ScrollChanged(string scrollChanged)
    Parameters
    Type Name Description
    System.String scrollChanged
    Returns
    Type Description
    ChartBuilder

    ScrollEnd(String)

    Triggers after the scroll end.

    Declaration
    public ChartBuilder ScrollEnd(string scrollEnd)
    Parameters
    Type Name Description
    System.String scrollEnd
    Returns
    Type Description
    ChartBuilder

    ScrollStart(String)

    Triggers when start the scroll.

    Declaration
    public ChartBuilder ScrollStart(string scrollStart)
    Parameters
    Type Name Description
    System.String scrollStart
    Returns
    Type Description
    ChartBuilder

    SelectedDataIndexes(Action<ChartSelectedDataIndexBuilder>)

    Declaration
    public ChartBuilder SelectedDataIndexes(Action<ChartSelectedDataIndexBuilder> selectedDataIndexes)
    Parameters
    Type Name Description
    System.Action<ChartSelectedDataIndexBuilder> selectedDataIndexes
    Returns
    Type Description
    ChartBuilder

    SelectedDataIndexes(List<ChartSelectedDataIndex>)

    Specifies the point indexes to be selected while loading a chart. It requires selectionMode or highlightMode to be Point | Series | or Cluster.

    Declaration
    public ChartBuilder SelectedDataIndexes(List<ChartSelectedDataIndex> selectedDataIndexes)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartSelectedDataIndex> selectedDataIndexes
    Returns
    Type Description
    ChartBuilder

    SelectionComplete(String)

    Triggers after the selection is completed.

    Declaration
    public ChartBuilder SelectionComplete(string selectionComplete)
    Parameters
    Type Name Description
    System.String selectionComplete
    Returns
    Type Description
    ChartBuilder

    SelectionMode(SelectionMode)

    Specifies whether series or data point has to be selected. They are, none: Disables the selection. series: selects a series. point: selects a point. cluster: selects a cluster of point dragXY: selects points by dragging with respect to both horizontal and vertical axes dragX: selects points by dragging with respect to horizontal axis. dragY: selects points by dragging with respect to vertical axis. lasso: selects points by dragging with respect to free form.

    Declaration
    public ChartBuilder SelectionMode(SelectionMode selectionMode)
    Parameters
    Type Name Description
    SelectionMode selectionMode
    Returns
    Type Description
    ChartBuilder

    SelectionPattern(SelectionPattern)

    Specifies whether series or data point has to be selected. They are, none: sets none as selecting pattern. chessboard: sets chess board as selecting pattern. dots: sets dots as selecting pattern. diagonalForward: sets diagonal forward as selecting pattern. crosshatch: sets crosshatch as selecting pattern. pacman: sets pacman selecting pattern. diagonalbackward: sets diagonal backward as selecting pattern. grid: sets grid as selecting pattern. turquoise: sets turquoise as selecting pattern. star: sets star as selecting pattern. triangle: sets triangle as selecting pattern. circle: sets circle as selecting pattern. tile: sets tile as selecting pattern. horizontaldash: sets horizontal dash as selecting pattern. verticaldash: sets vertical dash as selecting pattern. rectangle: sets rectangle as selecting pattern. box: sets box as selecting pattern. verticalstripe: sets vertical stripe as selecting pattern. horizontalstripe: sets horizontal stripe as selecting pattern. bubble: sets bubble as selecting pattern.

    Declaration
    public ChartBuilder SelectionPattern(SelectionPattern selectionPattern)
    Parameters
    Type Name Description
    SelectionPattern selectionPattern
    Returns
    Type Description
    ChartBuilder

    Series(Action<ChartSeriesBuilder>)

    Declaration
    public ChartBuilder Series(Action<ChartSeriesBuilder> series)
    Parameters
    Type Name Description
    System.Action<ChartSeriesBuilder> series
    Returns
    Type Description
    ChartBuilder

    Series(List<ChartSeries>)

    The configuration for series in the chart.

    Declaration
    public ChartBuilder Series(List<ChartSeries> series)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartSeries> series
    Returns
    Type Description
    ChartBuilder

    SeriesRender(String)

    Triggers before the series is rendered.

    Declaration
    public ChartBuilder SeriesRender(string seriesRender)
    Parameters
    Type Name Description
    System.String seriesRender
    Returns
    Type Description
    ChartBuilder

    SharedTooltipRender(String)

    Triggers before the shared tooltip for series is rendered.

    Declaration
    public ChartBuilder SharedTooltipRender(string sharedTooltipRender)
    Parameters
    Type Name Description
    System.String sharedTooltipRender
    Returns
    Type Description
    ChartBuilder

    SubTitle(String)

    SubTitle of the chart.

    Declaration
    public ChartBuilder SubTitle(string subTitle)
    Parameters
    Type Name Description
    System.String subTitle
    Returns
    Type Description
    ChartBuilder

    SubTitleStyle(ChartFont)

    Options for customizing the Subtitle of the Chart.

    Declaration
    public ChartBuilder SubTitleStyle(ChartFont subTitleStyle)
    Parameters
    Type Name Description
    ChartFont subTitleStyle
    Returns
    Type Description
    ChartBuilder

    SubTitleStyle(Action<ChartFontBuilder>)

    Declaration
    public ChartBuilder SubTitleStyle(Action<ChartFontBuilder> subTitleStyle)
    Parameters
    Type Name Description
    System.Action<ChartFontBuilder> subTitleStyle
    Returns
    Type Description
    ChartBuilder

    TabIndex(Double)

    TabIndex value for the chart.

    Declaration
    public ChartBuilder TabIndex(double tabIndex)
    Parameters
    Type Name Description
    System.Double tabIndex
    Returns
    Type Description
    ChartBuilder

    TextRender(String)

    Triggers before the data label for series is rendered.

    Declaration
    public ChartBuilder TextRender(string textRender)
    Parameters
    Type Name Description
    System.String textRender
    Returns
    Type Description
    ChartBuilder

    Theme(ChartTheme)

    Specifies the theme for the chart.

    Declaration
    public ChartBuilder Theme(ChartTheme theme)
    Parameters
    Type Name Description
    ChartTheme theme
    Returns
    Type Description
    ChartBuilder

    Title(String)

    Title of the chart

    Declaration
    public ChartBuilder Title(string title)
    Parameters
    Type Name Description
    System.String title
    Returns
    Type Description
    ChartBuilder

    TitleStyle(ChartFont)

    Options for customizing the title of the Chart.

    Declaration
    public ChartBuilder TitleStyle(ChartFont titleStyle)
    Parameters
    Type Name Description
    ChartFont titleStyle
    Returns
    Type Description
    ChartBuilder

    TitleStyle(Action<ChartFontBuilder>)

    Declaration
    public ChartBuilder TitleStyle(Action<ChartFontBuilder> titleStyle)
    Parameters
    Type Name Description
    System.Action<ChartFontBuilder> titleStyle
    Returns
    Type Description
    ChartBuilder

    Tooltip(ChartTooltipSettings)

    Options for customizing the tooltip of the chart.

    Declaration
    public ChartBuilder Tooltip(ChartTooltipSettings tooltip)
    Parameters
    Type Name Description
    ChartTooltipSettings tooltip
    Returns
    Type Description
    ChartBuilder

    Tooltip(Action<ChartTooltipSettingsBuilder>)

    Declaration
    public ChartBuilder Tooltip(Action<ChartTooltipSettingsBuilder> tooltip)
    Parameters
    Type Name Description
    System.Action<ChartTooltipSettingsBuilder> tooltip
    Returns
    Type Description
    ChartBuilder

    TooltipRender(String)

    Triggers before the tooltip for series is rendered.

    Declaration
    public ChartBuilder TooltipRender(string tooltipRender)
    Parameters
    Type Name Description
    System.String tooltipRender
    Returns
    Type Description
    ChartBuilder

    UseGroupingSeparator(Boolean)

    Specifies whether a grouping separator should be used for a number.

    Declaration
    public ChartBuilder UseGroupingSeparator(bool useGroupingSeparator = true)
    Parameters
    Type Name Description
    System.Boolean useGroupingSeparator
    Returns
    Type Description
    ChartBuilder

    Width(String)

    The width of the chart as a string accepts input as both like '100px' or '100%'. If specified as '100%, chart renders to the full width of its parent element.

    Declaration
    public ChartBuilder Width(string width)
    Parameters
    Type Name Description
    System.String width
    Returns
    Type Description
    ChartBuilder

    ZoomComplete(String)

    Triggers after the zoom selection is completed.

    Declaration
    public ChartBuilder ZoomComplete(string zoomComplete)
    Parameters
    Type Name Description
    System.String zoomComplete
    Returns
    Type Description
    ChartBuilder

    ZoomSettings(ChartZoomSettings)

    Options to enable the zooming feature in the chart.

    Declaration
    public ChartBuilder ZoomSettings(ChartZoomSettings zoomSettings)
    Parameters
    Type Name Description
    ChartZoomSettings zoomSettings
    Returns
    Type Description
    ChartBuilder

    ZoomSettings(Action<ChartZoomSettingsBuilder>)

    Declaration
    public ChartBuilder ZoomSettings(Action<ChartZoomSettingsBuilder> zoomSettings)
    Parameters
    Type Name Description
    System.Action<ChartZoomSettingsBuilder> zoomSettings
    Returns
    Type Description
    ChartBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved