Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

webgauge background

Last post 05-20-2008 16:37 by [Infragistics] David Negley. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-16-2008 8:50

    • cgoodman
    • Top 200 Contributor
    • Joined on 05-06-2008
    • Points 335

    webgauge background

    I am still fairly new at Infragistics gauges, but... I have five "custom" gauges on a web page... three radial gauges and two linear gauges.  Everything works fine on the computer in which I am developing, but when I publish the page and view from different computers, I have a problem.  This web page has a graident fill on it, so there is not a consistent background.  These gauges have a backcolor of transparent, but I still see the box that would be the gauges background.  I am using version 8.1.  How do I correct this?

     Actually it is this way with the two charts I have on the page too, so I am sure that I am not setting some kind of property correctly.  I just don't know which one.

    • Post Points: 5
  • 05-19-2008 10:23 In reply to

    • cgoodman
    • Top 200 Contributor
    • Joined on 05-06-2008
    • Points 335

    Re: webgauge background

    This seems to happen on IE 6 but not IE 7.  Does this have anything to do with IE 6 not supporting PNG transparency?  If so, I will need a fix as many of our customers will be on IE 6.

    • Post Points: 20
  • 05-20-2008 16:37 In reply to

    Re: webgauge background

    yes, this is because of IE6's lack of support for PNG transparency.  the simplest way to avoid this is to set a BrushElement for your root gauge, e.g. ultraGauge1.Gauges[0].BrushElement = new SolidFillBrushElement(Color.White);

    that way the image will be generated with a white background. 

    to actually get partially transparent images in IE6 is a little tricker...tony lombardo describes one method on his blog: 

    http://blogs.infragistics.com/blogs/tony_lombardo/archive/2007/07/19/browser-compatibility-tips-ie-vs-ie.aspx

     

    • Post Points: 5
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems