CandleChartWithTimeframeView
Controle composto reutilizável: uma superfície de castiçal ChartViewcom uma tira de tempo- seletor horizontal acima dela. Agnóstico de fonte de dados e neutros para marca — a máquina alimenta Velas e, quando o usuário escolhe um prazo, os recarrega na resolução escolhida via TimeframeSelectedCommand. Destinado para reutilização em aplicativos MAUI (terminal de negociação, designer, backoffice) que precisam de um gráfico de velas com um interruptor de tempo sem implementar o cromo cada vez. O gráfico subjacente é exposto para máquinas avançadas que adicionam indicadores, anotações ou ferramentas de desenho.
Herda de: ContentView
Propriedades
public Color ActiveColor { get; set; }
value = candleChartWithTimeframeView.ActiveColor
candleChartWithTimeframeView.ActiveColor = value
Cor do texto da entrada de tempo ativa.
public CandleDataSeries Candles { get; set; }
value = candleChartWithTimeframeView.Candles
candleChartWithTimeframeView.Candles = value
Dados de velas renderizados pelo gráfico. Feed (e live-updated) pela máquina.
public ChartView Chart { get; }
value = candleChartWithTimeframeView.Chart
A superfície do gráfico subjacente, exposta para hosts avançados que adicionam indicadores (String), anotações ou ferramentas de desenho em cima do cromo compartilhado.
public static IReadOnlyList<ChartTimeframe> DefaultTimeframes { get; }
value = CandleChartWithTimeframeView.DefaultTimeframes
Faixa padrão: M1 / M5 / M15 / H1 / H4 / D1.
public ChartDrawStyle DrawStyle { get; set; }
value = candleChartWithTimeframeView.DrawStyle
candleChartWithTimeframeView.DrawStyle = value
O estilo de desenho da série principal (candlestick / OHLC / linha / área).
public Color InactiveColor { get; set; }
value = candleChartWithTimeframeView.InactiveColor
candleChartWithTimeframeView.InactiveColor = value
Cor do texto dos itens inativos do calendário.
public int SelectedTimeframeMinutes { get; set; }
value = candleChartWithTimeframeView.SelectedTimeframeMinutes
candleChartWithTimeframeView.SelectedTimeframeMinutes = value
O calendário seleccionado, em minutos.
public bool ShowCrosshair { get; set; }
value = candleChartWithTimeframeView.ShowCrosshair
candleChartWithTimeframeView.ShowCrosshair = value
Se a mira é mostrada.
public bool ShowLegend { get; set; }
value = candleChartWithTimeframeView.ShowLegend
candleChartWithTimeframeView.ShowLegend = value
Se a legenda é mostrada.
public bool ShowVolume { get; set; }
value = candleChartWithTimeframeView.ShowVolume
candleChartWithTimeframeView.ShowVolume = value
Se a subparcela de volume é mostrada.
public Color StripBackgroundColor { get; set; }
value = candleChartWithTimeframeView.StripBackgroundColor
candleChartWithTimeframeView.StripBackgroundColor = value
Cor de fundo da faixa de tempo.
public IReadOnlyList<ChartTimeframe> Timeframes { get; set; }
value = candleChartWithTimeframeView.Timeframes
candleChartWithTimeframeView.Timeframes = value
Os prazos oferecidos pela tira. Por omissão, é DefaultTimeframes.
public ICommand TimeframeSelectedCommand { get; set; }
value = candleChartWithTimeframeView.TimeframeSelectedCommand
candleChartWithTimeframeView.TimeframeSelectedCommand = value
Invocado com o calendário escolhido (um número Int32 de minutos) sempre que o usuário toca em uma entrada de tiras — o host recarrega velas aqui.
public int VisibleCandleCount { get; set; }
value = candleChartWithTimeframeView.VisibleCandleCount
candleChartWithTimeframeView.VisibleCandleCount = value
Quantas velas são visíveis no viewport.