public class HistogramFunction extends Function
Title: HistogramFunction class
Description: Histogram function.
Example:
function = new com.steema.teechart.functions.Histogram(); function.setChart(myChart.getChart()); function.setPeriod(0); //all points Line functionSeries = new Line(myChart.getChart()); functionSeries.setTitle("Histogram"); functionSeries.setDataSource(series); functionSeries.getXValues().setOrder(ValueListOrder.NONE); //functionSeries.setVerticalAxis(VerticalAxis.RIGHT); functionSeries.setFunction(function);
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updating
chart, InternalUse
Constructor and Description |
---|
HistogramFunction() |
HistogramFunction(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
addPoints(java.util.ArrayList source)
Gets all points from Source series, performs a function operation on
points and stores results in ParentSeries.
|
boolean |
getCumulative()
Gets cumulative histogram.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
int |
getNumBins()
Gets Number of bins (centerpoints) in histogram.
Default value: 20 |
void |
setCumulative(boolean value)
Sets cumulative histogram.
|
void |
setNumBins(int value)
Sets Number of bins (centerpoints) in histogram.
Default value: 20 |
addFunctionXY, calculate, calculateAllPoints, calculateByPeriod, calculateMany, calculatePeriod, clear, dispose, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public HistogramFunction()
public HistogramFunction(IBaseChart c)
public boolean getCumulative()
public void setCumulative(boolean value)
value
- booleanpublic int getNumBins()
public void setNumBins(int value)
value
- intpublic void addPoints(java.util.ArrayList source)
public java.lang.String getDescription()
getDescription
in class Function