简体   繁体   English

数据可视化图表轴动态位置

[英]Datavisualization Chart Axes dynamic location

From what I see, the axis location of the charts can only be at the edges of the chart. 从我所看到的,图表的轴位置只能在图表的边缘。

I need to move the x-axis so that it follows the zero-crossing of the y-axis. 我需要移动x轴,以使其遵循y轴的零交叉点。

Ie if the range of values on the y-axis is -50 to +50, the x-axis will be drawn in the centre of the chart. 即,如果y轴上的值的范围是-50到+50,则x轴将绘制在图表的中心。

Is this even possible? 这有可能吗?

After lots of research, it looks like the axes cannot be moved from the edges of the control. 经过大量研究,似乎无法从控件的边缘移动轴。

I have found another solution to the problem by moving the axes labels which is answered here . 我通过移动轴标签找到了解决该问题的另一种方法,这在这里得到了解答。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 设置chart.ChartAreas [0] .Axes [0] .Maximum为“ Auto”时,是否存在System.Windows.Forms.DataVisualization.Charting.Chart的错误? - Is there a bug of System.Windows.Forms.DataVisualization.Charting.Chart, when setting chart.ChartAreas[0].Axes[0].Maximum as “Auto”? DataVisualization.Chart的样式化图形和工具提示 - Stylizing graphs and tooltip of DataVisualization.Chart C#,DataVisualization.Charting:将自定义标签分配给轴上的值 - C#, DataVisualization.Charting: assign custom labels to values on axes 在WindowsForms DataVisualization Chart中限制宽高比 - Constrain aspect ratio in WindowsForms DataVisualization Chart 相对资源发现者在数据可视化图表线系列中的使用 - Use of relativesource findancestor in datavisualization chart lineseries PowerPoint 文件中的图表轴 - Chart axes in PowerPoint file 如何在Windows DataVisualization错误条形图中控制水平标记 - How to control horizontal markers in Windows DataVisualization Error Bar Chart 不使用WinForms更改DataVisualization.Chart大小 - Changing DataVisualization.Chart size without using WinForms 调整图表大小后如何为datavisualization.charting调整轴刻度? - How to adjust axis scales for datavisualization.charting after resizing a chart? 如何使用Web.UI.DataVisualization.Charting绘制图表? - How to chart using Web.UI.DataVisualization.Charting?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM