From XValue to data table index ?
Posted: Wed Feb 06, 2008 10:03 pm
Hi !
I think it is an easy task, but I can´t find a way - maybe it´s to late
I use the TColorBandTool for marking an area. I got to values back:
Tool.StartValue
Tool.EndValue
These are x values. But how du I get the resulting index of the data table? I need a call like this:
I know that this wont work because XValue needs an index / integer value. How can I get the index for a given value?
Maybe I´m blinded ...
I think it is an easy task, but I can´t find a way - maybe it´s to late
I use the TColorBandTool for marking an area. I got to values back:
Tool.StartValue
Tool.EndValue
These are x values. But how du I get the resulting index of the data table? I need a call like this:
Code: Select all
Chart[0].XValue[Tool.StartValue];
Maybe I´m blinded ...