Highcharts Demo

author(s): Torstein Hønsi

by ninachroscicka

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>

<div id="container" style="min-width: 310px; height: 400px; max-width: 800px; margin: 0 auto"></div>

JavaScript

Highcharts.chart('container', {
    chart: {
        type: 'scatter',
        zoomType: 'xy'
    },
    title: {
        text: ''
    },
    xAxis: {

        title: {
            enabled: true,
            text: 'Dimension 1'
        },
        startOnTick: true,
        endOnTick: true,
        showLastLabel: true,
        lineColor:'transparent',
     		tickLength:0  
    },
    yAxis: {
    		gridLineColor:'transparent',
        title: {
            text: 'Dimension 2'
        }
    },
    
    legend:{enabled:false},
    
    plotOptions: {
				scatter: {
					dataLabels: {
						format: "{point.name}",
						enabled: true
												},
						enableMouseTracking: false 
							},
              
              series: {
              	marker: {
               
        					enabled: true
        					/*symbol: 'url(https://www.highcharts.com/samples/graphics/sun.png)'*/
                  	
                  }
                  }
						},
    series: [{
        name: ' ',
        color: '#fff',
        data: [{"name":"PUNKT 1","x":-0.628791523588,"y":-0.284106687926},
        			{"name":"PUNKT 2","x":-0.528706154977,"y":-0.0740270687865},
              {"name":" ","x":-0.610712111188,"y":-0.105495471716, marker: { symbol: 'url(https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/155/smiling-cat-face-with-open-mouth_1f63a.png)'}
             ]

    }, {
        name: ' ',
        color: '#fff',
        data: [{"name":" ","x":-0.610712111188,"y":-0.105495471716, marker: { symbol: 'url(https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/155/smiling-cat-face-with-open-mouth_1f63a.png)'}}]
    }]
});