Page 1 of 1
MarkTips Tool: Change style at runtime
Posted: Wed Nov 11, 2009 5:21 pm
by 10054213
Hi,
how do I change the style of the markTips tool at runtime from "label and percent" to "label and value" in a dbchart?
Brgds.
Steffen
Re: MarkTips Tool: Change style at runtime
Posted: Wed Nov 11, 2009 6:39 pm
by narcis
Hi Steffen,
You can do this:
Code: Select all
Series1.Marks.Style:=smsLabelValue;
Re: MarkTips Tool: Change style at runtime
Posted: Thu Nov 12, 2009 2:17 pm
by 10054213
Hi NarcĂs,
thank you but for some reason this hasn't any effect.
I tried updating the chart after changing tools style but with no effect either.
Any idea?
Best regards,
Steffen
Re: MarkTips Tool: Change style at runtime
Posted: Fri Nov 13, 2009 11:19 am
by yeray
Hi Steffen,
If your TMarksTipTool is called ChartTool1, try this: