GetBarIdxByX()
<< Click to Display Table of Contents >> GetBarIdxByX() |
Returns the ChartBars index value at a specified x-coordinate relative to the ChartControl.
An int value representing the bar index
chartControl |
The ChartControl object used to determine the chart's time axis |
x |
The x-coordinate used to find a bar index value |
protected override void OnRender(ChartControl chartControl, ChartScale chartScale) |