Skip to content

RadarChartNode

abstract class RadarChartNode<DATA extends RadarChartData>
Extends: Node
Package: dev.joid.lib.ui.node.impl.chart · Module: core · Source: RadarChartNode.java

Base class of a radar chart, which shows one value per axis around a center.

A radar chart over four axes A, B, C and D

A radar chart draws nothing by itself: a subclass draws its data. It waits until it has at least three entries and every entry has a value, drawing its skeleton meanwhile.

ReturnsSignatureSummary
RadarChartNode(double x, double y, double width, double height) protectedCalled by a subclass with the position and the size of the chart.

Inherited from Node (24)

x · y · width · height · position · anchor · anchorX · anchorY · aspectRatio · zindex · zlevel · skeleton · visible · enabled · interactive · cursor · hoverDuration · hoverEquation · hover · overflow · scrollSpeed · scrollbar · label · draggable

ReturnsSignatureSummary
List<DATA>getDataList()The entries, in order; a read-only view.
NumbergetMin()Bottom of the scale over the entries that have a value.
NumbergetMax()Top of the scale over the entries that have a value.
NumbergetAverage()Average of the entries that have a value.
thisdata(DATA data) fluentAdds an entry, after the others.
thisremoveData(DATA data) fluentRemoves an entry.
thisclear() fluentRemoves every entry.
Inherited from Node (128)

load · render · renderHover · updateScroll · updateScrollX · updateScrollY · append · attach · body · clearChildren · getChild · getChildren · getNodeListAt · getParent · isAttached · getAbsoluteX · getAbsoluteY · getAbsoluteDefaultX · getAbsoluteDefaultY · toDrawX · toDrawY · w · h · dw · dh · mw · mh · aw · ah · ax · ay · getDefaultWidth · getDefaultHeight · removeHover · clearHover · refreshHover · getResolvedCursor · hoverValue · getHoverAnimator · isHovered · handleMousePressed · handleMouseReleased · handleMouseDragged · handleMouseScroll · handleCharTyped · handleKeyPressed · handleKeyReleased · getLastClickTime · getLastClickButton · getLastKey · getLastKeyTime · scrollX · scrollY · scrollTo · beforeScroll · hasOverflowX · hasOverflowY · getOverflowArea · getScrollX · getScrollY · getTargetScrollX · getTargetScrollY · getMaxScrollX · getMaxScrollY · isScrollEndX · isScrollEndY · startDragging · stopDragging · beforeDragStart · beforeDragDrop · isDragging · getDragX · getDragY · isDragged · getDragSource · getDraggedNode · getStartDragX · getStartDragY · getTargetDragX · getTargetDragY · effect · removeEffect · clearEffects · hasEffect · getEffect · layer · clearLayers · animate · removeAnimator · wait · watch · hasListener · isVisibleProperty · isMounted · getIndex · getUi · getHierarchy · getMappedIndex · getTaskList · getShortcutList · toJson · toString · getEventBus · getBodyConsumer · getDefaultX · getDefaultY · getLayoutX · getLayoutY · getShiftX · getShiftY · isStepping · getLastCodepoint · getLoadCount · getRenderTime · remove · self · copy · useStore · addTask · removeTask · addShortcut · removeShortcut · layoutPosition · layoutSize · fit · move · beforeMove · hoverColor

Inherited from Node (21)

onUpdate · onDetach · onInit · onRender · onDraw · onMount · onHoverStart · onHover · onHoverEnd · onScroll · onScrollToEnd · onScrollEndReached · onDragStart · onDrag · onDragDrop · onDragSnap · onMove · onChildAppend · onClick · onAnimate · onWatch

RadarChartNode(double x, double y, double width, double height) protected

Called by a subclass with the position and the size of the chart.

List<DATA> getDataList()

The entries, in order; a read-only view.

Number getMin()

Bottom of the scale over the entries that have a value.

Number getMax()

Top of the scale over the entries that have a value.

Number getAverage()

Average of the entries that have a value.

this data(DATA data) fluent

Adds an entry, after the others.

this removeData(DATA data) fluent

Removes an entry.

this clear() fluent

Removes every entry.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page