JS API line chart example.