| java.lang.Object org.krysalis.jcharts.Legend
Legend | final public class Legend implements HTMLTestable,Serializable(Code) | | author: Nathaniel Auvil, Sandor Dornbush, Sundar Balasubramanian version: $Id: Legend.java,v 1.10 2004/05/31 16:26:13 nathaniel_auvil Exp $ |
Legend | public Legend(Chart chart)(Code) | | Parameters: chart - |
calculateDrawingValues | public void calculateDrawingValues(IData iData)(Code) | | Calculates the width and height needed to display the Legend. Use the getWidth() and
getHeight() methods to extract this information.
Parameters: iData - can pass either the IPieChartDataSet or the IChartDataSeries to this. |
computeLegendXY | public void computeLegendXY(IAxisDataSeries iAxisDataSeries, float chartTitleHeight)(Code) | | Parameters: iAxisDataSeries - Parameters: chartTitleHeight - |
getHeight | public int getHeight()(Code) | | |
getWidth | public float getWidth()(Code) | | |
render | public void render()(Code) | | Renders the legend.
|
setX | public void setX(float x)(Code) | | |
setY | public void setY(float y)(Code) | | |
toHTML | public void toHTML(HTMLGenerator htmlGenerator)(Code) | | Enables the testing routines to display the contents of this Object.
Parameters: htmlGenerator - |
|
|