Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
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 ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Pieter" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Line chart colors | Charts and Charting in Excel | |||
Different colors on a single line chart | Charts and Charting in Excel | |||
How do I use VBA to change line colors | Charts and Charting in Excel | |||
chart data line in two colors | Excel Discussion (Misc queries) | |||
chart data line in two colors | Charts and Charting in Excel |