Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
509 views
in Technique[技术] by (71.8m points)

delphi - How to change the axis values to correctly display even when zoomed in?

I wanted to ask how to increase the values of the axis to display data correctly? I tried searching the teechart options but with no luck.

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

In this case, you should either

  1. use one more digit in the number format (0.0000) on the left axis, or
  2. increase the distance between the labels on the left axis.

In a comment to the question, the OP confirmed that the number format should be changed.

To do this at runtime, you can do

MyChart.Axes.Left.AxisValuesFormat := '0.0000';

It is also possible to do this at design-time.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...