Remove useless variable
Fix category axis tick when load API called - #756