UltraStockChart

StockSharp.Xaml.Charting

提供高性能的 Stock Chart 控制面, 并配有 RenderSurfaceBase 视图口. 模板将 CategoryDateTimeAxis 包含为 XAxis, NumericAxis 包含为 YAxis 。 UltraStockChart 可以为每个 IDataSeries 提供 IDataSeries 数据源, 或者使用新的 MVM API(参见 SeriesSource 属性) 。

继承自: UltrachartSurface

构造函数

UltraStockChart
public UltraStockChart()
ultraStockChart = UltraStockChart()

初始化了 & ##UltraStockChart+# 类的新实例 。

属性

BarTimeFrame
public double BarTimeFrame { get; set; }
value = ultraStockChart.BarTimeFrame
ultraStockChart.BarTimeFrame = value

获取或设置 BarTimeFrame, 这是 UltraStockChart 上每个栏的秒数时间 。

DefaultDataProvider
public InspectSeriesModifierBase DefaultDataProvider { get; set; }
value = ultraStockChart.DefaultDataProvider
ultraStockChart.DefaultDataProvider = value

获取或设置为图例提供数据的修改器

IsAxisMarkersEnabled
public bool IsAxisMarkersEnabled { get; set; }
value = ultraStockChart.IsAxisMarkersEnabled
ultraStockChart.IsAxisMarkersEnabled = value

获取或设定是否要在 YAAx 右侧显示轴标记, 显示序列值

IsCursorEnabled
public bool IsCursorEnabled { get; set; }
value = ultraStockChart.IsCursorEnabled
ultraStockChart.IsCursorEnabled = value

获取或设定 CursorModifier 是否启用

IsPanEnabled
public bool IsPanEnabled { get; set; }
value = ultraStockChart.IsPanEnabled
ultraStockChart.IsPanEnabled = value

获取或设定是否启用泛修改器

IsRolloverEnabled
public bool IsRolloverEnabled { get; set; }
value = ultraStockChart.IsRolloverEnabled
ultraStockChart.IsRolloverEnabled = value

获取或设定 RolloverModifier 是否启用

IsRubberBandZoomEnabled
public bool IsRubberBandZoomEnabled { get; set; }
value = ultraStockChart.IsRubberBandZoomEnabled
ultraStockChart.IsRubberBandZoomEnabled = value

获取或设定是否启用 RubberBandXyZoom

IsXAxisVisible
public bool IsXAxisVisible { get; set; }
value = ultraStockChart.IsXAxisVisible
ultraStockChart.IsXAxisVisible = value

获取或设置一个数值,表示X轴是否可见。

LegendSource
public ChartDataObject LegendSource { get; set; }
value = ultraStockChart.LegendSource
ultraStockChart.LegendSource = value

获取或设置图例的数据源

LegendStyle
public Style LegendStyle { get; set; }
value = ultraStockChart.LegendStyle
ultraStockChart.LegendStyle = value

获取或设置 & #% LegendModifier #%%%% 的样式

ShowLegend
public bool ShowLegend { get; set; }
value = ultraStockChart.ShowLegend
ultraStockChart.ShowLegend = value

获取或设定是否需要显示图例

VerticalChartGroupId
public string VerticalChartGroupId { get; set; }
value = ultraStockChart.VerticalChartGroupId
ultraStockChart.VerticalChartGroupId = value

获取或设置 & # ##UltrachartGroup.VerticalChartGroup+## 属性和 & ##MouseManager.MouseEventGroup+# 属性的代理值,用于将图表大小和鼠标事件绑定在一起

XAxisStyle
public Style XAxisStyle { get; set; }
value = ultraStockChart.XAxisStyle
ultraStockChart.XAxisStyle = value

获取或设置样式,允许直接覆盖内置 XAxis(%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

YAxisStyle
public Style YAxisStyle { get; set; }
value = ultraStockChart.YAxisStyle
ultraStockChart.YAxisStyle = value

获取或设置样式,允许直接覆盖内置 XAxis(%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

方法

ZoomExtents
public override void ZoomExtents()
ultraStockChart.ZoomExtents()

将图表缩放到数据的范围, 加上 X 或 Y 的分数集

字段

BarTimeFrameProperty
public static readonly DependencyProperty BarTimeFrameProperty
value = UltraStockChart.BarTimeFrameProperty

定义 BarTimeFrame DependencyProperty 定义

DefaultDataProviderProperty
public static readonly DependencyProperty DefaultDataProviderProperty
value = UltraStockChart.DefaultDataProviderProperty

定义 CurrentDataProvider DependencyProperty 定义

IsAxisMarkersEnabledProperty
public static readonly DependencyProperty IsAxisMarkersEnabledProperty
value = UltraStockChart.IsAxisMarkersEnabledProperty

定义 IsAxisMarkersEnabled DependencyProperty 定义

IsCursorEnabledProperty
public static readonly DependencyProperty IsCursorEnabledProperty
value = UltraStockChart.IsCursorEnabledProperty

定义 IsCursorEnabled DependencyProperty 定义

IsPanEnabledProperty
public static readonly DependencyProperty IsPanEnabledProperty
value = UltraStockChart.IsPanEnabledProperty

定义 IsPanEnabled DependencyProperty 定义

IsRolloverEnabledProperty
public static readonly DependencyProperty IsRolloverEnabledProperty
value = UltraStockChart.IsRolloverEnabledProperty

定义 IsRolloverEnabled DependencyProperty 定义

IsRubberBandZoomEnabledProperty
public static readonly DependencyProperty IsRubberBandZoomEnabledProperty
value = UltraStockChart.IsRubberBandZoomEnabledProperty

定义 IsRubberBandZoomEnabled DependencyProperty 定义

IsXAxisVisibleProperty
public static readonly DependencyProperty IsXAxisVisibleProperty
value = UltraStockChart.IsXAxisVisibleProperty

定义 IsXAxisVisible DependencyProperty 定义

LegendSourceProperty
public static readonly DependencyProperty LegendSourceProperty
value = UltraStockChart.LegendSourceProperty

定义 LegendSource DependencyProperty 定义

LegendStyleProperty
public static readonly DependencyProperty LegendStyleProperty
value = UltraStockChart.LegendStyleProperty

定义 LegendStyle DependencyProperty 定义

ShowLegendProperty
public static readonly DependencyProperty ShowLegendProperty
value = UltraStockChart.ShowLegendProperty

定义 ShowLegend DependencyProperty 定义

VerticalChartGroupIdProperty
public static readonly DependencyProperty VerticalChartGroupIdProperty
value = UltraStockChart.VerticalChartGroupIdProperty

定义 VerticalChartGroupId DependencyProperty 定义

XAxisStyleProperty
public static readonly DependencyProperty XAxisStyleProperty
value = UltraStockChart.XAxisStyleProperty

定义 XAxisStyle DependencyProperty 定义

YAxisStyleProperty
public static readonly DependencyProperty YAxisStyleProperty
value = UltraStockChart.YAxisStyleProperty

定义 YAxisStyle DependencyProperty 定义