10488 : how do I set the scaler so that it shows only the days ma/tue/ etc… and that it does not scale otherwise (no hours / minutes /weeks) or months ???

Question

how do I set the scaler so that it shows only the days ma/tue/ etc… and that it does not scale otherwise (no hours / minutes /weeks or months) ???

Answer

phGant VCL version

First you need to find a Scale that you like presentation wise. Once you have it (Check the phGantt.Scale property in runtime when you have the Gantt set the way you want).

Use the decided scale value in the DateScaler.OnLimitScaling event. Simply return false when the Scale value differs from your constant.

 

Leave a Reply