wpf - 如何将OxyPlot原点设置在左上角?

标签 wpf charts axis series oxyplot

我创建了一个包含 20 个系列的 OxyPlot 图。每个系列代表一个 channel 。原点现在位于左下角。

见下图:

enter image description here

我想让他们从上到下排序。如何设置OxyPlot原点在左上角?(见下图)

enter image description here

最佳答案

我知道这很旧,但您只需将 Axis StartPosition 设置为 1,将 EndPosition 设置为 0

CategoryAxis myAxis = new CategoryAxis();
myAxis.StartPosition = 1;
myAxis.EndPosition = 0;

关于wpf - 如何将OxyPlot原点设置在左上角?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37414231/

相关文章:

php - 根据输入从 php 接收图表

java - 从 Web 服务获取响应时出错非默认命名空间无法映射到空 URI

c# - WPF中如何使用按钮导航到其他页面

android - 在 xAxis MPChart 获取重复值

wpf - 如何在 RichTextBox 中设置内联图像垂直居中

javascript - 悬停在 highchart 中的同步图表上时线条淡出

java - Axis 异常 : o. a.axis2.transport.http.HTTPSender.sendViaPost(196) - 无法发送 ViaPost - 连接被拒绝

python - 在 Matplotlib 中调整 Axis

c# - 如何创建引用多个控件的WPF行为?

c# - 如何使用 MVVM 更新 ContextMenu 的 ItemSource