I have a chart linked with the datasource method, with an MSAccess database I would like each row in the datagrid to be coloured the same as the chart series colours.
1) I take it the grid has to be bound to the same datasource as the chart (a datatable) how can you find the corresponding rows and then set the color?
2) How do you grab the chart palette colours and remove the A (Alpha) value from this value, as datagrids cannot be set to transparent
thanks in advance
You can call Chart.ApplyPaletteColors method and then retrieve colors from the Series.Color properties.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?