public class StudyProcessorBase extends java.lang.Object implements IStudyProcessor
Provides access to the StudyProcessorBase object.
A wide variety of studies can be applied to the chart's series. Each one of the studies uses a processor to make the calculations which return the values to the new series. This is the main class to make the processors work.
For more information about studies, please refer to the StudyProcessorBase
class.
Constructor and Description |
---|
StudyProcessorBase() |
Modifier and Type | Method and Description |
---|---|
void |
calculateData(SeriesStudy study)
Description goes here
|
Gallery |
getDefaultGallery()
Gets the Gallery marked as default by the selected Study.
|
public Gallery getDefaultGallery()
Gets the Gallery marked as default by the selected Study.
SeriesAttributes series;
series = new SeriesAttributes();
series.getStudy().setSeriesStudyType(SeriesStudyType.MovingAverage7);
series.getStudy().getTargetSeries().setSeriesIndex(1);
chart1.getSeries().add(series);
StudyProcessorBase spb;
spb = ((StudyProcessorBase)series.getStudy().getProcessor());
java.lang.String dGallery;
dGallery = new Gallery(spb.getDefaultGallery()).toString();
getDefaultGallery
in interface IStudyProcessor
public void calculateData(SeriesStudy study)
calculateData
in interface IStudyProcessor
study
- 2014 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.