Rcharts nvd3 2-D zoom possible? Rcharts nvd3 2-D zoom possible? r r

Rcharts nvd3 2-D zoom possible?


You could use Highcharts with the zoomType option.

For example:

require(rCharts)names(iris) = gsub("\\.", "", names(iris))g<-hPlot(SepalLength ~ SepalWidth, data = iris, color = 'Species', type = 'line')g$chart(zoomType = 'xy')g

You can then drag and hold on the plot to zoom in an area.