Plot |
public abstract class PlotStyle : VisualScriptBase, IEquatable<PlotStyle>
The PlotStyle type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseValue | Gets the base value. This is required for PlotStyle when HasBaseValue is set to true. For example Bar plotStyle has a base value. | |
| Brush | Gets the Brush | |
| DialogService |
Opens a IDialogService dialog
(Inherited from ServiceBase) | |
| Dispatcher |
Gets the dispatcher
(Inherited from SharpScriptBase) | |
| DisplayName |
Gets the display name of the plot
(Overrides SharpScriptBaseDisplayName) | |
| Error |
Gets the Error string
(Inherited from ServiceBase) | |
| FileService |
Opens a IFileService dialog
(Inherited from ServiceBase) | |
| HasBaseValue | Gets if the PlotStyle has base value | |
| Index | Gets the index of the series. The index is zero-based | |
| IsDisplayedInYAxis | Is displayed in IYAxis | |
| Item |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) | |
| MessageBox |
Opens a IMessageBoxService dialog
(Inherited from ServiceBase) | |
| Name |
Gets the name
(Inherited from SharpScriptBase) | |
| Owner | IndicatorBase which initialized the plots | |
| Pen | Gets or sets the Pen | |
| Series | Gets the plot series | |
| SingletonService |
Opens a ISingletonService dialog
(Inherited from ServiceBase) | |
| State |
Gets the current State of the script
(Inherited from SharpScriptBase) | |
| Template | (Overrides SharpScriptBaseTemplate) | |
| Types |
| Name | Description | |
|---|---|---|
| Alert |
Shoots an alert.
The alert is triggered only when the State is Realtime (Inherited from SharpScriptBase) | |
| CalculatePriceFromY(Double, ChartVisualArgs) |
Calculate price from Y (Inherited from VisualBase) | |
| CalculatePriceFromY(Double, Double, Double, Double, Double, ScaleType) |
Calculate the price from Y (Inherited from VisualBase) | |
| CalculateXFromBarIndex |
Calculate the X from bars index
(Inherited from VisualBase) | |
| CalculateYFromPrice(Double, ChartVisualArgs) |
Calulate the Y point from price
(Inherited from VisualBase) | |
| CalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType) |
Calculate Y from price
(Inherited from VisualBase) | |
| CanRender |
Can render the visual
(Inherited from VisualScriptBase) | |
| Equals(Object) | (Overrides ObjectEquals(Object)) | |
| Equals(PlotStyle) | ||
| Finalize | (Inherited from SharpScriptBase) | |
| GetHashCode | (Overrides ObjectGetHashCode) | |
| GetOverrideBrush |
Gets the overriden brush
(Inherited from VisualScriptBase) | |
| GetOverridePen(IBars, Int32) |
Gets the overriden pen
(Inherited from VisualScriptBase) | |
| GetOverridePen(Int32, Int32) |
Gets the override pen
(Overrides VisualScriptBaseGetOverridePen(Int32, Int32)) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InvokeAsync |
Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase) | |
| Log(String) |
Logs a message with Low (Inherited from SharpScriptBase) | |
| Log(Priority, String) |
Logs a message with the specified Priority (Inherited from SharpScriptBase) | |
| Log(Priority, Brush, String) |
Logs a message with the specified Priority and defined brush
(Inherited from SharpScriptBase) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NotifyPropertyChanged | (Inherited from SharpScriptBase) | |
| OnRender |
Renders the visuals
(Inherited from VisualScriptBase) | |
| OnStateChange |
Invoked when the State changes
(Inherited from SharpScriptBase) | |
| PlaySound |
Play a sound file as located in the folder ~\Documents\ArthaChitra 2\Sounds
(Inherited from SharpScriptBase) | |
| Print(String, String) |
Prints a message with Low (Inherited from SharpScriptBase) | |
| Print(Brush, String, String) |
Prints a message with a defined foreground brush
(Inherited from SharpScriptBase) | |
| Print(Priority, String, String) |
Prints a message with the defined Priority (Inherited from SharpScriptBase) | |
| Round |
Rounds the value with the factor as defined in Options > General tab > RoundFactor (Inherited from SharpScriptBase) | |
| SelectionSteps |
How far the selection rectangle will be drawn
(Inherited from VisualBase) | |
| Share |
Share messages via to social media SocialType
The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| PropertyChanged | (Inherited from NotifyPropertyBase) |