Welcome to the Xceed Community | Help
Community Search  
More Search Options

fill area limits for Area charts and Bar charts

Sort Posts: Previous Next
  •  05-19-2011, 8:57 AM Post no. 30360

    fill area limits for Area charts and Bar charts

    Is there a way to limit the fill area for Area charts and Bar charts to the lower limit of the chart?

    If my lower range is positive 50, I don't want the fill covering the area below the chart.

     

    tks

    Filed under:
  •  05-19-2011, 3:48 PM Post no. 30366 in reply to 30360

    Re: fill area limits for Area charts and Bar charts

    Hi James, 

    If I have understood you correctly, you can achieve this by setting the "UseOrigin" property to false.  

    By doing that, the area will begin at the minimum area value instead of the specified origin value. 

    If this is not what you are looking for, can you give us more details on what you are trying to achieve? maybe an application or a screenshot that demonstrate your problem.  


    Best Regards,

    Michel Dahdah
    Technical Support
    Xceed Software inc.
  •  05-20-2011, 10:21 AM Post no. 30372 in reply to 30366

    Re: fill area limits for Area charts and Bar charts

    Almost there!

    I am setting the UseOrigin value and it eventually gets there.

    I collect live data at 10 times per second. I manually set the origin to the lower chart limit, but the fill area stays below the chart until all data less than my lower limit has cleared the queue. Then my origin appears to be the lower chart limit.

    It seems like if I manually set the origin, the fill area should start where I tell it to. Or am I not setting to correct property?

    How do I start the fill area at my lower chart limit regardless of any data point in the queue?

     

    tks.

  •  05-20-2011, 10:40 AM Post no. 30373 in reply to 30372

    Re: fill area limits for Area charts and Bar charts

    Hi James, 

     

    Can you send us a sample application that reproduces the problem so that we investigate this in more detail?

    You can send it to support@xceed.com ,  please include a reference to this forum post in your email.  


    Best Regards,

    Michel Dahdah
    Technical Support
    Xceed Software inc.
  •  05-20-2011, 10:46 AM Post no. 30374 in reply to 30373

    Re: fill area limits for Area charts and Bar charts

    Found it...

    I need to leave the UseOrigin set to true. Just set the origin to the value of my lower chart limit.

    Now all my data below the chart gets the fill.

    I just need to "correct" all my data points in the queue so nothing is less than my lower limit.

     

    tks.

  •  05-20-2011, 11:39 AM Post no. 30375 in reply to 30374

    Re: fill area limits for Area charts and Bar charts

    Now I need to to something similar to a bar chart with multiple bars.

    I only want the fill effect to draw from the lowest data point to the highest data point, not all the way down to the chart lower limit.

    ??

  •  05-20-2011, 2:36 PM Post no. 30377 in reply to 30375

    Re: fill area limits for Area charts and Bar charts

    Hi James, 

    It would be the same for the Bar chart.

    You only need to set UseOrigin to false for it to only draw the lowest to highest data points.

    You can see it in action by checking the chart sample application; Check the Standard 2D Bar sample under  All Examples / Chart Types / Bar in the treeview. uncheck "Use Origin"  


    Best Regards,

    Michel Dahdah
    Technical Support
    Xceed Software inc.
  •  05-20-2011, 2:36 PM Post no. 30378 in reply to 30375

    Re: fill area limits for Area charts and Bar charts

    Hi James, 

    It would be the same for the Bar chart.

    You only need to set UseOrigin to false for it to only draw the lowest to highest data points.

    You can see it in action by checking the chart sample application; Check the Standard 2D Bar sample under  All Examples / Chart Types / Bar in the treeview. uncheck "Use Origin"  


    Best Regards,

    Michel Dahdah
    Technical Support
    Xceed Software inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.