Class ChartLineElement
- Namespace
 - StockSharp.Xaml.Charting
 
- Assembly
 - StockSharp.Xaml.Charting.dll
 
The chart element representing a line.
public class ChartLineElement : ChartElement<ChartLineElement>, ICloneable<ChartLineElement>, ICloneable, IEquatable<ChartLineElement>, IComparable<ChartLineElement>, IComparable, IChartPart<ChartLineElement>, IChartLineElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable
  - Inheritance
 - 
      
      
      
      
      
      ChartLineElement
 
- Implements
 
- Derived
 
- Inherited Members
 
- Extension Methods
 
Constructors
ChartLineElement()
Initializes a new instance of the ChartLineElement.
public ChartLineElement()
  Properties
AdditionalColor
Additional line color (candles, etc.), with which it will be drawn on the chart.
[Display(ResourceType = typeof(LocalizedStrings), Name = "AdditionalColor", Description = "AdditionalColorDesc", Order = 40)]
public Color AdditionalColor { get; set; }
  Property Value
AntiAliasing
The anti aliasing of the line drawing. The default is enabled.
[Display(ResourceType = typeof(LocalizedStrings), Name = "AntiAliasing", Description = "LineAntiAliasing", Order = 60)]
public bool AntiAliasing { get; set; }
  Property Value
Color
Line color (candles, etc.), with which it will be drawn on chart.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Color", Description = "ColorDesc", Order = 30)]
public Color Color { get; set; }
  Property Value
DrawTemplate
The chart template for the Dot style DrawStyles.
[Browsable(false)]
public ControlTemplate DrawTemplate { get; set; }
  Property Value
ShowAxisMarker
Show Y-axis marker.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Marker", Description = "ShowAxisMarker", Order = 80)]
public bool ShowAxisMarker { get; set; }
  Property Value
StrokeThickness
The thickness of the line (bar, etc.) with which it will be drawn on the chart. The default is 1.
[Display(ResourceType = typeof(LocalizedStrings), Name = "LineWidth", Description = "LineWidthDesc", Order = 50)]
public int StrokeThickness { get; set; }
  Property Value
Style
The line drawing style. The default is Line.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Style", Description = "StyleRender", Order = 70)]
public DrawStyles Style { get; set; }
  Property Value
Methods
CheckAxesCompatible(ChartAxisType?, ChartAxisType?)
Check if the element can be drawn using supplied axis types.
public override bool CheckAxesCompatible(ChartAxisType? xType, ChartAxisType? yType)
  Parameters
xTypeChartAxisType?X axis type.
yTypeChartAxisType?Y axis type.
Returns
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
  Parameters
storageSettingsStorageSettings storage.
OnDraw(ChartDrawData)
Draw on root element.
protected override bool OnDraw(ChartDrawData data)
  Parameters
dataChartDrawDataChart drawing data.
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
  Parameters
storageSettingsStorageSettings storage.