Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Missing bar in the pipeline and opportunities charts

  1. #1
    dvlancer is offline Junior Member
    Join Date
    Oct 2010
    Location
    Australia, Adelaide
    Posts
    8

    Question Missing bar in the pipeline and opportunities charts

    I have a problem displaying "Pipeline by Sales Stage" and "All Opportunities by Lead Source by Outcome" charts in Sugar CRM CE Version 6.0.1 (Build 4143).

    Each chart has a bar missing; however the $ value displayed in the place of the bar is correct.
    Could you please suggest what the issue may be and point me in the right direction to resolve it?

    Thank you
    Attached Images Attached Images  
    Last edited by dvlancer; 2010-10-17 at 11:49 AM.

  2. #2
    dvlancer is offline Junior Member
    Join Date
    Oct 2010
    Location
    Australia, Adelaide
    Posts
    8

    Default Re: Missing bar in the pipeline and opportunities charts

    I found the cause of the issue, which was the XML data file used by those charts. Fixed SugarChart.php to generate correct data.

  3. #3
    matty102 is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    16

    Default Re: Missing bar in the pipeline and opportunities charts

    Hi,

    I have the same problem, would you be able to tell me exactly how you Fixed SugarChart.php?

    Many Thanks

    Matt

  4. #4
    dvlancer is offline Junior Member
    Join Date
    Oct 2010
    Location
    Australia, Adelaide
    Posts
    8

    Default Re: Missing bar in the pipeline and opportunities charts

    Hi Matt

    You need to make a one change in SugarChart.php (on line 534) in the function xmlDataGenericChart(). Change the following line:
    Code:
    $sub_amount = $this->formatNumber($this->convertCurrency($new_data[$groupByKey][$i]['total']));
    to
    Code:
    $sub_amount = $this->convertCurrency($new_data[$groupByKey][$i]['total']);
    It will remove the formatting of the sub_amount and solve the problem.

    Kind regards,

    Dmitri
    Last edited by dvlancer; 2010-12-26 at 12:56 AM.

  5. #5
    matty102 is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    16

    Thumbs up Re: Missing bar in the pipeline and opportunities charts

    Many Thanks Dmitri, that worked great!

  6. #6
    Donato is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    19

    Default Re: Missing bar in the pipeline and opportunities charts

    I have this same problem when I apply this change to the screen is white !!
    could someone help me please, I am suffering for months with these graphics.

    thanks

  7. #7
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Missing bar in the pipeline and opportunities charts

    Quote Originally Posted by Donato View Post
    I have this same problem when I apply this change to the screen is white !!
    could someone help me please, I am suffering for months with these graphics.

    thanks
    Which version are you using?
    Did you install any package?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  8. #8
    Donato is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    19

    Default Re: Missing bar in the pipeline and opportunities charts

    My values are in another format (point) for thousands and
    comma for decimal.

    This difference may be causing the error.

    Anyone have any solution for this?

  9. #9
    Donato is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    19

    Default Re: Missing bar in the pipeline and opportunities charts

    My Sugarversion is 6.03, I'm with the package of the Portuguese language.

    Also changed the SugarChart according to this link to correct the difference in data format.

    http://www.sugarcrm.com/crm/support/...b-4c444dfe175f

    Thanks,

    Daniel
    Last edited by Donato; 2010-12-13 at 02:32 PM.

  10. #10
    Donato is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    19

    Default Re: Missing bar in the pipeline and opportunities charts

    It appears that version 6 still a bug charts.

    As you insert opportunities with values in the millions, these opportunities not be displayed by the pipeline.

    We work on projects for oil companies usually register values of this size, but just does not work.
    I've been struggling with this problem for months.

    Today I did a test with a clean installation and the database demo of sugar, and the problem appeared.



    Simply changed the value of an opportunity to 10K 10000K bar and disappeared, just as in our setup.

    What is the solution to fix this?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Charts goes missing after upgrading to 5.0.0d from 4.5.0h
    By ketansoni in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-05-07, 01:29 PM
  2. Missing Dashboard charts
    By eggsurplus in forum Help
    Replies: 3
    Last Post: 2007-10-01, 05:34 PM
  3. Pipeline Charts for Multilanguage
    By hantuketawa in forum Developer Help
    Replies: 2
    Last Post: 2007-03-23, 10:19 AM
  4. Can we do custom pipeline charts for each group?
    By rsdata in forum General Discussion
    Replies: 2
    Last Post: 2006-09-25, 01:54 AM
  5. Balanced pipeline charts
    By beorchia in forum Help
    Replies: 0
    Last Post: 2006-01-13, 02:12 PM

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
  •