Number of axis marks for TAChart lazarus / 55-TAChart ---------------------------------------------------------------------- dkjMusic · 2011-04-30 23:23 For the axis demo/logarithmic-transform page, is there a way to obtain more than 5 marks/horizontal-grid-lines for the left axis? ---------------------------------------------------------------------- Ask · 2011-05-02 09:26 Right now the only thing you can do is to supply your own Source for marks. I do plan to add more options to the default marks source -- you can create a feature request on Mantis to prod me ;-) In particular, I what to know how would you like to set the number of marks -- by stating fixed number, minimum/maximum distance between marks, some other means? ---------------------------------------------------------------------- dkjMusic · 2011-05-02 12:01 Quote from: Ask on May 02, 2011, 11:26:51 amRight now the only thing you can do is to supply your own Source for marks. I do plan to add more options to the default marks source -- you can create a feature request on Mantis to prod me ;-) In particular, I what to know how would you like to set the number of marks -- by stating fixed number, minimum/maximum distance between marks, some other means? For this example, could you detail the Source strings for marks at 1,10,100, and 1000? In general, I find the marks for linear plots to work just fine for me. However, for log plots I would like to have marks at each power of 10 starting just below the minY and continuing to just above maxY. For example, if minY=4.1 and maxY=41000, I would like marks at 1,10,100,1000,10000, and 100000. Many thanks for your help. ---------------------------------------------------------------------- Ask · 2011-05-02 15:07 Just add ListChartSource and enter Code: [Select]1|0.1 2|1 3|10 4|100 5|1000 6|10000 into DataPoints property, then assign it to LeftAxis.Marks.Source