Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/13 12:50:42 (11 years ago)
Author:
pfleck
Message:

#2063:
Fixed timezone bug in chart data.
Fixed zooming bug in jqplot dateAxisRenderer.
Reformatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/App_Code/ChartHelper.cshtml

    r9643 r9644  
    5353                xaxis: {
    5454                    renderer: $.jqplot.DateAxisRenderer,
     55                    pad: 0
    5556                },
    5657                yaxis: {
     
    7071                },
    7172            },
     73            gridPadding: { left: 50, right: 10 },
    7274            cursor: {
    7375                show: true,
    7476                showTooltip: false,
    7577                zoom: true,
    76                 looseZoom: true,
    7778                clickReset: false,
    7879                dblClickReset: false,
     
    8182        });
    8283       
    83         @(destinationTag)Plot.replot( {resetAxes:true} );
     84        @(destinationTag)Plot.replot({ resetAxes: true });
    8485       
    8586        $('#@destinationTag').contextmenu(function() {
    8687            @(destinationTag)Plot.resetZoom();
    87             @(destinationTag)Plot.replot( {resetAxes: true} );
     88            @(destinationTag)Plot.replot({ resetAxes: true });
    8889            return false;
    8990        });
    9091       
    9192        $(window).resize(function() {
    92             @(destinationTag)Plot.replot( {resetAxes: true} );
     93            @(destinationTag)Plot.replot({ resetAxes: true });
    9394        });
    9495    </script>
     
    100101    @:        @(destinationTag)Plot.series[i].data = result[i];
    101102    @:    }
    102     @:    @(destinationTag)Plot.replot( {resetAxes: true} )
     103    @:    @(destinationTag)Plot.replot({ resetAxes: true })
    103104    @:}});
    104105}
Note: See TracChangeset for help on using the changeset viewer.