ChartTimeframe
StockSharp.Xaml.Charting.Maui
One selectable entry in the timeframe strip of CandleChartWithTimeframeView.
Implements: IEquatable<ChartTimeframe>
Constructors
ChartTimeframe
public ChartTimeframe(int Minutes, string Label)
chartTimeframe = ChartTimeframe(Minutes, Label)
One selectable entry in the timeframe strip of CandleChartWithTimeframeView.
- Minutes
- Bar length in minutes (1 = M1, 60 = H1, 1440 = D1).
- Label
- Short label shown on the strip (e.g. "1m", "1h", "1D").
Properties
Label
public string Label { get; set; }
value = chartTimeframe.Label
chartTimeframe.Label = value
Short label shown on the strip (e.g. "1m", "1h", "1D").
Minutes
public int Minutes { get; set; }
value = chartTimeframe.Minutes
chartTimeframe.Minutes = value
Bar length in minutes (1 = M1, 60 = H1, 1440 = D1).