Revision 61 module/Aktien/views/Info/header.php

header.php (revision 61)
7 7
$chart = "<script type=\"text/javascript\">
8 8
function renderchart()
9 9
{
10
    jQuery.get('/Aktien/Chart?firma=".$this->firma->fid."', function(strdata, textStatus)
10
    jQuery.get('/Aktien/Chart?firma=" . $this->firma->fid . "', function(strdata, textStatus)
11 11
        {
12 12
            var splitdata = strdata.split(\"|\");
13 13

  
......
20 20
            }
21 21
            $.plot($('#chart'),
22 22
            [{ 
23
            label: '".$this->firma->name."',
23
            label: '" . $this->firma->name . "',
24 24
            data: d2, 
25 25
            lines: { show: true, lineWidth: 2.5, fill: 0.4, fillColor: { colors: [ { opacity: 0.8 }, { opacity: 0.1 } ] }, shadowSize: 0 },
26
            color: '#".$chartColor."'
26
            color: '#" . Config::get('chartcolor1') . "'
27 27
            }],
28 28
         { xaxis: { mode: 'time' },
29 29
             yaxis: { min: 0, autoscaleMargin:1 },
30 30
             grid: { 
31 31
             borderWidth: 2, 
32
             borderColor: '#".$chartColors."',
33
             color: '#".$chartColors."',
34
             backgroundColor: { colors: ['#".$chartSecondColors."', '#".$chartColors."']  }
32
             borderColor: '#" . Config::get('chartcolor2') . "',
33
             color: '#" . Config::get('chartcolor2') . "',
34
             backgroundColor: { colors: ['#" . Config::get('chartcolor3') . "', '#" . Config::get('chartcolor2') . "']  }
35 35
        },
36 36
            legend: { show: false, position: 'ne' } });
37 37
        var now = new Date();

Also available in: Unified diff