Adjusting payment graph

This commit is contained in:
2014-04-10 21:05:14 -07:00
parent d4286e4ddf
commit b3279299cf
2 changed files with 26 additions and 19 deletions

View File

@@ -6,8 +6,8 @@ $(function() {
$( "#graph" ).dialog({
autoOpen: false,
height: 325,
width: 525,
height: 480,
width: 640,
modal: true,
});
$( "#graph-button" ).click(function() {
@@ -16,12 +16,22 @@ $(function() {
$('#graph').highcharts({
chart: {
type: 'area'
type: 'area',
zoomType : 'x',
resetZoomButton : {
position: {
align: 'left'
}
},
},
title: {
style : { fontSize: '10px' },
style : { fontSize: '12px' },
text: "Numbers for Most Recent Month Greater Than They Appear"
},
subtitle: {
style : { fontSize: '10px' },
text: "Click and Drag to Zoom."
},
xAxis: {
type: 'datetime'
},
@@ -96,7 +106,7 @@ $(function() {
});
</script>
<div id="graph" title="Payments by Month" style="height: 250px; width: 500px; float: right;"></div>
<div id="graph" title="Payments by Month" style="height: 400px; width: 600px; float: right;"></div>
<h1>Listing payments <button id="graph-button" class="btn">View Graph</button></h1>