| java.lang.Object org.krysalis.jcharts.chartData.StockChartDataSet
StockChartDataSet | public StockChartDataSet(double[] high, String highLegendLabel, double[] low, String lowLegendLabel, Paint highLowPaint, StockChartProperties stockChartProperties) throws ChartDataException(Code) | | Constructor
Parameters: high - Parameters: highLegendLabel - Parameters: low - Parameters: lowLegendLabel - Parameters: stockChartProperties - properties Object specific to the type of chart you are rendering. throws: ChartDataException - performs a limited validation of the data |
getChartType | public ChartType getChartType()(Code) | | Returns the type constant that this data set should be plotted as.
ChartType See Also: ChartType |
getChartTypeProperties | public ChartTypeProperties getChartTypeProperties()(Code) | | Returns the chart specific properties
ChartTypeProperties |
getCloseValue | public double getCloseValue(int index)(Code) | | Parameters: index - double |
getHighValue | public double getHighValue(int index)(Code) | | Parameters: index - double |
getLegendLabel | public String getLegendLabel(int index)(Code) | | Returns the legend label for the passed index. This index corresponds to the DataSet
for which label you want.
Parameters: index - String |
getLowValue | public double getLowValue(int index)(Code) | | Parameters: index - double |
getNumberOfDataItems | public int getNumberOfDataItems()(Code) | | Returns the number of elements in the data set. All data sets must be of the same length
so just look at the first one.
int |
getNumberOfDataSets | public int getNumberOfDataSets()(Code) | | Returns the number of IAxisChartDataSet Objects in this series
int |
getNumberOfLegendLabels | public int getNumberOfLegendLabels()(Code) | | Returns the number of Legend Labels to display.
int |
getOpenValue | public double getOpenValue(int index)(Code) | | Parameters: index - double |
getPaint | public Paint getPaint(int index)(Code) | | Returns the number of IAxisChartDataSet Objects in this series
int |
hasCloseValues | public boolean hasCloseValues()(Code) | | boolean |
hasOpenValues | public boolean hasOpenValues()(Code) | | boolean |
setCloseValues | public void setCloseValues(double[] data, String legendLabel, Paint paint)(Code) | | Sets the 'Close' values
Parameters: data - Parameters: legendLabel - Parameters: paint - |
setOpenValues | public void setOpenValues(double[] data, String legendLabel, Paint paint)(Code) | | Sets the 'Open' values
Parameters: data - Parameters: legendLabel - Parameters: paint - |
toHTML | public void toHTML(HTMLGenerator htmlGenerator)(Code) | | Enables the testing routines to display the contents of this Object.
Parameters: htmlGenerator - |
|
|