The NChartSeriesDataSource interface provides methods to obtain data for the series. More...
Public Member Functions | |
| NChartPoint[] | points (NChartSeries series) |
| Get array of points for the series. More... | |
| String | name (NChartSeries series) |
| Get name for the series. More... | |
| Bitmap | image (NChartSeries series) |
| Get image for the series that is displayed in the legend. More... | |
| Bitmap | disabledImage (NChartSeries series) |
| Get image for the series that is displayed in the legend when the series is hidden (aka disabled). More... | |
| NChartPoint[] | extraPoints (NChartSeries series) |
| Extend array of points in series. More... | |
Detailed Description
The NChartSeriesDataSource interface provides methods to obtain data for the series.
Member Function Documentation
| Bitmap com.nchart3d.NChart.NChartSeriesDataSource.disabledImage | ( | NChartSeries | series | ) |
Get image for the series that is displayed in the legend when the series is hidden (aka disabled).
If nil is returned or method is not implemented, the default image is used.
- Parameters
-
series - series to get image for.
- Returns
- the image for the series.
- See also
- com.nchart3d.NChart.NChartSeries.
| NChartPoint [] com.nchart3d.NChart.NChartSeriesDataSource.extraPoints | ( | NChartSeries | series | ) |
Extend array of points in series.
Use this method to provide additional data for series. This method is called after you call extendData of NChart. The points from the array returned are added to the series' array of points, so series will have more data. The maximal length of data array is determined by pointsHistoryLength property of NChart.
- Parameters
-
series - series to obtain the extra points for.
- Returns
- array of extra points.
| Bitmap com.nchart3d.NChart.NChartSeriesDataSource.image | ( | NChartSeries | series | ) |
Get image for the series that is displayed in the legend.
If null is returned or method is not implemented, the default image is used.
- Parameters
-
series - series to get image for.
- Returns
- the image for the series.
- See also
- com.nchart3d.NChart.NChartSeries
| String com.nchart3d.NChart.NChartSeriesDataSource.name | ( | NChartSeries | series | ) |
Get name for the series.
- Parameters
-
series - series to obtain the name for.
- Returns
- the name for the series.
- See also
- com.nchart3d.NChart.NChartSeries
| NChartPoint [] com.nchart3d.NChart.NChartSeriesDataSource.points | ( | NChartSeries | series | ) |
Get array of points for the series.
- Parameters
-
series - series to obtain the points for.
- Returns
- an array of com.nchart3d.NChart.NChartPoint instances where the data is stored.
- See also
- com.nchart3d.NChart.NChartSeries
