add scaletype customization