-
- All Superinterfaces:
AttributeReadAttached
,AttributeReadEnabled
,AttributeReadId
,AttributeReadTitle
,AttributeReadValid
,AttributeReadVisible
,AttributeWriteEnabled
,AttributeWriteId
,AttributeWriteReadOnly
,AttributeWriteTitle
,AttributeWriteTooltip
,AttributeWriteVisible
,io.github.mmm.event.EventSource<UiEvent,UiEventListener>
,UiChart<Number>
,UiNativeWidget
,UiRegularWidget
,UiWidget
public interface UiPieChart extends UiChart<Number>, UiNativeWidget
UiChart
for pie-charts that display the data in a circle sliced into segments according to theirdata
. The total circle (360 degrees) correlates to the sum ofall datasets
. Therefore it is not required to provide the data as percentage and you may provide the original values in the according unit.- Since:
- 1.0.0
-
-
Method Summary
Static Methods Modifier and Type Method Description static UiPieChart
of(String title, io.github.mmm.base.placement.Direction legendPlacement, UiDataSet<Number>... dataSets)
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadAttached
isAttached
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadId
getId
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadTitle
getTitle
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setId
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTitle
setTitle
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTooltip
getTooltip, setTooltip
-
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
-
Methods inherited from interface io.github.mmm.ui.api.widget.chart.UiChart
getLegnedPlacement, setData, setData, setLegendPlacement
-
Methods inherited from interface io.github.mmm.ui.api.widget.UiWidget
cast, dispose, getModificationTimestamp, getParent, getReadOnlyFixed, getStyles, isDisposed, isEnabled, isEnabled, isFocused, isModified, isReadOnly, isValid, isVisible, isVisible, reset, setEnabled, setEnabled, setFocused, setReadOnly, setReadOnlyFixed, setVisible, setVisible, validate, validate, validate, validateDown, validateUp
-
-
-
-
Method Detail
-
of
static UiPieChart of(String title, io.github.mmm.base.placement.Direction legendPlacement, UiDataSet<Number>... dataSets)
- Parameters:
title
- thetitle
.legendPlacement
- thelegend placement
.dataSets
- thedata sets
.- Returns:
- the new
UiPieChart
.
-
-