Fix chart type

Fix #1