Changeset 9644 for branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/App_Code/ChartHelper.cshtml
- Timestamp:
- 06/19/13 12:50:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/App_Code/ChartHelper.cshtml
r9643 r9644 53 53 xaxis: { 54 54 renderer: $.jqplot.DateAxisRenderer, 55 pad: 0 55 56 }, 56 57 yaxis: { … … 70 71 }, 71 72 }, 73 gridPadding: { left: 50, right: 10 }, 72 74 cursor: { 73 75 show: true, 74 76 showTooltip: false, 75 77 zoom: true, 76 looseZoom: true,77 78 clickReset: false, 78 79 dblClickReset: false, … … 81 82 }); 82 83 83 @(destinationTag)Plot.replot( {resetAxes:true});84 @(destinationTag)Plot.replot({ resetAxes: true }); 84 85 85 86 $('#@destinationTag').contextmenu(function() { 86 87 @(destinationTag)Plot.resetZoom(); 87 @(destinationTag)Plot.replot( {resetAxes: true});88 @(destinationTag)Plot.replot({ resetAxes: true }); 88 89 return false; 89 90 }); 90 91 91 92 $(window).resize(function() { 92 @(destinationTag)Plot.replot( {resetAxes: true});93 @(destinationTag)Plot.replot({ resetAxes: true }); 93 94 }); 94 95 </script> … … 100 101 @: @(destinationTag)Plot.series[i].data = result[i]; 101 102 @: } 102 @: @(destinationTag)Plot.replot( {resetAxes: true})103 @: @(destinationTag)Plot.replot({ resetAxes: true }) 103 104 @:}}); 104 105 }
Note: See TracChangeset
for help on using the changeset viewer.