SeriesValueModifier
定制的 ChartModifierBase 将 AxisMarkerAnnotation 放在图中的每个 BaseRenderableSeries 的 YAAXs上, 显示当前 BaseRenderableSeries 的最新 Y- 值 。 E.g. 每个系列, 设置一个轴标, 并带有该系列的最新 Y- 值 。
继承自: ChartModifierBase
构造函数
public SeriesValueModifier()
seriesValueModifier = SeriesValueModifier()
初始化了 & ##SeriesValueModifier+# 类的新实例 。
属性
protected IDictionary<IRenderableSeries, IAnnotation> AnnotationsBySeries { get; }
value = seriesValueModifier.AnnotationsBySeries
AxisMarkerAnnotation 存储由 IRenderableSeries 键入的 IRenderableSeries 实例
public Style AxisMarkerStyle { get; set; }
value = seriesValueModifier.AxisMarkerStyle
seriesValueModifier.AxisMarkerStyle = value
获取或设置应用轴标记的样式。请参见执行注释
public string YAxisId { get; set; }
value = seriesValueModifier.YAxisId
seriesValueModifier.YAxisId = value
定义将 SeriesValueModifier 绑定在哪个 YAXis 上, 以字符串 Id 匹配
方法
public static bool GetIsLastPointInViewport(DependencyObject obj)
result = SeriesValueModifier.GetIsLastPointInViewport(obj)
获得 IsLastPointInViewportProperty 的值
public static bool GetIsRenderableSeriesInViewport(DependencyObject obj)
result = SeriesValueModifier.GetIsRenderableSeriesInViewport(obj)
获得 IsRenderableSeriesInViewportProperty 的值
public static bool GetIsSeriesValueModifierEnabled(UIElement element)
result = SeriesValueModifier.GetIsSeriesValueModifierEnabled(element)
获取元素上的 IsSeriesValueModifierEnabled 属性。 当 RenderableSeries 设定为 True 时, 此系列将包含在 SeriesValueModifier 处理中, 否则将排除
- element
- 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素
返回值: 如果设定为真, 此序列将包含在 &\ SeriesValueModifier\\\\ 处理中, 否则将排除在外 。
public static Color GetSeriesMarkerColor(DependencyObject obj)
result = SeriesValueModifier.GetSeriesMarkerColor(obj)
获得 SeriesMarkerColorProperty 的值
protected override void OnIsEnabledChanged()
seriesValueModifier.OnIsEnabledChanged()
当 & ###IsEnabled### 属性在此 & ##SeriesValueModifier#% 实例上更改时调用
public override void OnParentSurfaceRendered(UltrachartRenderedMessage e)
seriesValueModifier.OnParentSurfaceRendered(e)
提供父 UltrachartSurface 时调用
- e
- 包含事件参数数据的 UltrachartRenderedMessage
public static void SetIsLastPointInViewport(DependencyObject obj, bool value)
SeriesValueModifier.SetIsLastPointInViewport(obj, value)
设定 IsLastPointInViewportProperty 的值
public static void SetIsRenderableSeriesInViewport(DependencyObject obj, bool value)
SeriesValueModifier.SetIsRenderableSeriesInViewport(obj, value)
获得 IsRenderableSeriesInViewportProperty 的值
public static void SetIsSeriesValueModifierEnabled(UIElement element, bool value)
SeriesValueModifier.SetIsSeriesValueModifierEnabled(element, value)
设定元素上的 IsSeriesValueModifierEnabled 属性。 当 RenderableSeries 设定为 True 时, 此序列将包含在 SeriesValueModifier 处理中, 否则将排除
- element
- 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素 元素
- value
- 如果设定为真, 此序列将包含在 &\ SeriesValueModifier\\\\ 处理中, 否则将排除在外 。
public static void SetSeriesMarkerColor(DependencyObject obj, Color value)
SeriesValueModifier.SetSeriesMarkerColor(obj, value)
设定 SeriesMarkerColorProperty 的值
字段
public static readonly DependencyProperty AxisMarkerStyleProperty
value = SeriesValueModifier.AxisMarkerStyleProperty
轴标样式 DependencyProperty.
public static readonly DependencyProperty IsLastPointInViewportProperty
value = SeriesValueModifier.IsLastPointInViewportProperty
定义 IsLastPointInViewportProperty 附属属性。 当它的最后一点到视图端口外时, 它用于改变与可转换序列相关的 AxisMarker 的不透明性 。
public static readonly DependencyProperty IsRenderableSeriesInViewportProperty
value = SeriesValueModifier.IsRenderableSeriesInViewportProperty
定义 IsRenderableSeriesInViewport 附属属性。它用于隐藏一个可转换系列在视图外的相联的 AxisMarker 。
public static readonly DependencyProperty IsSeriesValueModifierEnabledProperty
value = SeriesValueModifier.IsSeriesValueModifierEnabledProperty
IsSeriesValueModifier DependencyProperty. 当设定为 RenderableSeries 上的真实时,此系列将包含在 SeriesValueModifier 处理中,否则将排除在外 。
public static readonly DependencyProperty SeriesMarkerColorProperty
value = SeriesValueModifier.SeriesMarkerColorProperty
定义 LastPointColor 附属属性。在 RenderableSeries 的视图端口中保持最后一个可见栏的颜色
public static readonly DependencyProperty YAxisIdProperty
value = SeriesValueModifier.YAxisIdProperty
Defines the YAxisId DependencyProperty