Hi,
I am not using any skin for the chart control. I want to assign the colors of the chart bars dynamically based on some condition. I am doing it as follows in the code behind. But I want to read these color codes from the CSS class instead of harcoding it. But I dont see any property that can be used to assing the CSSClass for the bars. How can I do it?
I am not using any skin for the chart control. I want to assign the colors of the chart bars dynamically based on some condition. I am doing it as follows in the code behind. But I want to read these color codes from the CSS class instead of harcoding it. But I dont see any property that can be used to assing the CSSClass for the bars. How can I do it?
e.SeriesItem.Appearance.FillStyle.MainColor = System.Drawing.
ColorTranslator.FromHtml("#4e6a99");