Class ChartSelection
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.chart.ChartSelection
- All Implemented Interfaces:
HasHandlers
The complete state of a
FacetChart's value selection, as returned by FacetChart.getChartSelection() and accepted by FacetChart.setChartSelection(). The three lists are kept apart because a group selection and the values it happens to cover are different statements of intent, and only the distinction survives a pivot or a data change intact.
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndividual values deselected from within a selected group - holes punched in agroup selectionrather than a dissolution of it.Facet values selected as groups, each naming one facet value or, for a nested data-label selection, the combination identifying it.static ChartSelectiongetOrCreateRef(JavaScriptObject jsObj) Individually selected data values, as complete coordinates over the chart's dimension facets.setExclusions(FacetValueMap... exclusions) Individual values deselected from within a selected group - holes punched in agroup selectionrather than a dissolution of it.setFacetValues(FacetValueMap... facetValues) Facet values selected as groups, each naming one facet value or, for a nested data-label selection, the combination identifying it.setValues(FacetValueMap... values) Individually selected data values, as complete coordinates over the chart's dimension facets.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
ChartSelection
public ChartSelection() -
ChartSelection
-
-
Method Details
-
getOrCreateRef
-
setExclusions
Individual values deselected from within a selected group - holes punched in agroup selectionrather than a dissolution of it. An exclusion outranks the group that covers it.- Parameters:
exclusions- New exclusions value. Default value is null- Returns:
ChartSelectioninstance, for chaining setter calls
-
getExclusions
Individual values deselected from within a selected group - holes punched in agroup selectionrather than a dissolution of it. An exclusion outranks the group that covers it.- Returns:
- Current exclusions value. Default value is null
-
setFacetValues
Facet values selected as groups, each naming one facet value or, for a nested data-label selection, the combination identifying it. Partial coordinates: the facets not named are the ones the group spans.- Parameters:
facetValues- New facetValues value. Default value is null- Returns:
ChartSelectioninstance, for chaining setter calls
-
getFacetValues
Facet values selected as groups, each naming one facet value or, for a nested data-label selection, the combination identifying it. Partial coordinates: the facets not named are the ones the group spans.- Returns:
- Current facetValues value. Default value is null
-
setValues
Individually selected data values, as complete coordinates over the chart's dimension facets.- Parameters:
values- New values value. Default value is null- Returns:
ChartSelectioninstance, for chaining setter calls
-
getValues
Individually selected data values, as complete coordinates over the chart's dimension facets.- Returns:
- Current values value. Default value is null
-