Page 1 of 1
Change background color of MarkText?
Posted: Sat Aug 17, 2013 6:43 pm
by 16666763
How can I change the background color of the MarkText box? The only way I've found, so far, is to use Gradient, but I want a solid color. I suppose I could probably set all the parts of the gradient to the same color, but it seems there should be a way to just set the background color.
How can I do that?
Re: Change background color of MarkText?
Posted: Sat Aug 17, 2013 6:57 pm
by 16666763
I found how to do it via Settings in Edit Chart:
Select Series
Marks
Format
Color
Note: Gradient settings appear to override Format Color.
Re: Change background color of MarkText?
Posted: Mon Aug 19, 2013 11:03 am
by 10050769
Hello kaprice,
If you want change by code the color of MarkText background you only need do something as next lines of code
To a concrete mark:
Code: Select all
TChart1.Series(SeriesIndex).Marks.Item(ValueIndex).Color = vbRed
To all marks:
Code: Select all
TChart1.Series(0).Marks.Color = vbRed
Could you confirm us if previous suggestions work in your end?