Package io.jmix.charts.component
Interface CustomChart
- All Superinterfaces:
Component
,Component.BelongToFrame
,Component.HasCaption
,Component.HasDescription
,Component.HasIcon
- All Known Implementing Classes:
CustomChartImpl
public interface CustomChart
extends Component, Component.BelongToFrame, Component.HasIcon, Component.HasCaption
Chart that can show any chart configuration inherited from
AbstractChart
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
-
Field Summary
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
repaint()
Resend all items and properties to client and repaint chart.void
setConfiguration
(AbstractChart configuration) void
setNativeJson
(String json) Set additional JSON configuration as a string.Methods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
Methods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrame
Methods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaption
Methods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescription
Methods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSet
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getConfiguration
AbstractChart getConfiguration() -
setConfiguration
-
repaint
void repaint()Resend all items and properties to client and repaint chart. Use this method if you change some property of already displayed chart. -
setNativeJson
Set additional JSON configuration as a string. This JSON can override configuration loaded from XML and from Component API.- Parameters:
json
- additional JSON configuration
-
getNativeJson
String getNativeJson()- Returns:
- additional JSON configuration as a string.
-