Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AxisX 的标题是“日期”。但是我怎样才能改变它的方向呢?我想横向查看“日期”。
AxisX 标签方向设置如下:
chartCalls.ChartAreas[0].AxisX.LabelStyle.Angle = -90;
任何想法?
可能您需要添加 MyChart.Series[0].SmartLabelStyle.Enabled = false;
把 TextAlign="Horizontal" 像这样
<AxisX Title="" LineColor="green" LineWidth="3" TextOrientation="Horizontal"> <MajorGrid Enabled="False" /> </AxisX>