setMarkTextResolver for FastLine
Posted: Tue Oct 16, 2007 8:58 am
Hi:
We are trying to show ToolTip with customized information using setMarkTextResolver for Financial Indicators. For some reason, we can not show the tooltip with setMarkTextResolver .... but, we can use simple MarksTip. In this chart window we have a Candle, Volume and few Financial Indicators. The Candle's MarkTextResolver works, btw. Here are code excerpts -
Any information is appreciated. Thank you.
best regards,
We are trying to show ToolTip with customized information using setMarkTextResolver for Financial Indicators. For some reason, we can not show the tooltip with setMarkTextResolver .... but, we can use simple MarksTip. In this chart window we have a Candle, Volume and few Financial Indicators. The Candle's MarkTextResolver works, btw. Here are code excerpts -
Code: Select all
This code works ----
MarksTip tmpTool1 = new MarksTip(tChart2.getChart());
tmpTool1.setSeries(functionSeries);
tmpTool1.setStyle(MarksStyle.VALUE);
Code: Select all
This code does not work ---- here functionseries is a FastLine object
functionSeries.setMarkTextResolver(new com.steema.teechart.styles.Series.MarkTextResolver(){
public String getMarkText(int valueIndex, String markText) {
return "PVO Function:\n" + markText;
}
});
best regards,