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
105
Chart Image Border showing in 8.1
posted

 

Hi I have recently upgraded from Infragistics 7.1 to 8.1.

I have noticed that the border on the image generated through 8.1 is visible even though its width is set to 0.

With Border

This Is not visible in version 7.1

I have the border set using :

this.mWebChart.Border.Thickness = 0; Without border

Can anyone help me to hide this in 8.1

Thanks

Kevin 

 

Parents
  • 28496
    Offline posted

    This sounds like a bug, but it didn't happen for me when I tested using version 8.1.20081.1000.

         protected void Page_Load(object sender, EventArgs e)
        {
            UltraChart ch = new UltraChart();
            ch.Data.DataSource = Infragistics.UltraChart.Data.DemoTable.Table();
            ch.Data.DataBind();
            ch.Border.Thickness = 0;
            ch.SaveTo(@"C:\test.png", ImageFormat.Png);
        }

    just make sure you view the image in pbrush or something similar, because many image viewers add a 1px black border to all images.

Reply Children
No Data