(最大/最小)轴坐标值如何显示出来?

fun4junjun 2012-12-28 11:00:51
试用过两个图表控件,问题类似,轴坐标的最大最小值无法显示出来。

一个是 TChart,曲线图如下:



如何把 X 轴、Y 轴的最大最小值,像其它坐标值那样,也实时显示在轴上?

也就是下面打问号的地方



另一个是 TMS.Advanced.Charts,问题也类似,默认不在坐标轴上显示最大最小值:





恳请不吝赐教,在这里先谢过了啊......
...全文
579 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
奕诚 2013-01-06
  • 打赏
  • 举报
回复
Chart->BottomAxis->LabelsOnAxis = true; Chart->LeftAxis->LabelsOnAxis = true;
Kanson 2013-01-02
  • 打赏
  • 举报
回复
Kanson 2013-01-02
  • 打赏
  • 举报
回复
 Chart1->BottomAxis->Automatic= false ;
  Chart1->BottomAxis->AutomaticMaximum = false ;
  Chart1->BottomAxis->AutomaticMinimum  = false ;
  Chart1->BottomAxis->Maximum =20000.00 ;
  Chart1->BottomAxis->Increment = 2000.00 ;//刻度
  Chart1->LeftAxis->Automatic         = false ;
  Chart1->LeftAxis->AutomaticMaximum  = false ;
  Chart1->LeftAxis->AutomaticMinimum  = false ;
  Chart1->LeftAxis->Maximum = 32767 ;
  Chart1->LeftAxis->Minimum = -32768;
  Chart1->LeftAxis->Increment = 6553 ;
  Chart1->RightAxis->Automatic         = false ;
  Chart1->RightAxis->AutomaticMaximum  = false ;
  Chart1->RightAxis->AutomaticMinimum  = false ;
  Chart1->RightAxis->Maximum = 32767 ;
  Chart1->RightAxis->Minimum = -32768;
  Chart1->RightAxis->Increment = 6553 ;
xjhwc 2013-01-01
  • 打赏
  • 举报
回复
teechart例子: Chart1->BottomAxis->Automatic=false; Chart1->BottomAxis->Maximum=11; Chart1->BottomAxis->Minimum=1;
dataxdata 2012-12-29
  • 打赏
  • 举报
回复
使用控件就是在这一点上比较麻烦,遇到特殊的需求就不好处理 不行就自己画曲线吧,也不是特别麻烦
fun4junjun 2012-12-29
  • 打赏
  • 举报
回复
是不是我的需求比较另类?貌似只是一个比较普通的功能的说~~ 恳请各路大神围观,感谢啊

604

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder VCL组件使用和开发
社区管理员
  • VCL组件使用和开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧