Fix ticks when multiple xs
Fix rotated when multiple xs
Fix show/hide API and refactor target ids
Add APIs to show/hide legends - #118
Refactor legend show/hide
Add type and types param to load API
Fix bug for xy and timeseries load