.NET Framework Bookmark and Share   
 index > Chart Controls for .NET Framework > How Can I get a series's color
 

How Can I get a series's color

Iuse these code to add a series to chart control

var s=new series();
chart1.series.add(s);

whenI read thecolor property, itreturn 0 ,but the series color on the chart likes blue

启天
Call Chart.ApplyPaletteColors method first and then check Series.Color property.

Alex.
http://blogs.msdn.com/alexgor
Alex Gorev
how can I get the real color value
启天
Call Chart.ApplyPaletteColors method first and then check Series.Color property.

Alex.
http://blogs.msdn.com/alexgor
Alex Gorev
thank you very much
启天

You can use google to search for other answers

Custom Search

More Threads

• chart control will not dispay in a multiview view when not in opening view
• Multiple cursors
• how to calculate average value of rang data
• Data given to the MS Chart Control is (0,0), but still it do not plot it at proper location.
• DLLs and logo requirements
• Does the install touch the .Net framework?
• Pie Chart Control
• .Net chart change y-axis label from milliseconds to seconds
• How to drawing dynamic Electrocardiogram (ECG)in Chart Control?
• Bind chart series to object