Access to line style


SYNTAX


public LineStyle Style { get; set; }


EXAMPLE


using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
using PTLRuntime.NETScript.Charts;

namespace ChartPropertiesExamples
{
     public class LineSettingsExamples : NETStrategy
     { 
         LineSettings line = new LineSettings();
         public override void Init()
         {
             line.Color = Color.White;
             line.Width = 2;
             line.Style = LineStyle.DotLineChart;
         }
         public override void OnQuote()
         {
             CurrentChart.Settings.Grid.HorizontalLine.Color = Color.White;
             CurrentChart.Settings.Grid.HorizontalLine.Width = 2;
             CurrentChart.Settings.Grid.HorizontalLine.Style = LineStyle.DotLineChart;
         }
     }
}