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-
Fields inherited from class org.teamapps.ux.component.AbstractComponent
onDestroyed, onRendered
-
-
Constructor Summary
Constructors Constructor Description PieChart()PieChart(java.util.List<ChartNamedDataPoint> dataPoints)
-
Method Summary
All Methods Instance Methods Concrete Methods 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, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, isVisible, mapAbstractUiComponentProperties, onDestroyed, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, setVisible, toString, unrender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teamapps.ux.component.Component
setCssStyle
-
-
-
-
Field Detail
-
onDataPointClicked
public final Event<ChartNamedDataPoint> onDataPointClicked
-
-
Constructor Detail
-
PieChart
public PieChart()
-
PieChart
public PieChart(java.util.List<ChartNamedDataPoint> dataPoints)
-
-
Method Detail
-
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
public ChartLegendStyle getLegendStyle()
-
setLegendStyle
public void setLegendStyle(ChartLegendStyle legendStyle)
-
getDataPointWeighting
public DataPointWeighting getDataPointWeighting()
-
setDataPointWeighting
public void setDataPointWeighting(DataPointWeighting dataPointWeighting)
-
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
public java.util.List<ChartNamedDataPoint> getDataPoints()
-
setDataPoints
public void setDataPoints(java.util.List<ChartNamedDataPoint> dataPoints)
-
-