Style
property
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;
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.