Irregular Ticks Spacing in a Histogram

Hello All,

I have a canvas on which I draw a histogram. Is there a way to set an irregular grid?

For now I have:

which generates 4 uniformly spaced tick marks, but what I would like to have is the ticks at 4 different points (viz 12,20,28,26,).



The best is to draw TLines at the right positions.