Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello everyone,

I am getting issue while working with highcharts 3.0.10 .

Bar chart series coming in black color on IE8 (works well on all other browsers) when I gave it 'transparent' (because I want to show a background image rather then the series color)

series: [{
color: 'transparent',
data: '',
pointWidth : 70}]

I have searched but didn't get the solution for this .Please provide me any suitable solution.

Thanks
Posted
Updated 26-Sep-17 4:12am

1 solution

If anyone is still having an issue with this, I was able to solve the problem by specifying all colors of the chart using aRGB values.

For example, this code:
C#
chart.SetSeries(new[]
    {
        new Series {
            Name = "Average",
            Data = GetAverageData(),
            Color = Color.Crimson
        },
        new Series {
            Name = "Order",
            Data = GetOrderData(),
            Color = Color.RoyalBlue
        }

    });

was converted to:
C#
chart.SetSeries(new[]
    {
        new Series {
            Name = "Average",
            Data = GetAverageData(),
            Color = Color.FromArgb(255, 220, 20, 60)
        },
        new Series {
            Name = "Order",
            Data = GetOrderData(),
            Color = Color.FromArgb(255, 65, 105, 225)
        }

    });
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900