Profile Picture

Series FillColor does not match with Specified FillStyle Color??

Posted By Niranjan Singh 12 Years Ago

Series FillColor does not match with Specified FillStyle Color??

Author
Message
Niranjan Singh
questionmark Posted 12 Years Ago
View Quick Profile
Forum Member

Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 49, Visits: 179
I have created Series with following fill style as:

chartSeries.FillStyle = new NColorFillStyle(Color.Red);


But,
Color fillColor = (chart.Series[i] as NSeries).FillStyle.GetPrimaryColor().ToColor();


When i compare this with this fillColor == Color.Red. It returns false.

Why these doesn't match, even i have converted return NColor object to Color using it's method ToColor().


Any Help will be appreciated.

Thanks in Advance.





Similar Topics


Reading This Topic