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.
我正在使用 Dundas Charts,我正在显示一个以 X 轴和 Y 轴为数字的条形图。我们想为数字显示逗号。例如 500000 可以显示为 500, 000。任何想法和建议都非常感谢!
使用 labelformat 属性,如
currentChart.ChartAreas["ChartArea1"].AxisY.LabelStyle.Format = "d";