Hyperbola
Graphical data representation
by M Rahul Reddy
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function () {
$('#container').highcharts({
/* title: {
text: 'Monthly Average Temperature',
x: -20 //center
},
subtitle: {
text: 'Source: WorldClimate.com',
x: -20
}, */
xAxis: {
categories: ['0', '5', '10', '15', '20', '25',
'30', '35', '40', '45', '50']
},
yAxis: {
title: {
text: 'Intensity'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
tooltip: {
headerFormat: '<b>{series.name}</b><br/>',
pointFormat: 'X:{point.x}, Y:{point.y}'
},
/* legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
borderWidth: 0
}, */
series: [{
name: 'S_g 12',
data: [
[30.0,44.582312925170079],
[30.15,44.360510373303562],
[30.96153259277343, 43.197777233652644], [31.79907568681519,42.060008313689934], [32.68242879588329,40.923194420714879], [33.436734693877561,40.0]
]},
{
name: 'S_g 13',
data: [
[31.092244897959187,50.0],
[31.242244897959186,49.759940426032259], [31.992058775510205,48.593691822297124],
[32.7635723706215,47.449412027241316], [33.572654483347613,46.305907853341274],
[34.421710007089146,45.163713382565454], [35.313735537380666,44.022877252743619],
...