Sha256: aa7722408d1fc3445932d6b1bc564e57374d9888d8b913a54090cc8fd61bcfed

Contents?: true

Size: 664 Bytes

Versions: 15

Compression:

Stored size: 664 Bytes

Contents

createGraphElement("div");

if(document.getElementById('graph')) {
  var chart = new Highcharts.Chart({
    chart: {
      animation: false,
      renderTo: 'graph'
    },
    legend: {
      align: 'center',
      verticalAlign: 'top',
      y: 25
    },
    plotOptions: {
      line: {
        animation: false,
        lineWidth: 3,
        marker: {
          radius: 6
        },
        pointPlacement: 'on'
      }
    },
    title: {
      text: graph_title
    },
    xAxis: {
      categories: graph_labels,
      tickmarkPlacement: 'on'
    },
    yAxis: {
      maxPadding: 0,
      min: 0,
      minPadding: 0
    },
    series: graph_series
  });
}

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
metric_fu-4.13.0 lib/metric_fu/templates/javascripts/highcharts_graph.js
fastruby-metric_fu-5.0.0 lib/metric_fu/templates/javascripts/highcharts_graph.js
code_metric_fu-4.14.4 lib/metric_fu/templates/javascripts/highcharts_graph.js
code_metric_fu-4.14.3 lib/metric_fu/templates/javascripts/highcharts_graph.js
code_metric_fu-4.14.2 lib/metric_fu/templates/javascripts/highcharts_graph.js
code_metric_fu-4.14.1 lib/metric_fu/templates/javascripts/highcharts_graph.js
code_metric_fu-4.14.0 lib/metric_fu/templates/javascripts/highcharts_graph.js
metric_fu-4.12.0 lib/metric_fu/templates/javascripts/highcharts_graph.js
metric_fu-4.11.4 lib/metric_fu/templates/javascripts/highcharts_graph.js
metric_fu-4.11.3 lib/metric_fu/templates/javascripts/highcharts_graph.js
metric_fu-4.11.2 lib/metric_fu/templates/javascripts/highcharts_graph.js
metric_fu-4.11.1 lib/metric_fu/templates/javascripts/highcharts_graph.js
metric_fu-4.11.0 lib/metric_fu/templates/javascripts/highcharts_graph.js
metric_fu-4.10.0 lib/metric_fu/reporting/templates/javascripts/highcharts_graph.js
metric_fu-4.9.0 lib/metric_fu/reporting/templates/javascripts/highcharts_graph.js