menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StockChartStockEvent - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StockChartStockEvent

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    StockChartStockEvent
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class StockChartStockEvent : EJTagHelper

    Constructors

    StockChartStockEvent()

    Declaration
    public StockChartStockEvent()

    Properties

    Background

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

    Declaration
    public string Background { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "transparent"

    Border

    Options to customize the border of the stock events.

    Declaration
    public StockChartStockEventsBorder Border { get; set; }
    Property Value
    Type Description
    StockChartStockEventsBorder

    The default value is null

    Date

    Date value of stock event in which stock event shows.

    Declaration
    public object Date { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Description

    Specifies the description for the chart which renders in tooltip for stock event.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    PlaceAt

    Corresponding values in which stock event placed. Close Open High Close

    Declaration
    public string PlaceAt { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "close"

    SeriesIndexes

    To render stock events in particular series. By default stock events will render for all series.

    Declaration
    public double[] SeriesIndexes { get; set; }
    Property Value
    Type Description
    System.Double[]

    The default value is null

    ShowOnSeries

    Enables the stock events to be render on series. If it disabled, stock event rendered on primaryXAxis.

    Declaration
    public bool ShowOnSeries { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    Text

    Specifies the text for the stock chart text.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    TextStyle

    Options to customize the styles for stock events text.

    Declaration
    public StockChartStockEventsTextStyle TextStyle { get; set; }
    Property Value
    Type Description
    StockChartStockEventsTextStyle

    The default value is null

    Type

    Specifies type of stock events Circle Square Flag Text Sign Triangle InvertedTriangle ArrowUp ArrowDown ArrowLeft ArrowRight

    Declaration
    public FlagType Type { get; set; }
    Property Value
    Type Description
    FlagType

    The default value is FlagType.Circle

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved