S sxwy Unregistered / Unconfirmed GUEST, unregistred user! 2006-07-19 #1 用TCHAR来绘曲线,但是发现其X的点间隔过大,为20,就算我在设定里设定其为10或者5,但在实际上也是每20一格.请问有没有办法将 TCHAR的X轴能否将间隔设为小一点.?
Z zywcd Unregistered / Unconfirmed GUEST, unregistred user! 2006-07-19 #2 可以,你自己定义吧,或者你把水平轴的最大值和最小值的间隔设置小就可以。 with series1.GetHorizAxis do { <-- with the Horizontal Axis... } begin Automatic:=False; Minimum:=??;//你设置间隔的时候自己选择就好。 Maximum:= ??;// end;
可以,你自己定义吧,或者你把水平轴的最大值和最小值的间隔设置小就可以。 with series1.GetHorizAxis do { <-- with the Horizontal Axis... } begin Automatic:=False; Minimum:=??;//你设置间隔的时候自己选择就好。 Maximum:= ??;// end;
S sxwy Unregistered / Unconfirmed GUEST, unregistred user! 2006-07-19 #3 没有用呀.我的AUTOMATIC是为FALSE.比如说我的MAXINUM=100,MININUM=0, 我的DESIRED INCREMENT=1(X座标的固定值),按道理应该X是分为100等份的,但是没有,CHART会跟据CHART的宽度自动调整为每格5或者每格10
没有用呀.我的AUTOMATIC是为FALSE.比如说我的MAXINUM=100,MININUM=0, 我的DESIRED INCREMENT=1(X座标的固定值),按道理应该X是分为100等份的,但是没有,CHART会跟据CHART的宽度自动调整为每格5或者每格10
Z zywcd Unregistered / Unconfirmed GUEST, unregistred user! 2006-07-19 #4 在设置最大最小值时旁边有一个offset参数,你修改看看? 还有,如果你想是1 ,可能最大值应该是10。 同时注意修改minor中的grid对应的count
X xiao2000 Unregistered / Unconfirmed GUEST, unregistred user! 2006-07-19 #5 试试这个在我的程序中没问题) series.ParentChart.BottomAxis.Automatic := false; series.ParentChart.BottomAxis.Maximum :=100; series.ParentChart.BottomAxis.Minimum :=0; series.ParentChart.BottomAxis.Increment :=10;
试试这个在我的程序中没问题) series.ParentChart.BottomAxis.Automatic := false; series.ParentChart.BottomAxis.Maximum :=100; series.ParentChart.BottomAxis.Minimum :=0; series.ParentChart.BottomAxis.Increment :=10;