basechart getOffset build