Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
UltraChart as Sparkline
posted

How do I make the line in my line chart take use the entire chart area for plotting purposes?  I have already set the Extent of the X and Y axes to be 0.  I have no Title.  But there is still whitespace.

I have attached a picture of 4 charts (with sample data).  The whitespace I want to eliminate is that between the dark X and Y axes and the border of the chart control.  How do I do this? 

Thank you. 

Parents
No Data
Reply
  • 4618
    posted

    Hi Robert,

    Setting the Extent properties for both the X and Y axis to the minimum value of zero, will minimize the amount of whitespace present on the line chart.

    After viewing your screenshots; however, the charts do not appear to demonstrating this behavior. How are you implementing these charts? As they appear to be displayed within the context of an UltraTilePanel.

    Testing this scenario with the extent set to zero for both axes, I have observed the expected behavior; which I have included a screenshot of below for reference.

    Note: I have attached this sample for reference.

     

    It may be possible that there is some other code in your sample that is overriding this setting’s expected behavior. If possible, please provide a sample where this anomaly is produced or further context so that I may guide you further.

    If you have any further questions in the meantime, please let me know.

    Sincerely,
    Chris K
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com/support

    RemoveWhiteSpaceFromUltraChart101081.zip
Children