Chart line colors

  • Thread starter Thread starter Pieter
  • Start date Start date
P

Pieter

Hi

I create a few charts in code from VB.NET using the excel interops, office
2003. In my software I need to be able to set the color of the lines i.e.
the color of each series on the chart. There may be up to 9 series per
chart. How do I asign a color to the series lines on the chart?

Thanks
Pieter
 
Get out your version of Excel, make a chart like the one your code will
produce, then record a VBA macro while you change the series formats
manually. Then all that's left is to translate the VBA into VB.Net.

- Jon
 
Back
Top