Click or drag to resize

ChartStyle Class

Defines how the BarType will be rendered.
Inheritance Hierarchy

Namespace: ArthaChitra.Model.Chart
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.6.0
Syntax
C#
public abstract class ChartStyle : VisualScriptBase, 
	IChartStyle

The ChartStyle type exposes the following members.

Constructors
 NameDescription
Public methodChartStyle 
Top
Properties
 NameDescription
Public propertyBarWidth Gets or sets the bar width. Minimum value set to 1.0d
Protected propertyDialogService Opens a IDialogService dialog
(Inherited from ServiceBase)
Protected propertyDispatcher Gets the dispatcher
(Inherited from SharpScriptBase)
Public propertyDisplayName Gets the display name
(Inherited from SharpScriptBase)
Public propertyDownBarBrush Gets or sets the down bar Brush
Public propertyDownWickPen Gets or sets the down wick Pen
Public propertyError Gets the Error string
(Inherited from ServiceBase)
Protected propertyFileService Opens a IFileService dialog
(Inherited from ServiceBase)
Public propertyItem Gets the IDataErrorInfo error string
(Inherited from ServiceBase)
Protected propertyMessageBox Opens a IMessageBoxService dialog
(Inherited from ServiceBase)
Public propertyName Gets the name
(Inherited from SharpScriptBase)
Public propertyShowLineAtClose Gets or sets if line at close will be displayed or not
Protected propertySingletonService Opens a ISingletonService dialog
(Inherited from ServiceBase)
Public propertyState Gets the current State of the script
(Inherited from SharpScriptBase)
Public propertyTemplate
(Overrides SharpScriptBaseTemplate)
Public propertyUpBarBrush Gets or sets the up bar Brush
Public propertyUpWickPen Gets or sets the up wick Pen
Top
Methods
 NameDescription
Protected methodAlert Shoots an alert. The alert is triggered only when the State is Realtime
(Inherited from SharpScriptBase)
Protected methodCalculatePriceFromY(Double, ChartVisualArgs) Calculate price from Y
(Inherited from VisualBase)
Protected methodCalculatePriceFromY(Double, Double, Double, Double, Double, ScaleType) Calculate the price from Y
(Inherited from VisualBase)
Protected methodCalculateXFromBarIndex Calculate the X from bars index
(Inherited from VisualBase)
Protected methodCalculateYFromPrice(Double, ChartVisualArgs) Calulate the Y point from price
(Inherited from VisualBase)
Protected methodCalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType) Calculate Y from price
(Inherited from VisualBase)
Protected methodCanRender Can render the visual
(Inherited from VisualScriptBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize
(Inherited from SharpScriptBase)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetOverrideBrush Gets the overriden brush
(Inherited from VisualScriptBase)
Protected methodGetOverridePen(IBars, Int32) Gets the overriden pen
(Inherited from VisualScriptBase)
Protected methodGetOverridePen(Int32, Int32) Gets the overriden pen for the Plot
(Inherited from VisualScriptBase)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
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 methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodNotifyPropertyChanged
(Inherited from SharpScriptBase)
Protected methodOnRender Renders the ChartStyle. If the base is called, it will render the ShowLineAtClose
(Overrides VisualScriptBaseOnRender(DrawingContext, ChartVisualArgs))
Protected methodOnStateChange Invoked when the State changes
(Inherited from SharpScriptBase)
Protected methodPlaySound Play a sound file as located in the folder ~\Documents\ArthaChitra 2\Sounds
(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 methodRound Rounds the value with the factor as defined in Options > General tab > RoundFactor
(Inherited from SharpScriptBase)
Protected methodSelectionSteps How far the selection rectangle will be drawn
(Inherited from VisualBase)
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)
Top
Events
 NameDescription
Public eventPropertyChanged
(Inherited from NotifyPropertyBase)
Top
See Also