[]
        
(Showing Draft Content)

C1.Web.Mvc.Finance.TagHelpers.FinancialChartTagHelper

FinancialChartTagHelper Class

ITagHelper implementation for FinancialChart<T>.

Namespace: C1.Web.Mvc.Finance.TagHelpers
Assembly: C1.AspNetCore.Mvc.Finance.dll
Syntax
[HtmlTargetElement("c1-financial-chart")]
[RestrictChildren("c1-flex-chart-axis", new string[] { "c1-flex-chart-datalabel", "c1-items-source", "c1-odata-source", "c1-odata-virtual-source", "c1-flex-chart-title-style", "c1-flex-chart-series", "c1-flex-chart-tooltip", "c1-financial-chart-series", "c1-flex-chart-bollinger-bands", "c1-flex-chart-envelopes", "c1-flex-chart-fibonacci", "c1-flex-chart-fibonacci-arcs", "c1-flex-chart-fibonacci-fans", "c1-flex-chart-fibonacci-time-zones", "c1-flex-chart-macd", "c1-flex-chart-macd-histogram", "c1-flex-chart-stochastic", "c1-flex-chart-rsi", "c1-flex-chart-atr", "c1-flex-chart-williams-r", "c1-flex-chart-cci", "c1-flex-chart-trendline", "c1-flex-chart-yfunction", "c1-flex-chart-parameterfunction", "c1-flex-chart-movingaverage", "c1-line-marker", "c1-range-selector", "c1-annotation-layer", "c1-chart-animation", "c1-chart-gestures", "c1-plot-area", "c1-flex-chart-waterfall", "c1-chart-options", "c1-flex-chart-boxwhisker", "c1-flex-chart-error-bar", "c1-chart-legend" })]
public class FinancialChartTagHelper : FlexChartCoreTagHelper<object, FinancialChart<object>>, ITagHelper, ITagHelperComponent, ITemplateTagHelper

Constructors

Name Description
FinancialChartTagHelper()

Properties

Name Description
ChartType

Configurates ChartType. Sets the type of chart to create

KagiFields

Specifies the DataFields used for the Kagi chart. The default value is DataFields.Close.

KagiRangeMode

Specifies the RangeMode for the Kagi chart. The default value is RangeMode.Fixed.

KagiReversalAmount

Specifies the reversal amount for the Kagi chart. The default value is 14.

LineBreakNewLineBreaks

Gets or sets the number of previous boxes that must be compared before a new box is drawn in Line Break charts. The default value is 3.

PointAndFigureBoxSize

Specifies the box size for the point and figure chart. The default is 1.

PointAndFigureFields

Specifies the DataFields used for the point and figure chart. The default is Close. Only the Close and HighLow are supported.

PointAndFigurePeriod

Specifies the ATR period of the point and figure chart. The default is 20. Must be an integer less than the length of the data and greater than one.

PointAndFigureReversal

Specifies the reversal amount for the point and figure chart. The default is 3.

PointAndFigureScaling

Specifies the scaling mode for point and figure chart. The default is Traditional.

RenkoBoxSize

Specifies the box size for the Renko chart. The default value is 14.

RenkoFields

Specifies the DataFields used for the Renko chart. The default value is DataFields.Close. Note:Renko doesn't support HighLow.

RenkoRangeMode

Specifies the RangeMode for the Renko chart. The default value is RangeMode.Fixed. Note:Renko doesn't support Percentage.