public class Correlation extends BaseTrend
Title: Correlation class
Description: Correlation 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 |
---|
Correlation() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(Series s,
int firstIndex,
int lastIndex)
Performs function operation on SourceSeries series.
First and Last parameters are ValueIndex of first and last point used in calculation. |
protected void |
calculatePeriod(Series source,
double tmpX,
int firstIndex,
int lastIndex) |
java.lang.String |
getDescription()
Gets descriptive text.
|
calculateAllPoints, calculateMany, calculateTrend, coefficient, getTrendStyle, setTrendStyle
addFunctionXY, addPoints, calculateByPeriod, clear, dispose, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public double calculate(Series s, int firstIndex, int lastIndex)
Function
protected void calculatePeriod(Series source, double tmpX, int firstIndex, int lastIndex)
calculatePeriod
in class BaseTrend
public java.lang.String getDescription()
getDescription
in class Function