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.
这可能很容易实现,因为我在这里找不到任何帖子。如何在客户端或服务器端的 mschart 中设置标签大小?在我的情况下,设置 LabelAutoFitMinFontSize 不起作用。我正在使用网络表单,这是我的图表,
我需要增加 x 轴和值标签的字体大小。谢谢。
我在我的示例图表上尝试了此代码,它确实有效。
Chart1.Series(0).IsValueShownAsLabel = True Chart1.Series(0).Font = New Font("Times", 30) ' will change value label font Chart1.ChartAreas(0).AxisX.LabelStyle.Font = New Font("Verdana", 28) ' will change x-axis label font style