Results 1 to 5 of 5

Thread: Problem of chart display

  1. #1
    vfact is offline Member
    Join Date
    Oct 2010
    Posts
    15

    Default Problem of chart display

    Problem at sugarChart "xmlDataGenericChart "
    When i create a custom chart.
    I found that the diagram of chart have a display mistake.

    You can notice that the height of all charts are little difference but all of them should be 294
    Is it a bug or my configuration mistake?

    my chart xml file
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <sugarcharts version="1.0">
    	<properties>
    		<title>Customer Coverage Report</title>
    		<subtitle>Customer size in 1</subtitle>
    		<type>stacked group by chart</type>
    		<legend>on</legend>
    		<labels>value</labels>
    	</properties>
    	<data>
    		<group>
    			<title>2010-07</title>
    			<value>0</value>
    			<label>0</label>
    			<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2010-07</link>
    			<subgroups>
    				<group>
    					<title>Covered</title>
    					<value>0</value>
    					<label>0</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2010-07&coverage_advanced=Covered</link>
    				</group>
    				<group>
    					<title>UnCovered</title>
    					<value>0</value>
    					<label>0</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2010-07&coverage_advanced=UnCovered</link>
    				</group>
    			</subgroups>
    		</group>
    		<group>
    			<title>2010-11</title>
    			<value>294</value>
    			<label>294</label>
    			<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2010-11</link>
    			<subgroups>
    				<group>
    					<title>Covered</title>
    					<value>0</value>
    					<label>0</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2010-11&coverage_advanced=Covered</link>
    				</group>
    				<group>
    					<title>UnCovered</title>
    					<value>294</value>
    					<label>294</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2010-11&coverage_advanced=UnCovered</link>
    				</group>
    			</subgroups>
    		</group>
    		<group>
    			<title>2011-04</title>
    			<value>294</value>
    			<label>294</label>
    			<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-04</link>
    			<subgroups>
    				<group>
    					<title>Covered</title>
    					<value>1</value>
    					<label>1</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-04&coverage_advanced=Covered</link>
    				</group>
    				<group>
    					<title>UnCovered</title>
    					<value>293</value>
    					<label>293</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-04&coverage_advanced=UnCovered</link>
    				</group>
    			</subgroups>
    		</group>
    		<group>
    			<title>2011-06</title>
    			<value>294</value>
    			<label>294</label>
    			<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-06</link>
    			<subgroups>
    				<group>
    					<title>Covered</title>
    					<value>2</value>
    					<label>2</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-06&coverage_advanced=Covered</link>
    				</group>
    				<group>
    					<title>UnCovered</title>
    					<value>292</value>
    					<label>292</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-06&coverage_advanced=UnCovered</link>
    				</group>
    			</subgroups>
    		</group>
    		<group>
    			<title>2011-07</title>
    			<value>294</value>
    			<label>294</label>
    			<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-07</link>
    			<subgroups>
    				<group>
    					<title>Covered</title>
    					<value>3</value>
    					<label>3</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-07&coverage_advanced=Covered</link>
    				</group>
    				<group>
    					<title>UnCovered</title>
    					<value>291</value>
    					<label>291</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-07&coverage_advanced=UnCovered</link>
    				</group>
    			</subgroups>
    		</group>
    		<group>
    			<title>2011-10</title>
    			<value>298</value>
    			<label>298</label>
    			<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-10</link>
    			<subgroups>
    				<group>
    					<title>Covered</title>
    					<value>4</value>
    					<label>4</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-10&coverage_advanced=Covered</link>
    				</group>
    				<group>
    					<title>UnCovered</title>
    					<value>294</value>
    					<label>294</label>
    					<link>index.php?module=Accounts&action=index&query=true&searchFormTab=advanced_search&month_advanced=2011-10&coverage_advanced=UnCovered</link>
    				</group>
    			</subgroups>
    		</group>
    	</data>
    	<yAxis>
    		<yMin>0</yMin>
    		<yMax>348</yMax>
    		<yStep>50</yStep>
    		<yLog>1</yLog>
    	</yAxis>
    </sugarcharts>
    is it a bug or my configuration problem?

  2. #2
    vfact is offline Member
    Join Date
    Oct 2010
    Posts
    15

    Default Re: Problem of chart display

    My Sugar Version is 6.0.1

  3. #3
    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: Problem of chart display

    Can you provide us the zipped chart you created?

    Regards
    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.

  4. #4
    vfact is offline Member
    Join Date
    Oct 2010
    Posts
    15

    Default Re: Problem of chart display

    This is my custom folder

    Moreover, i found that if i have more than one charts at Home Module. When I refresh it, a Warning Message will be shown: Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\SugarCE_vser\custom\include\SugarC harts\CustomSugarChart.php on line 103. I do not have any idea to fix it. Can you help me? Thank you very much
    Attached Files Attached Files

  5. #5
    vfact is offline Member
    Join Date
    Oct 2010
    Posts
    15

    Default Re: Problem of chart display

    Please help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Chart dashlet long bar can not display
    By PanJun in forum Help
    Replies: 3
    Last Post: 2011-03-08, 05:53 AM
  2. Problem in creating Stacked Bar chart in iReport
    By authenticjay in forum Help
    Replies: 0
    Last Post: 2008-12-02, 07:56 AM
  3. Display longer endlabel in a Dashboard chart
    By lindsay_wangph in forum Developer Help
    Replies: 0
    Last Post: 2006-03-20, 01:54 AM
  4. Chart character problem
    By marvel in forum Help
    Replies: 3
    Last Post: 2005-03-25, 05:00 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
  •