How many bars are placed in the chart (scale type)
SYNTAX
public int BarsPerChart { get; }
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 ChartPropertiesExamples : NETStrategy { public override void OnQuote() { //All Chart Class Properties Print("BackgroundBottomColor:",CurrentChart.BackgroundBottomColor); Print("BackgroundTopColor:",CurrentChart.BackgroundTopColor); Print("BarsPerChart:",CurrentChart.BarsPerChart); Print("BodyBottomColor:",CurrentChart.BodyBottomColor); Print("BodyUpColor:",CurrentChart.BodyUpColor); } } }