ActiveReports 18 .NET Edition
In This Topic
    Candlestick Chart
    In This Topic

    Candlestick charts are plot types used by traders to analyze the possible price changes in trading. Or, let's put it this way, that the CandleStick chart is perhaps a trader's best friend, for the reason that it provides a visual representation of the magnitude of price fluctuations. Without a shadow of a doubt, Candlestick plots never fail to depict the investor sentiment. The relationship between the supply and demand in the trade market comes out really well via the CandleStick pattern.

    A Candlestick chart includes a rectangle with a dividing long line projecting from the top and bottom (of the same rectangle), which displays the high and low values. This chart type is also useful to show the opening and closing price points in trading scenarios. So, when the open value is greater than the close value, the rectangle appears filled with the color of the background.

    Candlestick Chart

    Candlestick Chart

    Candlestick Plot Properties

    The plot properties discussed below can be accessed from the Properties Panel on selecting the Chart > Plot from the Report Explorer. You can access some of the important properties from the Plot's Smart Panel too. See Chart Smart Panels topic for more information. Both the Properties Panel and the Smart Panel can be accessed by right-clicking the plot in the design area.



    Indicates the color used to fill the chart area.



    The action to perform when the plot is clicked. The action can be a hyperlink, a bookmark, or a drill-through.


    The line style for the borders. Includes LineColor, LineStyle, and LineWidth properties for the customization.


    The name of the plot. By default, a chart containing a single plot has the plot name as 'Plot1'.

    Tooltip Template

    Contains the tooltip template settings. You can choose from the list of predefined settings or set your own in the Expression Editor.



    The Clipping Mode determines how a plot extends within the plot area. The ClippingMode can be set to:


    The Opacity is the percentage value of the opacity of the plot fill color. 100% opacity means that the plot fill color is opaque while 0% opacity means that the plot fill color is completely transparent.


    Overlays property is a collection for superimposing the data trend on a plot. For more information, see Trendlines topic.


    Rules control the appearance of plots based on specified conditions. For more information on conditions, see Rules topic.


    Represents how null or empty values should be shown in the plot - Gaps (default), Connected, or Zeros.


    Category Encoding 

    The Category Encoding of a plot is a set of properties that determine the period over which the plot generates connected data points representing those above Data Values. The Category encoding includes the following properties.


    The Values property is the collection and takes the field as a category.


    The SortingField defines the order in which the categories are displayed. It takes the default same as the Values field, but you can also specify another field to sort the categories.


    The SortDirection defines the ascending or descending order in which the categories should be sorted.


    The SortingAggregate property specifies the aggregate to use for sorting the categories. 

    Values Encoding

    The Values encoding specifies the data values and represents the collection of items and each item includes the following properties.


    The Type property provides 'Simple' and 'Complex' options to choose from. However, for charts, 'Simple' is acceptable.


    The Subfields property is the collection and usually takes a bound field. However, the charts take the first item from the collection.


    To show aggregated values such as Average, Count, and Sum instead of individual values, specify an Aggregate function.

    Text Encoding

    The Text Encoding provides support of any dataset field in chart labels and tooltips and allows displaying additional info on the chart. When two text encodings are added, they are displayed by default with the ";" delimiter. A text encoding includes the following properties:


    Aggregates the value of the Text expression.


    Specifies whether this text is for a Label or a Tooltip Label. The label format is controlled with the chart's Labels > Template property or Tooltip Template property.

    The Template property can use both the predefined values and the added text encoding fields, for example:


    Template Key

    A unique key, used in the chart plot's Labels > Template and Tooltip Template to access the text encoding value.


    A field, constant or expression to be displayed.

    See Also