OK, complicated question. I'm trying to create a contour plot (one of the 2D surface charts) that shows a gradient of colors in the plot. As in, I want 100 different colors used in the plot area. BUT...
I only want 10 basic colors shown in the legend as a reference.
I got the 10 colors in the legend by adjusting the MaximumScale to 1 and the MajorUnit to 0.1. And the plot will differentiate between measurements (z-values) whose values change by only 0.01. The problem is the colors being assigned to the series.
How do I assign a gradient of color to values from 0.01 to 1.00 using VBA? Right now I'm assigning color to one series with the following code:
ActiveChart.SeriesCollection(i).Interior
I'd prefer to just transition the color from solid brown to white. Or from 100% color A and 0% color B if z-value=0.01 and 0% color A and 100% color B if z-value=0.99.
ieJasonw
I only want 10 basic colors shown in the legend as a reference.
I got the 10 colors in the legend by adjusting the MaximumScale to 1 and the MajorUnit to 0.1. And the plot will differentiate between measurements (z-values) whose values change by only 0.01. The problem is the colors being assigned to the series.
How do I assign a gradient of color to values from 0.01 to 1.00 using VBA? Right now I'm assigning color to one series with the following code:
ActiveChart.SeriesCollection(i).Interior
I'd prefer to just transition the color from solid brown to white. Or from 100% color A and 0% color B if z-value=0.01 and 0% color A and 100% color B if z-value=0.99.
ieJasonw