Hello,
I have a line series.
If you edit the series in the editor, select the "Marks" tab, then select "Format" there are options for "Colour", "Transparency", "Pattern" and "Transparent".
How do I access these in code? I cannot find the settings. I know it must be part of the "Marks" class, I just cannot figure out which settings.
Thanks in advance,
Tony.
Series Format->Marks->Format question.
Re: Series Format->Marks->Format question.
Hello Tony,
If you want change Format of Marks to running time you need do next:
Transaprent property:
Percentage of transparency
Change Color of Marks:
Change pattern of marks using brush propriety: In this one you are need assign for each mark its brush style, because at the moment isn't possible assign for all marks their style at once. I have added it in wish-list with number (TA05015209) to be considered as an enhancement for future releases.
I hope will helps.
Thanks,
If you want change Format of Marks to running time you need do next:
Transaprent property:
Code: Select all
TCahrt1.Series(0).Marks.Transparent = True
Code: Select all
TChart1.Series(0).Marks.Transparency = 50
Code: Select all
TChart1.Series(0).Color = vbBlack
Code: Select all
Dim i As Integer
For i = 0 To TChart1.Series(0).Count
TCahrt1.Series(0).Marks.Item(i).Brush.Style = bsCross
Next
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Series Format->Marks->Format question.
Sorry, hit submit instead of preview for this message.
Last edited by TonyVSUK on Thu Oct 14, 2010 3:21 pm, edited 1 time in total.
Re: Series Format->Marks->Format question.
The transparent and transparency work ok. Thanks for those.
But I don't want to change the colour of the marks. The setting is the background colour of the surrounding box around the marks, its the background of the box that the mark is in (if that makes sense). I can change it using the editor, but I need to be able to do it in code.
If you look at the attached, the marks box has a colour white, pattern colour light blue and the pattern is "fill 80%".
Does that make sense?
But I don't want to change the colour of the marks. The setting is the background colour of the surrounding box around the marks, its the background of the box that the mark is in (if that makes sense). I can change it using the editor, but I need to be able to do it in code.
If you look at the attached, the marks box has a colour white, pattern colour light blue and the pattern is "fill 80%".
Does that make sense?
- Attachments
-
- MarksBackground.jpg (62.41 KiB) Viewed 7875 times
Re: Series Format->Marks->Format question.
Hello Tony,
I fear its that this is a bug known of the brush object (TV52015167). I have increased its priority and we try to fix it for next maintenance releases.
Thanks,
I fear its that this is a bug known of the brush object (TV52015167). I have increased its priority and we try to fix it for next maintenance releases.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |