| CBCGPPoint CBCGPChartVisualObject::ScreenPointFromChartData | ( | const CBCGPChartData & | chartData, |
| int | nDataPointIndex, | ||
| BOOL & | bIsEmpty, | ||
| CBCGPChartSeries * | pSeries | ||
| ) | const |
Given a chart data returns a screen point in chart's owner client coordinates.
This method can be called to convert ChartData (which can be extracted from a data point) to a screen point in chart owner's client coordinates.
You can call CBCGPChartAxis::PointFromValue to convert a specific value to a screen coordinate (X or Y, depending on axis orientation).