delphiteechart

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


Solution

  • 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.