[英]Chart Control add x points
I have a chart control. 我有一个图表控件。 It has 8 points(spots) in x axis, I need 30.
它在x轴上有8个点(点),我需要30个点。
I went through all properties but can't find where to set that. 我浏览了所有属性,但找不到在哪里设置。 Any tips?
有小费吗?
Try setting the AxisX properties of the chart: 尝试设置图表的AxisX属性:
chart1.ChartAreas[0].AxisX.Interval = 1;
chart1.ChartAreas[0].AxisX.Minimum = 1;
chart1.ChartAreas[0].AxisX.Maximum = 30;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.