Results 1 to 3 of 3

Thread: Pipeline scale

  1. #1
    kz5042 is offline Junior Member
    Join Date
    Jul 2005
    Posts
    3

    Default Pipeline scale

    Can someone please tell me if it is possible to change the scale on the pipeline displayed on the dashboard? In our situation, the scale has expanded to such an extent that the bars only represent about 10% of the screen.

    We are running version 4.2.1.b

    cheers

  2. #2
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Pipeline scale

    We did some fixes in 4.5 to address this issue. I'll ask Wayne to tell us which files he modified in 4.5 to fix this.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  3. #3
    WayneSugar's Avatar
    WayneSugar is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    155

    Default Re: Pipeline scale

    Quote Originally Posted by clint
    We did some fixes in 4.5 to address this issue. I'll ask Wayne to tell us which files he modified in 4.5 to fix this.
    in include/charts/Charts.php change the get_max function to the following.
    Code:
    function get_max($numbers) {
        $max = max($numbers);
        if ($max < 1) return $max;
        $base = pow(10, floor(log10($max)));
        return ceil($max/$base) * $base;
    }
    Wayne Pan
    Software Eng.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •