ChartPanel
The extended graphical component for candle charts displaying.
継承元: UserControl
実装: IWpfChart, IChart, IChartBuilder, IThemeableChart, IPersistable, INotifyPropertyChangedEx, INotifyPropertyChanged, IComponentConnector, IStyleConnector
コンストラクター
ChartPanel()
Initializes a new instance of the ChartPanel.
プロパティ
AllowAddArea : bool
Allow user to add new chart area.
AllowAddAxis : bool
Allow user to add new chart axis.
AllowAddCandles : bool
Allow user to add new candles elements.
AllowAddIndicators : bool
Allow user to add new indicator elements.
AllowAddOrders : bool
Allow user to add new orders elements.
AllowAddOwnTrades : bool
Allow user to add new own trades elements.
Areas : IEnumerable<IChartArea>
Chart areas.
ChartTheme : string
The name of the graphic theme.
CrossHairAxisLabels : bool
To show values on the axis for the crosshair.
CrossHairTooltip : bool
To show the prompt message for the crosshair.
DisableIndicatorReset : bool
Disable tracking indicator reset.
IndicatorTypes : IList<IndicatorType>
The list of available indicators types.
IsAutoRange : bool
To use automatic range for the X-axis. The default is off.
IsAutoScroll : bool
To scroll Areas areas automatically when new data occurred. The default is enabled.
IsInteracted : bool
The interactive mode. The default is off.
MinimumRange : int
The minimum number of visible candles.
OrderCreationMode : bool
The order creation mode. The default is off.
OrderSettings : ChartPanelOrderSettings
Chart order registering settings.
SecurityProvider : ISecurityProvider
The provider of information about instruments.
ShowLegend : bool
To show the legend.
ShowNonFormedIndicators : bool
Show non formed indicators values.
ShowOverview : bool
To show the preview area.
ShowPerfStats : bool
Show FPS.
Subscriptions : IEnumerable<Subscription>
The list of subscriptions.
TimeFrames : ICollection<TimeSpan>
Available time-frames.
TimeZone : TimeZoneInfo
Local time zone for all DateTime values conversion.
UnderlyingChart : IChart
Underlying chart.
メソッド
AddElement(IChartArea, IChartOrderElement, Subscription)
To add an element to the chart.
- area
- Chart area.
- element
- The chart element.
- subscription
- Subscription.
AddElement(IChartArea, IChartElement)
To add an element to the chart.
- area
- Chart area.
- element
- The chart element.
AddElement(IChartArea, IChartCandleElement, Subscription)
To add a candle element to the chart.
- area
- Chart area.
- element
- The candle chart element.
- subscription
- Subscription.
AddElement(IChartArea, IChartIndicatorElement, Subscription, IIndicator)
To add an indicator element to the chart.
- area
- Chart area.
- element
- The indicator chart element.
- subscription
- Subscription.
- indicator
- Indicator.
AddElement(IChartArea, IChartTradeElement, Subscription)
To add an element to the chart.
- area
- Chart area.
- element
- The chart element.
- subscription
- Subscription.
CancelOrders(Func<Order, bool>)
Cancel orders that were added to this instance of ChartPanel. This method does not cancel orders by itself. It just notifies subscribers with CancelOrder event.
CreateActiveOrdersElement() : IChartActiveOrdersElement
Create IChartActiveOrdersElement instance.
戻り値: IChartActiveOrdersElement instance.
CreateAnnotation() : IChartAnnotationElement
Create IChartAnnotationElement instance.
戻り値: IChartAnnotationElement instance.
CreateBandElement() : IChartBandElement
Create IChartBandElement instance.
戻り値: IChartBandElement instance.
CreateBubbleElement() : IChartLineElement
Create IChartLineElement instance.
戻り値: IChartLineElement instance.
CreateCandleElement() : IChartCandleElement
Create IChartCandleElement instance.
戻り値: IChartCandleElement instance.
CreateIndicatorElement() : IChartIndicatorElement
Create IChartIndicatorElement instance.
戻り値: IChartIndicatorElement instance.
CreateLineElement() : IChartLineElement
Create IChartLineElement instance.
戻り値: IChartLineElement instance.
CreateOrderElement() : IChartOrderElement
Create IChartOrderElement instance.
戻り値: IChartOrderElement instance.
CreateTradeElement() : IChartTradeElement
Create IChartTradeElement instance.
戻り値: IChartTradeElement instance.
Draw(IChartDrawData)
To process the new data.
- data
- New data.
戻り値: if the data was successfully drawn, otherwise, returns .
InitializeComponent()
InitializeComponent
RegisterCandleStyle(string, Func<string>, ChartCandleDrawStyles)
Register candle style.
- image
- Image.
- getName
- Name.
- style
- Style of candles rendering.
RemoveElement(IChartArea, IChartElement)
To remove the element from the chart.
- area
- Chart area.
- element
- The chart element.
Reset(IEnumerable<IChartElement>)
To reset the chart elements values drawn previously.
- elements
- Chart elements.
ReSubscribeElements()
To re-subscribe to getting data for all elements.
SetSubscription(IChartElement, Subscription)
To set the source for the element.
- element
- The chart element.
- subscription
- Subscription.
TryGetSubscription(IChartElement) : Subscription
To get the data source for IChartElement.
- element
- The chart element.
戻り値: Market-data source.
イベント
AnnotationCreated : Action<IChartAnnotationElement>
Annotation created event.
AnnotationDeleted : Action<IChartAnnotationElement>
Annotation deleted event.
AnnotationModified : Action<IChartAnnotationElement, AnnotationData>
Annotation modified event.
AnnotationSelected : Action<IChartAnnotationElement, AnnotationData>
Annotation selection event.
AreaAdded : Action<IChartArea>
Areas added event.
AreaRemoved : Action<IChartArea>
Areas removed event.
CancelOrder : Action<Order>
The event of the order cancellation.
RegisterOrder : Action<IChartArea, Order>
The event of the order registration.
SettingsChanged : Action
The chart settings change event.
SubscribeCandleElement : Action<IChartCandleElement, Subscription>
The event of the subscription to getting data for the element.
SubscribeIndicatorElement : Action<IChartIndicatorElement, Subscription, IIndicator>
The event of the subscription to getting data for the element.
SubscribeOrderElement : Action<IChartOrderElement, Subscription>
The event of the subscription to getting data for the element.
SubscribeTradeElement : Action<IChartTradeElement, Subscription>
The event of the subscription to getting data for the element.
UnSubscribeElement : Action<IChartElement>
The event of the unsubscribe from getting data for the element.
フィールド
AddAreaCommand : RoutedCommand
The command to add the area to the chart.
AddCandlesCommand : RoutedCommand
The command to add candles to the chart.
AddIndicatorCommand : RoutedCommand
The command to add the indicator to the chart.
PatternCommand : RoutedCommand
The command for the pattern creation.
RegisterOrderCommand : RoutedCommand
The command for the order registration.