简体   繁体   English

有没有一种方法可以使用System.Web.UI.DataVisualization.Charting旋转烛台图表以水平显示,而不是垂直显示?

[英]Is there a way using System.Web.UI.DataVisualization.Charting to rotate a Candlestick chart to display horizontally instead of vertically?

I want the candles to be displayed left to right not bottom to top. 我希望蜡烛从左到右而不是从下到上显示。 I cant seem to find anything with how to achieve this using this library. 我似乎找不到任何有关如何使用此库实现此目标的信息。 Some other client side libraries can do this but I am confined to server side code using this library at the moment. 其他一些客户端库也可以做到这一点,但目前我仅限于使用该库的服务器端代码。

I think to create a horizontal candlestick chart you need to rotate a normal candlestick chart and change the Primary and Secondary status of the axis. 我认为要创建水平烛形图,您需要旋转普通烛形图并更改轴的“ Primary和“ Secondary状态。 Rotating objects in Forms it not straightforward and something I haven't tried. Forms旋转对象不是一件容易的事,而我还没有尝试过。

There is a lot of material on how to rotate simple objects such as labels on StackOverflow and you need to implement some code like the below examples to rotate your mschart 关于如何旋转简单对象(例如StackOverflow上的标签)的材料很多,您需要实现一些代码,例如以下示例,以旋转mschart

C# vertical label in a Windows Forms Windows窗体中的C#垂直标签

How do I rotate a label in C#? 如何在C#中旋转标签?

I think otherwise you may need to look to other charting sources such as ZedGraph 我认为否则,您可能需要查看其他图表来源,例如ZedGraph

I'd be interested to know how you get on so if you find a solution if you could share it that would be great 我很想知道您的情况,所以如果您找到解决方案,如果可以分享的话,那会很棒

暂无
暂无

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

相关问题 使用System.Web.UI.DataVisualization.Charting命名空间更改饼图上的标签颜色 - Changing the label color on a Pie Chart using System.Web.UI.DataVisualization.Charting namespace System.Web.UI.DataVisualization.Charting中的雷达图选择性标签旋转? - Radar chart selective label rotation in System.Web.UI.DataVisualization.Charting? IE8上未显示System.Web.UI.DataVisualization.Charting图表 - System.Web.UI.DataVisualization.Charting charts are not displaying on IE8 System.Web.UI.DataVisualization.Charting .net 4.0 中缺少错误? - System.Web.UI.DataVisualization.Charting missing error in .net 4.0? iTextSharp将System.Web.UI.DataVisualization.Charting转换为pdf - iTextSharp convert a System.Web.UI.DataVisualization.Charting to pdf 如何使用System.Web.UI.DataVisualization.Charting - How to work with System.Web.UI.DataVisualization.Charting 找不到命名空间System.Web.UI.DataVisualization.Charting - Cannot find namespace System.Web.UI.DataVisualization.Charting 如何在 .NET Core 应用程序中使用 System.Web.UI.DataVisualization.Charting? - How do I use System.Web.UI.DataVisualization.Charting in .NET Core apps? 如何将System.Web.UI.DataVisualization.Charting dll放入WebMatrix 3? - How do I get System.Web.UI.DataVisualization.Charting dll into WebMatrix 3? Visual Studio 2010与.NET 4.0无法识别System.Web.UI.DataVisualization.Charting - Visual Studio 2010 with .NET 4.0 not recognising System.Web.UI.DataVisualization.Charting
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM