Image classification for charts