Recent

Author Topic: TAChart: Minor axis tics  (Read 4751 times)

wp

  • Hero Member
  • *****
  • Posts: 13431
TAChart: Minor axis tics
« on: May 21, 2011, 08:32:13 pm »
What is the best way to create minor tics at the axes? With that I mean intermediate axis markers between the labelled ones. Delphi's TeeChart does this automatically. I know there is a demo how to do this with TAChart, but this is quite complicated. Isn't there an easier way?

Werner

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: TAChart: Minor axis tics
« Reply #1 on: May 22, 2011, 06:30:57 am »
At the moment, the only method is shown in axisdemo/Submarks.
Do you have any suggestions for a simpler interface?


wp

  • Hero Member
  • *****
  • Posts: 13431
Re: TAChart: Minor axis tics
« Reply #2 on: May 22, 2011, 05:31:08 pm »
I think easier creation of minor ticks requires a second built-in set of marks ("MinorMarks"). The Distance parameter should be calculated from that of the major marks: e.g. if major tick distance 0.05, then minor tick distance 0.01, etc. The minor marks should be drawn a few pixels smaller than the major marks, and labelling should be off by default.

 

TinyPortal © 2005-2018