UltrachartSurface

StockSharp.Xaml.Charting.Visuals

複数のIRenderableSeries、複数のXおよびY IAxisインスタンスをレンダリングするための単一のRenderSurfaceBaseビューポートで高性能チャート面を提供、IDataSeriesバインディング、mulitple ChartModifierBase派生した動作修飾子と複数のAnnotationBase UIElement Annotations

継承元: UltrachartSurfaceBase

実装: IUltrachartSurface, IUltrachartSurfaceBase, ISuspendable, IInvalidatableElement, IUltrachartController, IDisposable, IXmlSerializable

コンストラクター

UltrachartSurface
internal UltrachartSurface(IServiceContainer mockServices)
ultrachartSurface = UltrachartSurface(mockServices)

試験に使用する内部のCtor

mockServices
UltrachartSurface
public UltrachartSurface()
ultrachartSurface = UltrachartSurface()

UltrachartSurfaceクラスの新しいインスタンスを初期化します。

プロパティ

AdornerLayerCanvas
public Canvas AdornerLayerCanvas { get; }
value = ultrachartSurface.AdornerLayerCanvas

チャート上のアドワーナー層を取得する

AnimateZoomExtentsCommand
public ICommand AnimateZoomExtentsCommand { get; set; }
value = ultrachartSurface.AnimateZoomExtentsCommand
ultrachartSurface.AnimateZoomExtentsCommand = value

呼び出されると、UltrachartSurfaceを@に与え、アニメーションを使用する範囲をズームする

AnnotationOverlaySurface
public IAnnotationCanvas AnnotationOverlaySurface { get; }
value = ultrachartSurface.AnnotationOverlaySurface

チャート上の注釈キャンバスを取得します

Annotations
public AnnotationCollection Annotations { get; set; }
value = ultrachartSurface.Annotations
ultrachartSurface.Annotations = value

UltrachartSurface 上でレンダリング可能なアノテーションを提供する AnnotationCollectionを取得します。

AnnotationUnderlaySurface
public IAnnotationCanvas AnnotationUnderlaySurface { get; }
value = ultrachartSurface.AnnotationUnderlaySurface

チャートの下に注釈キャンバスを取得します

AutoRangeOnStartup
public bool AutoRangeOnStartup { get; set; }
value = ultrachartSurface.AutoRangeOnStartup
ultrachartSurface.AutoRangeOnStartup = value

Ultrachart が起動時に AutoRangeを実行しようとするかどうかを示す値を取得またはセットする

AxisAreaBottom
public AxisArea AxisAreaBottom { get; }
value = ultrachartSurface.AxisAreaBottom

ボトムAxisAreaをAxisAlignmentにセットしたAxesをAxisAlignmentに含んだ

AxisAreaLeft
public AxisArea AxisAreaLeft { get; }
value = ultrachartSurface.AxisAreaLeft

AxisAlignmentに左にセットした Axes が含まれている AxisAreaを左に取得します。

AxisAreaRight
public AxisArea AxisAreaRight { get; }
value = ultrachartSurface.AxisAreaRight

AxisAlignmentを右にセットする Axes をAxisAlignmentに含む、右AxisAreaをAxisAreaに取得します。

AxisAreaTop
public AxisArea AxisAreaTop { get; }
value = ultrachartSurface.AxisAreaTop

上位AxisAreaをAxisAlignmentにセットしたAxesをAxisAlignmentに含んだ

BottomAxesPanelTemplate
public ItemsPanelTemplate BottomAxesPanelTemplate { get; set; }
value = ultrachartSurface.BottomAxesPanelTemplate
ultrachartSurface.BottomAxesPanelTemplate = value

底揃え軸のレイアウトを制御するパネルを定義するテンプレートを取得またはセットする

CenterXAxisArea
public AxisArea CenterXAxisArea { get; }
value = ultrachartSurface.CenterXAxisArea

中央AxisAreaをIsCenterAxisにXAxesをIsCenterAxisに含んだフラグが真に等しい

CenterYAxisArea
public AxisArea CenterYAxisArea { get; }
value = ultrachartSurface.CenterYAxisArea

YAXes をIsCenterAxisに含む、AxisArea中央にマッチする

ChartModifier
public IChartModifier ChartModifier { get; set; }
value = ultrachartSurface.ChartModifier
ultrachartSurface.ChartModifier = value

チャートの動作を変更した ChartModifier を、取得または設定する

ClipOverlayAnnotations
public bool ClipOverlayAnnotations { get; set; }
value = ultrachartSurface.ClipOverlayAnnotations
ultrachartSurface.ClipOverlayAnnotations = value

チャート上の注釈がクリップをバインドするか、またはないかをセットするか。 デフォルト値は True です

ClipUnderlayAnnotations
public bool ClipUnderlayAnnotations { get; set; }
value = ultrachartSurface.ClipUnderlayAnnotations
ultrachartSurface.ClipUnderlayAnnotations = value

チャートの注釈がクリップをバインドするか、またはないかをセットするか。デフォルト値は真

GridLinesPanel
public IGridLinesPanel GridLinesPanel { get; }
value = ultrachartSurface.GridLinesPanel

グリッドラインが描画されるGridLinesPanelを@に取得

GridLinesPanelStyle
public Style GridLinesPanelStyle { get; set; }
value = ultrachartSurface.GridLinesPanelStyle
ultrachartSurface.GridLinesPanelStyle = value

スタイルGridLinesPanel@を@にセットするか、または設定します。

IsPolarChart
public bool IsPolarChart { get; private set; }
value = ultrachartSurface.IsPolarChart
ultrachartSurface.IsPolarChart = value

このUltrachartSurfaceが極端チャートであるか否かをゲット

LeftAxesPanelTemplate
public ItemsPanelTemplate LeftAxesPanelTemplate { get; set; }
value = ultrachartSurface.LeftAxesPanelTemplate
ultrachartSurface.LeftAxesPanelTemplate = value

パネルを定義するテンプレートを、左揃えの軸のレイアウトを制御するか、またはセットします

RenderableSeries
public ObservableCollection<IRenderableSeries> RenderableSeries { get; set; }
value = ultrachartSurface.RenderableSeries
ultrachartSurface.RenderableSeries = value

今回のUltrachartSurfaceのコレクションをRenderableSeries@に引き出す。

RenderSurfaceStyle
public Style RenderSurfaceStyle { get; set; }
value = ultrachartSurface.RenderSurfaceStyle
ultrachartSurface.RenderSurfaceStyle = value

スタイルRenderSurface@を@にセットするか、または設定します。

RightAxesPanelTemplate
public ItemsPanelTemplate RightAxesPanelTemplate { get; set; }
value = ultrachartSurface.RightAxesPanelTemplate
ultrachartSurface.RightAxesPanelTemplate = value

パネルを定義するテンプレートを取得またはセットして、適切な整列された軸のレイアウトを制御する

SelectedRenderableSeries
public ObservableCollection<IRenderableSeries> SelectedRenderableSeries { get; private set; }
value = ultrachartSurface.SelectedRenderableSeries
ultrachartSurface.SelectedRenderableSeries = value

選択したRenderableSeriesのコレクションを取得します。

SeriesSource
public ObservableCollection<IChartSeriesViewModel> SeriesSource { get; set; }
value = ultrachartSurface.SeriesSource
ultrachartSurface.SeriesSource = value

SeriesSource プロパティは、IChartSeriesViewModelインスタンスのコレクションにデータ結合を可能にし、DataSeriesIRenderableSeriesとIRenderableSeriesを組み合わせて

StackedColumnsWrapper
internal IStackedColumnsWrapper StackedColumnsWrapper { get; set; }
value = ultrachartSurface.StackedColumnsWrapper
ultrachartSurface.StackedColumnsWrapper = value

ユーザーがStackedColumnRenderableSeries@のデッサンをカスタマイズすることを可能にする@StackedColumnsWrapperを得て下さい

StackedMountainsWrapper
internal IStackedMountainsWrapper StackedMountainsWrapper { get; set; }
value = ultrachartSurface.StackedMountainsWrapper
ultrachartSurface.StackedMountainsWrapper = value

ユーザーがStackedMountainRenderableSeries@のデッサンをカスタマイズすることを可能にする@StackedMountainsWrapperを得て下さい

TopAxesPanelTemplate
public ItemsPanelTemplate TopAxesPanelTemplate { get; set; }
value = ultrachartSurface.TopAxesPanelTemplate
ultrachartSurface.TopAxesPanelTemplate = value

先頭揃えの軸のレイアウトを制御するパネルを定義するテンプレートを取得またはセットする

VersionAndLicenseInfo
public static string VersionAndLicenseInfo { get; }
value = UltrachartSurface.VersionAndLicenseInfo

バージョンとライセンス情報をフォーマットされた文字列として返します

ViewportManager
public IViewportManager ViewportManager { get; set; }
value = ultrachartSurface.ViewportManager
ultrachartSurface.ViewportManager = value

チャート上の ViewportManagerインスタンスを取得またはセットします。これにより、レンダー上のビューポートの動作を処理します。

XAxes
public AxisCollection XAxes { get; set; }
value = ultrachartSurface.XAxes
ultrachartSurface.XAxes = value

このUltrachartSurfaceにX軸IAxisのコレクションをUltrachartSurfaceに対抗する

XAxis
public IAxis XAxis { get; set; }
value = ultrachartSurface.XAxis
ultrachartSurface.XAxis = value

プライマリXAxisをUltrachartSurface(デフォルトサイド=ボトム)に取得またはセットする

YAxes
public AxisCollection YAxes { get; set; }
value = ultrachartSurface.YAxes
ultrachartSurface.YAxes = value

Y-Axis IAxis のコレクションを UltrachartSurfaceにまとめて、

YAxis
public IAxis YAxis { get; set; }
value = ultrachartSurface.YAxis
ultrachartSurface.YAxis = value

初期のYAxisをUltrachartSurface(デフォルトサイド=右)に取得またはセットする

ZoomExtentsCommand
public ICommand ZoomExtentsCommand { get; set; }
value = ultrachartSurface.ZoomExtentsCommand
ultrachartSurface.ZoomExtentsCommand = value

zoom の程度をコマンドで取得または設定します。 呼び出し時に UltrachartSurfaceを zoom に zoom に 発生します。

メソッド

AnimateZoomExtents
public void AnimateZoomExtents(TimeSpan duration)
ultrachartSurface.AnimateZoomExtents(duration)

指定したアニメーションの持続時間に範囲をズーム

duration
アニメーションの期間は、範囲をズームするときに
AnimateZoomExtentsX
public void AnimateZoomExtentsX(TimeSpan duration)
ultrachartSurface.AnimateZoomExtentsX(duration)

チャートをX方向のデータの範囲にズームし、指定された期間でアニメーションを使用します

duration
アニメーションの持続期間
AnimateZoomExtentsY
public void AnimateZoomExtentsY(TimeSpan duration)
ultrachartSurface.AnimateZoomExtentsY(duration)

Y方向のデータ範囲にチャートをズームし、X方向のビューで現在のデータについて説明

duration
AttachDataSeries
public void AttachDataSeries(IDataSeries dataSeries)
ultrachartSurface.AttachDataSeries(dataSeries)

DataSeries.DataSeriesChangedのリスナーを取り付ける

dataSeries
ClearSeries
public void ClearSeries()
ultrachartSurface.ClearSeries()

Ultrachart から DataSeriesをすべて削除

DecrementSuspend
public void DecrementSuspend()
ultrachartSurface.DecrementSuspend()

ターゲットスモーダが割当するたびにIUpdateSuspenderに電話をかけます。最終スモーダが割当された場合にはResumeUpdatesを呼ばれます。

DetachDataSeries
public void DetachDataSeries(IDataSeries dataSeries)
ultrachartSurface.DetachDataSeries(dataSeries)

DataSeries.DataSeriesChangedのリスナーをデタッチ

dataSeries
ExportToBitmapSource
public BitmapSource ExportToBitmapSource()
result = ultrachartSurface.ExportToBitmapSource()

現在のUltrachartSurfaceのスナップショットをBitmapSourceにエクスポート

ExportToFile
public void ExportToFile(string fileName, ExportType exportType)
ultrachartSurface.ExportToFile(fileName, exportType)

ファイルの現在のUltrachartSurfaceのスナップショットを保存します

fileName
exportType
エクスポートするファイルの形式を定義する
GetBoundsRelativeTo
public Rect GetBoundsRelativeTo(IHitTestable relativeTo)
result = ultrachartSurface.GetBoundsRelativeTo(relativeTo)

別のHitTestable要素に相対的に現在のHitTestable@要素の境界を取得します

relativeTo
相対的なもの。
GetSchema
public XmlSchema GetSchema()
result = ultrachartSurface.GetSchema()

WriteXmlメソッドで生成されたオブジェクトのXML表現を記述し、ReadXmlメソッドで消費するXMLをReadXmlメソッドで返します。

GetWindowedYRange
public IRange GetWindowedYRange(IAxis yAxis, IRange xRange)
result = ultrachartSurface.GetWindowedYRange(yAxis, xRange)

呼び出しの同等性は、YAxis.GetMaximumRange()しかし、その軸(データシリーズによって)のみ最大範囲を返します。 "windowed" = "現在のビューポートに表示"は、GrowBy()を使用します。

yAxis
xRange
IsPointWithinBounds
public bool IsPointWithinBounds(Point point)
result = ultrachartSurface.IsPointWithinBounds(point)

ポイントが現在のHitTestable要素の境界内にある場合は、trueを返します

point
試験のポイント

戻り値: ポイントが境界内にある場合 true

MeasureOverride
protected override Size MeasureOverride(Size constraint)
result = ultrachartSurface.MeasureOverride(constraint)

制御を是正するために呼び出される。

constraint
メソッドが返すことができる最大サイズ。

戻り値: 制御のサイズは、指定する最大までです。

OnApplyTemplate
public override void OnApplyTemplate()
ultrachartSurface.OnApplyTemplate()

派生したクラスにオーバーライドすると、アプリケーションコードや内部プロセス(再構築レイアウトパスなど)がApplyTemplateに電話するたびに呼び出されます。最も簡単な用語では、アプリケーション内のUI要素表示直前にメソッドが呼び出されます。詳細については、備考を参照してください。

OnArrangeUltrachart
public Size OnArrangeUltrachart()
result = ultrachartSurface.OnArrangeUltrachart()

レンダーパスの用意は内部で呼び出され、ビューポートのサイズを返します。

戻り値: 必要なビューポートのサイズ

OnAxisAlignmentChanged
public void OnAxisAlignmentChanged(IAxis axis, AxisAlignment oldValue)
ultrachartSurface.OnAxisAlignmentChanged(axis, oldValue)

AxisAlignmentが変更した時にUltrachartが内部で呼び出されます。UltrachartSurfaceが軸線を転置させることを可能にします。args.gは左上、右下、右上、左上、右上、左、右上、左、右上、左、右、左、右、左、右、左、左、右、左、右、左、右、左、右、左、右、左、左、右、左、右、左、右、左、右、左、右、左、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右、右

axis
oldValue
OnDataContextChanged
protected override void OnDataContextChanged(DependencyPropertyChangedEventArgs e)
ultrachartSurface.OnDataContextChanged(e)

UltrachartSurfaceBase DataContext変更時に呼び出されます。

e
イベントデータを含むDependencyPropertyChangedEventArgsインスタンス。
OnIsCenterAxisChanged
public void OnIsCenterAxisChanged(IAxis axis)
ultrachartSurface.OnIsCenterAxisChanged(axis)

IsCenterAxis変更時にUltrachartが内部で呼び出されます。UltrachartSurfaceを@にすることで、チャートの中心に軸を配置することができます。

axis
OnUltrachartRendered
public override void OnUltrachartRendered()
ultrachartSurface.OnUltrachartRendered()

レンダリングされたイベントを上げ、画面にプレゼンテーション直前にレンダリングパスの最後に発射

OnUltrachartSurfaceLoaded
protected override void OnUltrachartSurfaceLoaded()
ultrachartSurface.OnUltrachartSurfaceLoaded()

UltrachartSurfaceBase がロードされると呼び出されます。 ここに初期化操作を実行します。

OnUltrachartSurfaceSizeChanged
protected override void OnUltrachartSurfaceSizeChanged()
ultrachartSurface.OnUltrachartSurfaceSizeChanged()

UltrachartSurfaceBaseサイズ変更時に呼び出されます。ここでは、レンダリングの表面のサイズ変更や再描画操作を実行します。

OnUltrachartSurfaceUnloaded
protected override void OnUltrachartSurfaceUnloaded()
ultrachartSurface.OnUltrachartSurfaceUnloaded()

UltrachartSurfaceBaseがビジュアルツリーからアンロードされ削除されると呼び出されます。ここでクリーンアップ操作を実行してください。

Print
public void Print(string description)
ultrachartSurface.Print(description)

出力電流@UltrachartSurfaceプリンタ

description
印刷の仕事の説明
ReadXml
public virtual void ReadXml(XmlReader reader)
ultrachartSurface.ReadXml(reader)

XML 表現から UltrachartSurface を生成します。

reader
RegisterServices
protected override void RegisterServices(IServiceContainer serviceContainer)
ultrachartSurface.RegisterServices(serviceContainer)

UltrachartSurfaceBaseのコンストラクタで呼び出され、UltrachartSurfaceBaseのインスタンスごとにサービスを登録する機会を派生させる

戻り値: デフォルトは、IServiceContainer です。null は返さない。 少なくとも空のServiceContainer@に返す

ResumeUpdates
public void ResumeUpdates(IUpdateSuspender updateSuspender)
ultrachartSurface.ResumeUpdates(updateSuspender)

ターゲットの更新を再開し、IUpdateSuspender@ で呼び出されるように意図

SuspendUpdates
public IUpdateSuspender SuspendUpdates()
result = ultrachartSurface.SuspendUpdates()

最終ドローコールが発行されるまで、ターゲットのドローの更新を中断します。

戻り値: 使い捨て更新サスペンダー

TranslatePoint
public Point TranslatePoint(Point point, IHitTestable relativeTo)
result = ultrachartSurface.TranslatePoint(point, relativeTo)

他のhittestable要素に相対的なポイントを翻訳する

point
のポイント。
relativeTo
相対的なもの。
WriteXml
public virtual void WriteXml(XmlWriter writer)
ultrachartSurface.WriteXml(writer)

UltrachartSurfaceをXML表現に変換します。

writer
ZoomExtents
public virtual void ZoomExtents()
ultrachartSurface.ZoomExtents()

チャートをデータの範囲にズームし、X と Y 軸にセットされた任意の X または Y が成長します。

ZoomExtentsX
public void ZoomExtentsX()
ultrachartSurface.ZoomExtentsX()

X方向のデータ範囲にチャートをズーム

ZoomExtentsY
public void ZoomExtentsY()
ultrachartSurface.ZoomExtentsY()

Y方向のデータ範囲にチャートをズームし、X方向のビューで現在のデータについて説明

イベント

AnnotationsCollectionNewCollectionAssigned
public event EventHandler AnnotationsCollectionNewCollectionAssigned
ultrachartSurface.AnnotationsCollectionNewCollectionAssigned += handler

注釈DependencyPropertyが変更されたときに発生したイベント

AxisAlignmentChanged
public event EventHandler<AxisAlignmentChangedEventArgs> AxisAlignmentChanged
ultrachartSurface.AxisAlignmentChanged += handler

軸の直線が変更されたときに発生するイベント

XAxesCollectionNewCollectionAssigned
public event EventHandler XAxesCollectionNewCollectionAssigned
ultrachartSurface.XAxesCollectionNewCollectionAssigned += handler

XAxes DependnecyPropertyが変更されたときに発生したイベント

YAxesCollectionNewCollectionAssigned
public event EventHandler YAxesCollectionNewCollectionAssigned
ultrachartSurface.YAxesCollectionNewCollectionAssigned += handler

YAxes DependnecyPropertyが変更されたときに発生したイベント

フィールド

AnimateZoomExtentsCommandProperty
public static readonly DependencyProperty AnimateZoomExtentsCommandProperty
value = UltrachartSurface.AnimateZoomExtentsCommandProperty

電子メール:ZoomExtentsCommandDependencyProperty@

AnnotationsProperty
public static readonly DependencyProperty AnnotationsProperty
value = UltrachartSurface.AnnotationsProperty

アナノテーションの定義 DependencyProperty

AutoRangeOnStartupProperty
public static readonly DependencyProperty AutoRangeOnStartupProperty
value = UltrachartSurface.AutoRangeOnStartupProperty

電子メール:AutoRangeOnStartupDependencyProperty@

BottomAxesPanelTemplateProperty
public static readonly DependencyProperty BottomAxesPanelTemplateProperty
value = UltrachartSurface.BottomAxesPanelTemplateProperty

電子メール:RightAxisPanelTemplateDependencyProperty@

ChartModifierProperty
public static readonly DependencyProperty ChartModifierProperty
value = UltrachartSurface.ChartModifierProperty

電子メール:ChartModifierDependencyProperty@

ClipOverlayAnnotationsProperty
public static readonly DependencyProperty ClipOverlayAnnotationsProperty
value = UltrachartSurface.ClipOverlayAnnotationsProperty

電子メール:ClipOverlayAnnotationsDepedencyProperty@

ClipUnderlayAnnotationsProperty
public static readonly DependencyProperty ClipUnderlayAnnotationsProperty
value = UltrachartSurface.ClipUnderlayAnnotationsProperty

電子メール:ClipUnderlayAnnotationsDependencyProperty@

GridLinesPanelStyleProperty
public static readonly DependencyProperty GridLinesPanelStyleProperty
value = UltrachartSurface.GridLinesPanelStyleProperty

電子メール:GridLinesPanelStyleDependencyProperty@

IsPolarChartProperty
public static readonly DependencyProperty IsPolarChartProperty
value = UltrachartSurface.IsPolarChartProperty

電子メール:IsPolarChartDependencyProperty@

LeftAxesPanelTemplateProperty
public static readonly DependencyProperty LeftAxesPanelTemplateProperty
value = UltrachartSurface.LeftAxesPanelTemplateProperty

電子メール:LeftAxisPanelTemplateDependencyProperty@

RenderableSeriesProperty
public static readonly DependencyProperty RenderableSeriesProperty
value = UltrachartSurface.RenderableSeriesProperty

電子メール:RenderableSeriesDependencyProperty@

RenderSurfaceStyleProperty
public static readonly DependencyProperty RenderSurfaceStyleProperty
value = UltrachartSurface.RenderSurfaceStyleProperty

電子メール:RenderSurfaceStyleDependencyProperty@

RightAxesPanelTemplateProperty
public static readonly DependencyProperty RightAxesPanelTemplateProperty
value = UltrachartSurface.RightAxesPanelTemplateProperty

電子メール:RightAxisPanelTemplateDependencyProperty@

SelectedRenderableSeriesProperty
public static readonly DependencyProperty SelectedRenderableSeriesProperty
value = UltrachartSurface.SelectedRenderableSeriesProperty

電子メール:SelectedRenderableSeriesDependencyProperty@

SeriesSourceProperty
public static readonly DependencyProperty SeriesSourceProperty
value = UltrachartSurface.SeriesSourceProperty

電子メール:SeriesSourceDependencyProperty@

TopAxesPanelTemplateProperty
public static readonly DependencyProperty TopAxesPanelTemplateProperty
value = UltrachartSurface.TopAxesPanelTemplateProperty

電子メール:RightAxisPanelTemplateDependencyProperty@

ViewportManagerProperty
public static readonly DependencyProperty ViewportManagerProperty
value = UltrachartSurface.ViewportManagerProperty

電子メール:ViewportManagerDependencyProperty@

XAxesProperty
public static readonly DependencyProperty XAxesProperty
value = UltrachartSurface.XAxesProperty

YAxesDependencyProperty を定義する

XAxisProperty
public static readonly DependencyProperty XAxisProperty
value = UltrachartSurface.XAxisProperty

XAxis DependencyProperty を定義する

YAxesProperty
public static readonly DependencyProperty YAxesProperty
value = UltrachartSurface.YAxesProperty

YAxesDependencyProperty を定義する

YAxisProperty
public static readonly DependencyProperty YAxisProperty
value = UltrachartSurface.YAxisProperty

YAxis DependencyProperty を定義する

ZoomExtentsCommandProperty
public static readonly DependencyProperty ZoomExtentsCommandProperty
value = UltrachartSurface.ZoomExtentsCommandProperty

電子メール:ZoomExtentsCommandDependencyProperty@