Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.1.0)

E17492-02

oracle.dss.graph
Interface TickLabelCallback


public interface TickLabelCallback

Interface for customized axis labels. Implement this interface to display tick labels other than those that the graph normally displays. For example, if, in a scatter graph, you want to use labels such as "Low," "Medium," and "High" along the X-axis instead of data values, then you should implement this interface.

Register your implementation with the graph by calling Graph.setTickLabelCallback(oracle.dss.graph.TickLabelCallback, int).

See Also:
BaseDataAxis

Method Summary
 java.lang.String getTickLabel(TickLabelInfo tickLabelInfo, int axisID)
          Retrieves customized tick labels.
 

Method Detail

getTickLabel

java.lang.String getTickLabel(TickLabelInfo tickLabelInfo,
                              int axisID)
Retrieves customized tick labels. The view calls this method to retrieve the custom tick label for a tick mark on the specified axis.

Parameters:
tickLabelInfo - Information about the tick label.
axisID - A constant that represents which axis the tick label is on. Valid constants appear in the See Also section.
See Also:
GraphConstants.X1TICKLABEL, GraphConstants.Y1TICKLABEL, GraphConstants.Y2TICKLABEL

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.1.0)

E17492-02

Copyright © 1997, 2011, Oracle. All rights reserved.