cancel
Showing results for 
Search instead for 
Did you mean: 

Scatter Plot Jitter

mgkirsch
8 - Cloud Apps
8 - Cloud Apps

Has anyone been able to get jitter to work on a scatter plot? - https://www.highcharts.com/demo/scatter-jitter

This doesn't work.

 

widget.on('beforeviewloaded', function(widget,element,options){
  
  var chartOptions = element.options;
	chartOptions.chart.type = 'scatter';
	
	delete chartOptions.plotOptions.bubble;
	
	chartOptions.plotOptions.scatter = 
		{    
			showInLegend: false,
			jitter: {
				x: 0.24,
				y: 0
			},
			marker: {
				radius: 2,
				symbol: 'circle'
			},
			tooltip: {
				pointFormat: 'Measurement: {point.y:.3f}'
			}
		}
	
})

 

 

0 REPLIES 0