ramnathv / rMaps

Interactive Maps from R
http://rmaps.github.io
388 stars 194 forks source link

Passing data to Highcharts as an array of arrays #90

Closed ayakubovich closed 9 years ago

ayakubovich commented 9 years ago

Two-dimensional data can be passed to Highcharts plot in two ways:

  1. An array of arrays of (x,y) pairs, i.e. http://jsfiddle.net/5Lb14j4z/
  2. An array of objects with named values, i.e. http://jsfiddle.net/7pzhdf70/

Is it possible to use the first method with Highcharts? It doesn't seem to be an option with toJSONArray2.

ayakubovich commented 9 years ago

Sorry, wrong repo. Posted this in the rCharts repo where it should have been: https://github.com/ramnathv/rCharts/issues/583