Area series pattern color
Posted: Wed Apr 25, 2007 3:38 pm
It appears that for an Area series, the TChart dialog's Series->Format->Color button corresponds to the AreaColor property.
What does the Series->Format->Pattern->Color button correspond to? I've tried ISeries.Color, IAreaSeries.AreaPen.Color, but neither seems to do the same thing.
Also, it seems to act kinda wierd. If you take the All Features\Components\Chart Editor\Chart Editor Dialog example, do the following:
1.) change the series to a 2D area
2.) Click on the Series->Format->Pattern button to bring up the Pattern Color Editor dialog
3.) Click on the different patterns, you see the different patterns being drawn apparently using the same color (black), the "series color" looks like it is being used as the background, with the "pattern color" used to draw the pattern lines
4.) Click on the Color button in the Pattern Color Editor dialog, select black, and click ok
5.) Now the drawing appears to have "inverted" (i.e. the series color is now the one used to draw the pattern lines, while the "pattern color" is now the "background color")
I'm not sure if this is a bug in the chart dialog, the chart itself, or maybe it's not a bug and I just don't understand what is going on.
What does the Series->Format->Pattern->Color button correspond to? I've tried ISeries.Color, IAreaSeries.AreaPen.Color, but neither seems to do the same thing.
Also, it seems to act kinda wierd. If you take the All Features\Components\Chart Editor\Chart Editor Dialog example, do the following:
1.) change the series to a 2D area
2.) Click on the Series->Format->Pattern button to bring up the Pattern Color Editor dialog
3.) Click on the different patterns, you see the different patterns being drawn apparently using the same color (black), the "series color" looks like it is being used as the background, with the "pattern color" used to draw the pattern lines
4.) Click on the Color button in the Pattern Color Editor dialog, select black, and click ok
5.) Now the drawing appears to have "inverted" (i.e. the series color is now the one used to draw the pattern lines, while the "pattern color" is now the "background color")
I'm not sure if this is a bug in the chart dialog, the chart itself, or maybe it's not a bug and I just don't understand what is going on.