com.sas.graphics.components
Class AnalysisVariable

com.sas.graphics.components.AnalysisVariable
Direct Known Subclasses:
AnalysisVariableList

public class AnalysisVariable

An AnalysisVariable is used by a chart when a statistic can be applied to the associated data values.

Usage

You can apply a mean statistic to the associated data values by setting the statistic property. Here is an example where an AnalysisVariable is being designated a data column and the statistic assigned is mean.
 AnalysisVariable myAnalysisVariable = new AnalysisVariable("Sales",GraphConstants.STATISTIC_MEAN);
 

Behavior

Applying a statistic to an AnalysisVariable determines how the variable will be used as a role in a chart. For example, if the statistic were set to GraphConstants.STATISTIC_MEAN (as in the above example) and the variable used as a response in a bar chart, the bars would be the heights corresponding to the mean of the responses in each category.

Properties


Name statistic
Type AnalysisVariable
Default value DEFAULT
Short description Allows a statistic to be designated on this variable.
Description Allows a statistic to be designated on this variable. DEFAULT refers is used to imply the chart's default statistic should be applied.

Since:
SAS 9.1
See Also:
GraphConstants, Variable, VariableList, ClassificationVariable, ClassificationVariableList, AnalysisVariableList

Constructor Summary
AnalysisVariable(AnalysisVariable av)
          Constructor for AnalysisVariable.
AnalysisVariable(int columnIndex)
          Constructor designating data column by index.
AnalysisVariable(int columnIndex, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic)
          Constructor designating data column by index along with the names of the SAS format and SAS informat and label to be applied.
AnalysisVariable(int columnIndex, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, com.sas.graphics.components.CategorizationModel categorizationModel, com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle)
          Constructor for AnalysisVariable.
AnalysisVariable(int columnIndex, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, com.sas.graphics.components.CategorizationModel categorizationModel, com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle, int targetColumnIndex, java.lang.String targetLabel)
          Constructor for AnalysisVariable.
AnalysisVariable(int columnIndex, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, com.sas.graphics.components.CategorizationModel categorizationModel, com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle, int highColumnIndex, java.lang.String highLabel, int lowColumnIndex, java.lang.String lowLabel)
          Constructor for AnalysisVariable.
AnalysisVariable(int columnIndex, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, int targetColumnIndex, java.lang.String targetLabel)
          Constructor for AnalysisVariable.
AnalysisVariable(int columnIndex, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, int highColumnIndex, java.lang.String highLabel, int lowColumnIndex, java.lang.String lowLabel)
          Constructor for AnalysisVariable.
AnalysisVariable(java.lang.String columnName)
          Constructor designating data column by name.
AnalysisVariable(java.lang.String columnName, int statistic)
          Constructor designating data column by name and defining a statistic.
AnalysisVariable(java.lang.String columnName, java.lang.String format)
          Constructor designating data column by name along with the name of the SAS format to be applied.
AnalysisVariable(java.lang.String columnName, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic)
          Constructor designating data column by name.
AnalysisVariable(java.lang.String columnName, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, com.sas.graphics.components.CategorizationModel categorizationModel, com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle)
          Constructor for AnalysisVariable.
AnalysisVariable(java.lang.String columnName, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, com.sas.graphics.components.CategorizationModel categorizationModel, com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle, java.lang.String targetColumnName, java.lang.String targetLabel)
          Constructor for AnalysisVariable.
AnalysisVariable(java.lang.String columnName, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, com.sas.graphics.components.CategorizationModel categorizationModel, com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle, java.lang.String highColumnName, java.lang.String highLabel, java.lang.String lowColumnName, java.lang.String lowLabel)
          Constructor for AnalysisVariable.
AnalysisVariable(java.lang.String columnName, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, java.lang.String targetColumnName, java.lang.String targetLabel)
          Constructor for AnalysisVariable.
AnalysisVariable(java.lang.String columnName, java.lang.String format, java.lang.String informat, java.lang.String label, int statistic, java.lang.String highColumnName, java.lang.String highLabel, java.lang.String lowColumnName, java.lang.String lowLabel)
          Constructor for AnalysisVariable.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Determines whether another object is equal to this AnalysisVariable.
 int getStatistic()
          Returns the type of statistic applied to the values in the data column designated by this variable.
 int hashCode()
          Computes the hash code for this AnalysisVariable.
 
Methods inherited from class com.sas.graphics.components.RangeVariable
getHighColumnIndex, getHighColumnName, getHighLabel, getLowColumnIndex, getLowColumnName, getLowLabel, getTargetColumnIndex, getTargetColumnName, getTargetLabel
 
Methods inherited from class com.sas.graphics.components.Variable
getCategorizationModel, getColumnIndex, getColumnName, getFormat, getInformat, getLabel, getSegmentedRangeStyle
 
Methods inherited from class com.sas.graphics.components.ModelBase
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, setContainedModel
 

Constructor Detail

AnalysisVariable

public AnalysisVariable(java.lang.String columnName)
Constructor designating data column by name.

Parameters:
columnName - the name identifying the data column

AnalysisVariable

public AnalysisVariable(java.lang.String columnName,
                        int statistic)
Constructor designating data column by name and defining a statistic.

Parameters:
columnName - the name identifying the data column
statistic - the statistic to be applied to the associated data values.

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(java.lang.String columnName,
                        java.lang.String format)
Constructor designating data column by name along with the name of the SAS format to be applied.

Parameters:
columnName - the name identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column

AnalysisVariable

public AnalysisVariable(java.lang.String columnName,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic)
Constructor designating data column by name.

Parameters:
columnName - the name identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(java.lang.String columnName,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        java.lang.String targetColumnName,
                        java.lang.String targetLabel)
Constructor for AnalysisVariable.

Parameters:
columnName - the name identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
targetColumnName -
targetLabel -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(java.lang.String columnName,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        java.lang.String highColumnName,
                        java.lang.String highLabel,
                        java.lang.String lowColumnName,
                        java.lang.String lowLabel)
Constructor for AnalysisVariable.

Parameters:
columnName - the name identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
highColumnName -
highLabel -
lowColumnName -
lowLabel -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(java.lang.String columnName,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        com.sas.graphics.components.CategorizationModel categorizationModel,
                        com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle)
Constructor for AnalysisVariable.

Parameters:
columnName - the name identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
categorizationModel -
segmentedRangeStyle -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(java.lang.String columnName,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        com.sas.graphics.components.CategorizationModel categorizationModel,
                        com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle,
                        java.lang.String targetColumnName,
                        java.lang.String targetLabel)
Constructor for AnalysisVariable.

Parameters:
columnName - the name identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
categorizationModel -
segmentedRangeStyle -
targetColumnName -
targetLabel -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(java.lang.String columnName,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        com.sas.graphics.components.CategorizationModel categorizationModel,
                        com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle,
                        java.lang.String highColumnName,
                        java.lang.String highLabel,
                        java.lang.String lowColumnName,
                        java.lang.String lowLabel)
Constructor for AnalysisVariable.

Parameters:
columnName - the name identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
categorizationModel -
segmentedRangeStyle -
highColumnName -
highLabel -
lowColumnName -
lowLabel -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(int columnIndex)
Constructor designating data column by index.

Parameters:
columnIndex - the index identifying the data column

AnalysisVariable

public AnalysisVariable(int columnIndex,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic)
Constructor designating data column by index along with the names of the SAS format and SAS informat and label to be applied.

Parameters:
columnIndex - the index identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(int columnIndex,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        int targetColumnIndex,
                        java.lang.String targetLabel)
Constructor for AnalysisVariable.

Parameters:
columnIndex - the index identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
targetColumnIndex -
targetLabel -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(int columnIndex,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        int highColumnIndex,
                        java.lang.String highLabel,
                        int lowColumnIndex,
                        java.lang.String lowLabel)
Constructor for AnalysisVariable.

Parameters:
columnIndex - the index identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
highColumnIndex -
highLabel -
lowColumnIndex -
lowLabel -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(int columnIndex,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        com.sas.graphics.components.CategorizationModel categorizationModel,
                        com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle)
Constructor for AnalysisVariable.

Parameters:
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
categorizationModel -
segmentedRangeStyle -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(int columnIndex,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        com.sas.graphics.components.CategorizationModel categorizationModel,
                        com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle,
                        int targetColumnIndex,
                        java.lang.String targetLabel)
Constructor for AnalysisVariable.

Parameters:
columnIndex - the index identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
categorizationModel -
segmentedRangeStyle -
targetColumnIndex -
targetLabel -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(int columnIndex,
                        java.lang.String format,
                        java.lang.String informat,
                        java.lang.String label,
                        int statistic,
                        com.sas.graphics.components.CategorizationModel categorizationModel,
                        com.sas.graphics.components.SegmentedRangeStyle segmentedRangeStyle,
                        int highColumnIndex,
                        java.lang.String highLabel,
                        int lowColumnIndex,
                        java.lang.String lowLabel)
Constructor for AnalysisVariable.

Parameters:
columnIndex - the index identifying the data column
format - the name of the SAS format applied (by the graph) on the values found in this variable's data column
informat - the name of the SAS informat applied (by the graph) on the values found in this variable's data column
label - the label the chart will display via data tips, axis labels and legend labels (where applicable)
statistic - the statistic to be applied to the associated data values.
categorizationModel -
segmentedRangeStyle -
highColumnIndex -
highLabel -
lowColumnIndex -
lowLabel -

The supported informats are:

  • DATE5. - "ddMMM"
  • DATE7. - "ddMMMyy"
  • DATE9. - "ddMMMyyyy"
  • DATETIME13. - "ddMMMyy:HH:mm"
  • DATETIME16. - "ddMMMyy:HH:mm:ss"
  • DATETIME18. - "ddMMMyyyy:HH:mm:ss"
  • DATETIME20. - "ddMMMyy:HH:mm:ss.SSS"
  • DATETIME22. - "ddMMMyyyy:HH:mm:ss.SSS"
  • TIME5. - "HH:mm"
  • TIME8. - "HH:mm:ss""
  • TIME12. - "HH:mm:ss.SSS"

Valid statistic values are:

  • GraphConstants.STATISTIC_LAST
  • GraphConstants.STATISTIC_MEAN
  • GraphConstants.STATISTIC_FREQ
  • GraphConstants.STATISTIC_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_FREQ
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_FREQ
  • GraphConstants.STATISTIC_SUM
  • GraphConstants.STATISTIC_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_SUM
  • GraphConstants.STATISTIC_CUMULATIVE_PERCENTAGE_SUM
  • GraphConstants.STATISTIC_MIN
  • GraphConstants.STATISTIC_MAX
  • GraphConstants.STATISTIC_FIRST
See Also:
GraphConstants

AnalysisVariable

public AnalysisVariable(AnalysisVariable av)
Constructor for AnalysisVariable.

Parameters:
av -
Method Detail

getStatistic

public int getStatistic()
Returns the type of statistic applied to the values in the data column designated by this variable.


equals

public boolean equals(java.lang.Object obj)
Determines whether another object is equal to this AnalysisVariable.

The result is true if and only if the argument is not null and is a AnalysisVariable object that has the same property values as this object.

Overrides:
equals in class Variable
Parameters:
obj - the object to test for equality with this AnalysisVariable
Returns:
true if the objects are the same; false otherwise.

hashCode

public int hashCode()
Computes the hash code for this AnalysisVariable.

Overrides:
hashCode in class Variable
Returns:
a hash code value for this object.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.