|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwarefx.chartfx.server.CompactFormulas
public class CompactFormulas
Provides developers with access to the compacting features.
Constructor Summary | |
---|---|
CompactFormulas()
|
Method Summary | |
---|---|
static CompactFormulaListener |
getAverage()
Returns the average points set by the DataValues.setCompactedBy(double) property. |
static CompactFormulaListener |
getFirst()
Returns the first points set by the DataValues.setCompactedBy(double) property. |
static CompactFormulaListener |
getHiLowClose()
Returns the high, low, and close points set by the DataValues.setCompactedBy(double) property. |
static CompactFormulaListener |
getLast()
Returns the last points set by the DataValues.setCompactedBy(double) property. |
static CompactFormulaListener |
getMax()
Returns the max points set by the DataValues.setCompactedBy(double) property. |
static CompactFormulaListener |
getMin()
Returns the min points set by the DataValues.setCompactedBy(double) property. |
static CompactFormulaListener |
getOpenHiLowClose()
Returns the open, high, low, and close points set by the DataValues.setCompactedBy(double) property. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompactFormulas()
Method Detail |
---|
public static CompactFormulaListener getAverage()
Returns the average points set by the DataValues.setCompactedBy(double)
property.
For example, if you want to compact data based on the average for a chart containing 1000 points and the CompactedBy property has a value of 2, the resulting plotted data will consist of 500 points. Each point in the new data will be the result of the average value of two adjacent datapoints from the original dataset.
public static CompactFormulaListener getFirst()
Returns the first points set by the DataValues.setCompactedBy(double)
property.
For example, if you want to compact data based on the first for a chart containing 1000 points and the CompactedBy property has a value of 2, the resulting plotted data will consist of 500 points. Each point in the new data will be the result of the first value of two adjacent datapoints from the original dataset.
public static CompactFormulaListener getHiLowClose()
Returns the high, low, and close points set by the DataValues.setCompactedBy(double)
property.
This is particularly useful when you want to compact data for a HighLowClose Chart.
For example, if you want to compact data based on the high, low, and close of a chart containing 1000 points and the CompactedBy property has a value of 2, the resulting plotted data will consist of 500 points. Each point in the new data will be the result of the high, low, and close values of two adjacent datapoints from the original dataset.
public static CompactFormulaListener getLast()
Returns the last points set by the DataValues.setCompactedBy(double)
property.
For example, if you want to compact data based on the last for a chart containing 1000 points and the CompactedBy property has a value of 2, the resulting plotted data will consist of 500 points. Each point in the new data will be the result of the last value of two adjacent datapoints from the original dataset.
public static CompactFormulaListener getMax()
Returns the max points set by the DataValues.setCompactedBy(double)
property.
For example, if you want to compact data based on the max for a chart containing 1000 points and the CompactedBy property has a value of 2, the resulting plotted data will consist of 500 points. Each point in the new data will be the result of the maximum value of two adjacent datapoints from the original dataset.
public static CompactFormulaListener getMin()
Returns the min points set by the DataValues.setCompactedBy(double)
property.
For example, if you want to compact data based on the min for a chart containing 1000 points and the CompactedBy property has a value of 2, the resulting plotted data will consist of 500 points. Each point in the new data will be the result of the minimum value of two adjacent datapoints from the original dataset.
public static CompactFormulaListener getOpenHiLowClose()
Returns the open, high, low, and close points set by the DataValues.setCompactedBy(double)
property.
This is particularly useful when you want to compact data for a OpenHighLowClose Chart.
For example, if you want to compact data based on the open, high, low, and close of a chart containing 1000 points and the CompactedBy property has a value of 2, the resulting plotted data will consist of 500 points. Each point in the new data will be the result of the open, high, low, and close values of two adjacent datapoints from the original dataset.
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |