Logo Search packages:      
Sourcecode: libjfreechart-java version File versions  Download package

String org::jfree::chart::labels::XYItemLabelGenerator::generateLabel ( XYDataset  dataset,
int  series,
int  item 
)

Generates a label for the specified item. The label is typically a formatted version of the data value, but any text can be used.

Parameters:
dataset the dataset (null not permitted).
series the series index (zero-based).
item the item index (zero-based).
Returns:
The label (possibly null).

Implemented in org::jfree::chart::labels::BubbleXYItemLabelGenerator, org::jfree::chart::labels::HighLowItemLabelGenerator, org::jfree::chart::labels::IntervalXYItemLabelGenerator, org::jfree::chart::labels::StandardXYItemLabelGenerator, and org::jfree::chart::labels::SymbolicXYItemLabelGenerator.

Referenced by org::jfree::chart::renderer::xy::YIntervalRenderer::drawAdditionalItemLabel(), org::jfree::chart::renderer::xy::XYBarRenderer::drawItemLabel(), and org::jfree::chart::renderer::xy::AbstractXYItemRenderer::drawItemLabel().


Generated by  Doxygen 1.6.0   Back to index