Class PieChart
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.charting.pie.PieChart
- All Implemented Interfaces:
Component
public class PieChart extends AbstractComponent
-
Field Summary
Fields Modifier and Type Field Description Event<ChartNamedDataPoint>onDataPointClicked -
Constructor Summary
Constructors Constructor Description PieChart()PieChart(java.util.List<ChartNamedDataPoint> dataPoints) -
Method Summary
Modifier and Type Method Description org.teamapps.dto.UiComponentcreateUiComponent()longgetAnimationDuration()java.util.List<ChartNamedDataPoint>getDataPoints()DataPointWeightinggetDataPointWeighting()floatgetHeight3D()floatgetInnerRadiusProportion()ChartLegendStylegetLegendStyle()floatgetRotation3D()floatgetRotationClockwise()voidhandleUiEvent(org.teamapps.dto.UiEvent event)voidsetAnimationDuration(long animationDuration)voidsetDataPoints(java.util.List<ChartNamedDataPoint> dataPoints)voidsetDataPointWeighting(DataPointWeighting dataPointWeighting)voidsetHeight3D(float height3D)voidsetInnerRadiusProportion(float innerRadiusProportion)voidsetLegendStyle(ChartLegendStyle legendStyle)voidsetRotation3D(float rotation3D)voidsetRotationClockwise(float rotationClockwise)Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiComponentReference, destroy, doDestroy, getDebuggingId, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, isVisible, mapAbstractUiComponentProperties, onDestroyed, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setDebuggingId, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, setVisible, toString, unrender
-
Field Details
-
Constructor Details
-
Method Details
-
createUiComponent
public org.teamapps.dto.UiComponent createUiComponent()- Specified by:
createUiComponentin classAbstractComponent
-
handleUiEvent
public void handleUiEvent(org.teamapps.dto.UiEvent event) -
getAnimationDuration
public long getAnimationDuration() -
setAnimationDuration
public void setAnimationDuration(long animationDuration) -
getLegendStyle
-
setLegendStyle
-
getDataPointWeighting
-
setDataPointWeighting
-
getRotation3D
public float getRotation3D() -
setRotation3D
public void setRotation3D(float rotation3D) -
getHeight3D
public float getHeight3D() -
setHeight3D
public void setHeight3D(float height3D) -
getRotationClockwise
public float getRotationClockwise() -
setRotationClockwise
public void setRotationClockwise(float rotationClockwise) -
getInnerRadiusProportion
public float getInnerRadiusProportion() -
setInnerRadiusProportion
public void setInnerRadiusProportion(float innerRadiusProportion) -
getDataPoints
-
setDataPoints
-