the title sums up my problem; no matter what values I use for X I only get -1 as a result, even just using the code in the NT8 Help:
[CODE]protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
{
// Find the index of the bar painted at x-coordinate 35
double slotIndex = chartControl.GetSlotIndexByX(35);
// Print the slot index of the specified time
Print(slotIndex);
}[/CODE
Is there something else I need?
Comment