MonobjcMonobjc Documented Class Library
DataLabelForPlotRecordIndex Method (plot, index)
NamespacesMonobjc.CorePlotICPPlotDataSourceDataLabelForPlotRecordIndex(CPPlot, NSUInteger)

Gets a data label for the given plot. This method is optional.

Original signature is '- (CPLayer *)dataLabelForPlot:(CPPlot *)plot recordIndex:(NSUInteger)index;'

Declaration Syntax
C#Visual BasicVisual C++
CPLayer DataLabelForPlotRecordIndex(
	CPPlot plot,
	NSUInteger index
)
Function DataLabelForPlotRecordIndex ( _
	plot As CPPlot, _
	index As NSUInteger _
) As CPLayer
CPLayer^ DataLabelForPlotRecordIndex(
	CPPlot^ plot, 
	NSUInteger index
)
Parameters
plot (CPPlot)
The plot.
index (NSUInteger)
The data index of interest.
Return Value
The data label for the point with the given index. If you return nil, the default data label will be used. If you return an instance of NSNull, no label will be shown for the index in question.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.CorePlot (Module: Monobjc.CorePlot)