Click or drag to resize

ChartVisualBase Class

Inheritance Hierarchy
SystemObject
  ArthaChitra.Core.ViewModelNotifyPropertyBase
    ArthaChitra.Core.ViewModelServiceBase
      ArthaChitra.Model.SharpScriptSharpScriptBase
        ArthaChitra.Model.SharpScriptVisualBase
          ArthaChitra.Model.SharpScriptChartVisualBase
            ArthaChitra.Model.ChartDrawingBase
            ArthaChitra.Model.SharpScriptIndicatorBase

Namespace: ArthaChitra.Model.SharpScript
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.4.0
Syntax
C#
public abstract class ChartVisualBase : VisualBase, 
	IChartVisual, IVisual<ChartVisualArgs>, IHitTest<ChartHitTestArgs>, 
	IState, IObserver<Level1EventArgs>, IObserver<IEnumerable<Level1EventArgs>>, 
	IObserver<Level2EventArgs>

The ChartVisualBase type exposes the following members.

Constructors
 NameDescription
Public methodChartVisualBase 
Top
Properties
 NameDescription
Public propertyAxisOrientationAxisOrientation
Public propertyDebounceInterval 
Protected propertyDialogService
(Inherited from ServiceBase)
Protected propertyDispatcher Gets the dispatcher
(Inherited from SharpScriptBase)
Public propertyDisplayName Gets the display name
(Inherited from SharpScriptBase)
Public propertyError Gets the Error string
(Inherited from ServiceBase)
Protected propertyFileService
(Inherited from ServiceBase)
Public propertyHasLevel1Stream 
Public propertyHasLevel2Stream 
Public propertyHighestHigh 
Public propertyIsAutoScale 
Public propertyIsSelected 
Public propertyIsSharpScript Gets if the drawing object is created by a sharpScript code
Protected propertyIsValueChanged 
Public propertyIsVisible 
Public propertyItem Gets the IDataErrorInfo error string
(Inherited from ServiceBase)
Public propertyLineHitTestWidth 
Public propertyLowestLow 
Protected propertyMessageBox
(Inherited from ServiceBase)
Public propertyName Gets the name
(Inherited from SharpScriptBase)
Public propertyObserveAllMarketDataTypes 
Public propertyPanelIndex 
Public propertyParent 
Protected propertySingletonService
(Inherited from ServiceBase)
Public propertyState Gets the current State of the script
(Inherited from SharpScriptBase)
Public propertyTemplate Gets the Xaml template associated with the script
(Inherited from SharpScriptBase)
Top
Methods
 NameDescription
Protected methodAlert(String, String) Alert, with Medium. This alert is raised once.
Protected methodAlert(String, String, TimeSpan) Alert with Medium
Protected methodAlert(String, Priority, Brush, String) Alert. This alert is raised only once
Protected methodAlert(String, Priority, Brush, String, TimeSpan) Alert
Protected methodAlert(String, IInstrument, Priority, Brush, String, TimeSpan) Shoots an alert. The alert is triggered only when the State is Realtime
(Inherited from SharpScriptBase)
Protected methodCalculateMinMax 
Protected methodCalculatePriceFromY(Double, ChartVisualArgs)
(Inherited from VisualBase)
Protected methodCalculatePriceFromY(Double, Double, Double, Double, Double, ScaleType)
(Inherited from VisualBase)
Protected methodCalculateXFromBarIndex
(Inherited from VisualBase)
Protected methodCalculateYFromPrice(Double, ChartVisualArgs)
(Inherited from VisualBase)
Protected methodCalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType)
(Inherited from VisualBase)
Protected methodCanRender 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize
(Inherited from SharpScriptBase)
Protected methodGetHandleCursor Returns the handle cursor
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodGetValue
(Inherited from NotifyPropertyBase)
Public methodInvalidateView 
Protected methodInvokeAsync Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase)
Protected methodLog(String) Logs a message with Low
(Inherited from SharpScriptBase)
Protected methodLog(Priority, String) Logs a message with the specified Priority
(Inherited from SharpScriptBase)
Protected methodLog(Priority, Brush, String) Logs a message with the specified Priority and defined brush
(Inherited from SharpScriptBase)
Protected methodMakeHitTest 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMove 
Protected methodNotifyPropertyChanged
(Inherited from SharpScriptBase)
Protected methodOnLevel1 
Protected methodOnLevel2 
Protected methodOnRender 
Protected methodOnRenderYAxis 
Protected methodOnStateChange Invoked when the State changes
(Inherited from SharpScriptBase)
Protected methodPlaySound
(Inherited from SharpScriptBase)
Protected methodPrint(String, String) Prints a message with Low
(Inherited from SharpScriptBase)
Protected methodPrint(Brush, String, String) Prints a message with a defined foreground brush
(Inherited from SharpScriptBase)
Protected methodPrint(Priority, String, String) Prints a message with the defined Priority
(Inherited from SharpScriptBase)
Protected methodRecalculate Recalculates the parameter. This is called for DrawingBase objects only.
Protected methodRound Rounds the value with the factor as defined in Options > General tab > RoundFactor
(Inherited from SharpScriptBase)
Protected methodSelectionSteps
(Inherited from VisualBase)
Protected methodSetValue
(Inherited from NotifyPropertyBase)
Protected methodShare Share messages via to social media SocialType The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodToStringFormat 
Top
Events
 NameDescription
Public eventPropertyChanged
(Inherited from NotifyPropertyBase)
Top
See Also