Class DrawnValue
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.chart.DrawnValue
- All Implemented Interfaces:
- HasHandlers
Returns information about how a data value is rendered in a chart.
- 
Field SummaryFields inherited from class com.smartgwt.client.core.DataClassfactoryCreated, factoryProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionFor bar and column charts, thickness of the bar representing this data value.For pie mode only, start angle of the segment for the data value.FacetValues for the data value.static DrawnValuegetOrCreateRef(JavaScriptObject jsObj) For pie mode only, the radius of the segment for the data value.The data record of the data point from which thisdrawnValuewas created.For pie mode only, start angle of the segment for the data value.getValue()Deprecated.Data value thisdrawnValuerepresents.getX()X coordinate where the data value is rendered.getY()Y coordinate where the data value is rendered.setBarThickness(Integer barThickness) For bar and column charts, thickness of the bar representing this data value.setEndAngle(Integer endAngle) For pie mode only, start angle of the segment for the data value.setFacetValues(FacetValueMap facetValues) FacetValues for the data value.For pie mode only, the radius of the segment for the data value.The data record of the data point from which thisdrawnValuewas created.setStartAngle(Integer startAngle) For pie mode only, start angle of the segment for the data value.Data value thisdrawnValuerepresents.Deprecated.X coordinate where the data value is rendered.Y coordinate where the data value is rendered.Methods inherited from class com.smartgwt.client.core.DataClassapplyFactoryProperties, 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- 
DrawnValuepublic DrawnValue()
- 
DrawnValue
 
- 
- 
Method Details- 
getOrCreateRef
- 
setBarThicknessFor bar and column charts, thickness of the bar representing this data value.- Parameters:
- barThickness- New barThickness value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getBarThicknessFor bar and column charts, thickness of the bar representing this data value.- Returns:
- Current barThickness value. Default value is null
 
- 
setEndAngleFor pie mode only, start angle of the segment for the data value.- Parameters:
- endAngle- New endAngle value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getEndAngleFor pie mode only, start angle of the segment for the data value.- Returns:
- Current endAngle value. Default value is null
 
- 
setFacetValuesFacetValues for the data value.- Parameters:
- facetValues- New facetValues value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getFacetValuesFacetValues for the data value.- Returns:
- Current facetValues value. Default value is null
 
- 
setRadiusFor pie mode only, the radius of the segment for the data value.- Parameters:
- radius- New radius value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getRadiusFor pie mode only, the radius of the segment for the data value.- Returns:
- Current radius value. Default value is null
 
- 
setRecordThe data record of the data point from which thisdrawnValuewas created.Note that a chart with an inlined facetor amulti-axis chartmay define multiple data points in the same record, each of which will correspond to a differentdrawnValue. The way to uniquely identify the data value of this particulardrawnValueis to use thefacetValues.- Parameters:
- record- New record value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getRecordThe data record of the data point from which thisdrawnValuewas created.Note that a chart with an inlined facetor amulti-axis chartmay define multiple data points in the same record, each of which will correspond to a differentdrawnValue. The way to uniquely identify the data value of this particulardrawnValueis to use thefacetValues.- Returns:
- Current record value. Default value is null
 
- 
setStartAngleFor pie mode only, start angle of the segment for the data value.- Parameters:
- startAngle- New startAngle value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getStartAngleFor pie mode only, start angle of the segment for the data value.- Returns:
- Current startAngle value. Default value is null
 
- 
setValueDeprecated.Data value thisdrawnValuerepresents.- Parameters:
- value- New value value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getValueDeprecated.Data value thisdrawnValuerepresents.- Returns:
- Current value value. Default value is null
 
- 
setValueData value thisdrawnValuerepresents.- Parameters:
- value- New value value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getValueAsDoubleData value thisdrawnValuerepresents.- Returns:
- Current value value. Default value is null
 
- 
setXX coordinate where the data value is rendered. In pie mode, returns the X coordinate of the center of the pie where the data value appears.- Parameters:
- x- New x value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getXX coordinate where the data value is rendered. In pie mode, returns the X coordinate of the center of the pie where the data value appears.- Returns:
- Current x value. Default value is null
 
- 
setYY coordinate where the data value is rendered. In pie mode, returns the Y coordinate of the center of the pie where the data value appears.- Parameters:
- y- New y value. Default value is null
- Returns:
- DrawnValueinstance, for chaining setter calls
 
- 
getYY coordinate where the data value is rendered. In pie mode, returns the Y coordinate of the center of the pie where the data value appears.- Returns:
- Current y value. Default value is null
 
 
- 
GwtFloatVsDouble