Ad Widget

Collapse

Stupid question - how to increase default height of graph?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skygge
    Member
    • Jun 2009
    • 46

    #1

    Stupid question - how to increase default height of graph?

    The height of default graph in Zabbix is 200px. How can I increase this value? Thanks! :*
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    I am guessing it is this value in graphs.php code (last line below)

    Code:
     else {
                    $data['name'] = get_request('name', '');
                    $data['graphtype'] = get_request('graphtype', GRAPH_TYPE_NORMAL);
    
                    if ($data['graphtype'] == GRAPH_TYPE_PIE || $data['graphtype'] == GRAPH_TYPE_EXPLODED) {
                            $data['width'] = get_request('width', 400);
                            $data['height'] = get_request('height', 300);
                    }
                    else {
                            $data['width'] = get_request('width', 900);
                            $data['height'] = get_request('height', [B]200[/B]);

    Comment

    Working...