Xaxis scrollbar + Log scale
by amrutaJgtp
HTML
<script src="https://code.highcharts.com/stock/highstock.src.js"></script>
<div id="container"></div>
JavaScript
Highcharts.chart('container', {
"chart": {
"backgroundColor": "rgba(255,255,255,0)",
"plotBackgroundColor": "rgba(255,255,255,0)",
"zoomType": "xy",
"alignTicks": true
},
"tooltip": {
"enabled": true,
"shared": false,
"borderWidth": 1,
"borderRadius": 1,
"backgroundColor": "#ffffff",
"style": {
"color": "#000000",
"fontSize": "1rem",
"fontFamily": "Lucida Sans Unicode,Verdana,Helvetica,Arial",
"fontWeight": "normal",
"fontStyle": "normal",
"textDecoration": "none"
},
"crosshairs": [false, false]
},
"plotOptions": {
"series": {
"animation": {
"duration": 700
},
"cursor": "pointer",
"allowPointSelect": true,
"showInLegend": true,
"turboThreshold": 0,
"stickyTracking": false,
"events": {},
"point": {
"events": {}
},
"pointPadding": 0.1,
"getExtremesFromAll": true
}
},
"xAxis": {
"title": {
"text": "Dept No Dim",
"margin": 5
},
"opposite": false,
"axisInternalName": "0",
"lineWidth": 1,
"lineColor": "rgba(174,174,174,1)",
"tickInterval": 1,
"tickmarkPlacement": "on",
"type": "logarithmic",
"gridLineWidth": 0,
"gridLineColor": "#C0C0C0",
"plotLines": [],
"plotBands": [],
"max": 37,
"scrollbar": {
"enabled": true,
"eQScrolltype": "auto",
"eQScrollStep": 0.07584830339321358
}
},
"yAxis": [{
"title": {
"text": "Salary",
"margin": 5
},
"opposite": false,
"axisInternalName": "0",
"lineWidth": 0,
"lineColor": "rgba(174,174,174,1)",
"allowDecimals": false,
"reversed": false,
"gridLineWidth": 0,
"gridLineColor": "#C0C0C0",
"maxPadding": 0.05,
"minPadding": 0,
"plotLines": [],
"plotBands": []
}],
"boost": {
"enabled": false
},
"series": [{
"zIndex": 1,
"internalName":...