Hello,
i'd like to use SeriesShape to draw a rectangle on chart. Unfortunately, the rectangle is drawn OVER existing lines. Are there ways to draw a shape UNDER all other lines on chart. Is there any way to control the output order?
nefis
Series output order
Hi nefis,
the only way around this that I know of is using the ExchangeSeries method as you said.
the only way around this that I know of is using the ExchangeSeries method as you said.
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi,
you can always identify the Series using something like the following :
you can always identify the Series using something like the following :
Code: Select all
Dim Ser1 As ISeries
Set Ser1 = TChart1.Series(1)
Ser1.FillSampleValues (10)
Ser1.Pen.Color = vbBlue
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi Nefis,
Welcome -> Previous version -> New Features -> Chart -> Events -> OnBeforeDrawChart.
You can draw a rectangle using the Canvas drawing methods.
If you don't want to use ExchangeSeries than have a look at the example in the TeeChart AXv6 Feature Demo under:i'd like to use SeriesShape to draw a rectangle on chart. Unfortunately, the rectangle is drawn OVER existing lines. Are there ways to draw a shape UNDER all other lines on chart. Is there any way to control the output order?
Welcome -> Previous version -> New Features -> Chart -> Events -> OnBeforeDrawChart.
You can draw a rectangle using the Canvas drawing methods.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/