$(document).ready(function() { chart = new Highcharts.Chart({ chart: { renderTo: 'container', defaultSeriesType: 'line', marginRight: 50, marginBottom: 75 }, title: { text: '', x: -20 //center }, subtitle: { text: '', x: -20 }, xAxis: { tickInterval: 5, min: 1, categories: [] }, yAxis: { title: { text: 'Interest Rate (%)' }, min: 0, plotLines: [{ value: 0, width: 1, color: '#808080' }] }, tooltip: { formatter: function() { return ''+ this.series.name +'
'+ this.x +'Y: ' + this.y + '%'; } }, series: [ //{name:'Horizon', data: [0,0.083333333,0.25,0.5,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,25,30]}, {name:'UST', data: [0,0.03,0.07,0.12,0.155,0.303,0.445,0.677,0.909,1.186,1.464,1.662,1.861,2.059,2.135,2.211,2.287,2.363,2.439,2.515,2.591,2.667,2.743,2.819,3.012,3.206]}, {name:'Libor Swap', data: [0,0.246,0.493,0.752,0.532,0.6,0.739,0.956,1.186,1.448,1.673,1.856,2.014,2.144,2.256,2.366,2.442,2.515,2.576,2.627,2.664,2.698,2.724,2.742,2.826,2.876]}, {name:'AAA BQ Muni', data: [0,0.53,0.53,0.54,0.59,0.69,0.73,0.85,0.93,1.115,1.3,1.425,1.55,1.69,1.77,1.85,1.915,1.98,2.22,2.56,2.9,3.075,3.25,3.36,3.68,3.83]}, ] }); });