I am afraid this is an issue with the IE displaying images. You can save RadChart to an image and check the colors in an image viewer - they will be the correct ones. I went a step further and used Paint to create a simple image, showing just a solid color (175, 223, 229). The color for the .png image was still incorrect in IE - (167, 219, 226) - exactly as you noticed. This makes me believe, it is the IE that does not display .png files correctly and not RadChart rendering wrong colors.
Still, it seems the issue does not exist for .jpg files. You can set RadChart.ChartImageFormat
property to ImageFormat.Jpeg
. Note, that under the default settings jpeg compression will change (175, 223, 229) to (175, 222, 228). If this is not acceptable you can use RadChart.GetBitmap()
method to obtain the Bitmap
object, which you can then save to an image using different encoder parameters. You can then use this image instead of RadChart.
the Telerik team