Package io.jmix.charts.component.impl
Class GanttChartImpl
java.lang.Object
io.jmix.ui.component.impl.AbstractComponent<JmixAmchartsScene>
io.jmix.charts.component.impl.ChartImpl<T,M>
io.jmix.charts.component.impl.CoordinateChartImpl<T,M>
io.jmix.charts.component.impl.RectangularChartImpl<T,M>
io.jmix.charts.component.impl.SeriesBasedChartImpl<GanttChart,GanttChartModelImpl>
io.jmix.charts.component.impl.GanttChartImpl
- All Implemented Interfaces:
Chart<GanttChart>,CoordinateChart<GanttChart>,GanttChart,RectangularChart<GanttChart>,SeriesBasedChart<GanttChart>,HasStartEffect<GanttChart>,ChartModel<GanttChart>,CoordinateChartModel<GanttChart>,GanttChartModel<GanttChart>,RectangularChartModel<GanttChart>,SeriesBasedChartModel<GanttChart>,HasColors<GanttChart>,HasMargins<GanttChart>,AttachNotifier,Component,Component.BelongToFrame,Component.HasCaption,Component.HasDescription,Component.HasIcon,Component.HasXmlDescriptor,Component.Wrapper,HasContextHelp,HasDebugId,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,org.springframework.beans.factory.InitializingBean
public class GanttChartImpl
extends SeriesBasedChartImpl<GanttChart,GanttChartModelImpl>
implements GanttChart
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.charts.component.Chart
Chart.AbstractChartClickEvent, Chart.AbstractChartEvent, Chart.AbstractClickEvent, Chart.AbstractCursorEvent, Chart.AbstractGraphItemClickEvent, Chart.AbstractItemEvent, Chart.AbstractSliceClickEvent, Chart.AxisZoomEvent, Chart.ChartClickEvent, Chart.ChartRightClickEvent, Chart.CursorPeriodSelectEvent, Chart.CursorZoomEvent, Chart.GraphClickEvent, Chart.GraphItemClickEvent, Chart.GraphItemRightClickEvent, Chart.LegendItemClickEvent, Chart.LegendItemEvent, Chart.LegendItemHideEvent, Chart.LegendItemShowEvent, Chart.LegendMarkerClickEvent, Chart.RollOutGraphEvent, Chart.RollOutGraphItemEvent, Chart.RollOverGraphEvent, Chart.RollOverGraphItemEvent, Chart.SliceClickEvent, Chart.SlicePullInEvent, Chart.SlicePullOutEvent, Chart.SliceRightClickEvent, Chart.ZoomEventNested 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.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEventNested classes/interfaces inherited from interface io.jmix.charts.component.SeriesBasedChart
SeriesBasedChart.CategoryItemClickEvent -
Field Summary
Fields inherited from class io.jmix.charts.component.impl.SeriesBasedChartImpl
categoryItemClickHandler, zoomHandlerFields inherited from class io.jmix.charts.component.impl.RectangularChartImpl
cursorZoomHandler, periodSelectHandlerFields inherited from class io.jmix.charts.component.impl.CoordinateChartImpl
axisZoomHandler, graphClickHandler, graphItemClickHandler, graphItemRightClickHandler, rollOutGraphItemListener, rollOutGraphListener, rollOverGraphItemListener, rollOverGraphListenerFields inherited from class io.jmix.charts.component.impl.ChartImpl
chartLocaleHelper, clickHandler, currentAuthentication, formatStringsRegistry, legendItemHideHandler, legendItemShowHandler, legendLabelClickHandler, legendMarkerClickHandler, messages, rightClickHandlerFields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZEFields inherited from interface io.jmix.charts.component.GanttChart
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalSegmentFields(String... fields) Adds additional segment fields.protected GanttChartModelImplgetGraph()setAdditionalSegmentFields(List<String> additionalSegmentFields) Sets the list of additional segment fields that should be fetched from the data provider, similarly to theadditionalFieldsattribute.setBrightnessStep(Integer brightnessStep) Sets brightness step.setColorField(String colorField) Sets segment color field from your data provider.setColumnWidthField(String columnWidthField) Sets field of column width of a segments from your data provider.setDurationField(String durationField) Sets duration field.setEndDateField(String endDateField) Sets end date field from your data provider which holds end date of a segment.setEndField(String endField) Sets end field from your data provider which holds end value of a segment.Sets graph of a Gantt chart.setPeriod(DatePeriod period) Sets data period.setSegmentsField(String segmentsField) Sets segments field in your data provider.setStartDate(Date startDate) Sets initial date of value axis.setStartDateField(String startDateField) Sets date field from your data provider which holds start date of a segment.setStartField(String startField) Sets start field from your data provider which holds start value of a segment.setValueAxis(ValueAxis valueAxis) Sets value axis of Gantt chart.Methods inherited from class io.jmix.charts.component.impl.SeriesBasedChartImpl
addCategoryItemClickListener, addZoomListener, detectDateBasedCategoryAxis, getBalloonDateFormat, getCategoryAxis, getCategoryField, getColumnSpacing, getColumnSpacing3D, getColumnWidth, getDataDateFormat, getMaxSelectedSeries, getMaxSelectedTime, getMinSelectedTime, getMouseWheelScrollEnabled, getMouseWheelZoomEnabled, getRotate, getSynchronizeGrid, getValueScrollbar, getZoomOutOnDataUpdate, onCategoryItemClick, onZoomEvent, setBalloonDateFormat, setCategoryAxis, setCategoryField, setColumnSpacing, setColumnSpacing3D, setColumnWidth, setDataDateFormat, setMaxSelectedSeries, setMaxSelectedTime, setMinSelectedTime, setMouseWheelScrollEnabled, setMouseWheelZoomEnabled, setRotate, setSynchronizeGrid, setupDefaults, setupSerialChartDefaults, setValueScrollbar, setZoomOutOnDataUpdate, zoomOut, zoomToDates, zoomToIndexesMethods inherited from class io.jmix.charts.component.impl.RectangularChartImpl
addCursorPeriodSelectListener, addCursorZoomListener, addTrendLines, getAngle, getAutoMarginOffset, getAutoMargins, getChartCursor, getChartScrollbar, getDepth3D, getMarginBottom, getMarginLeft, getMarginRight, getMarginsUpdated, getMarginTop, getMaxZoomFactor, getMinMarginBottom, getMinMarginLeft, getMinMarginRight, getMinMarginTop, getPlotAreaBorderAlpha, getPlotAreaBorderColor, getPlotAreaFillAlphas, getPlotAreaFillColors, getPlotAreaGradientAngle, getTrendLines, getZoomOutButtonAlpha, getZoomOutButtonColor, getZoomOutButtonImage, getZoomOutButtonImageSize, getZoomOutButtonPadding, getZoomOutButtonRollOverAlpha, getZoomOutButtonTabIndex, getZoomOutText, onCursorPeriodSelect, onCursorZoom, setAngle, setAutoMarginOffset, setAutoMargins, setChartCursor, setChartScrollbar, setDepth3D, setMarginBottom, setMarginLeft, setMarginRight, setMarginsUpdated, setMarginTop, setMaxZoomFactor, setMinMarginBottom, setMinMarginLeft, setMinMarginRight, setMinMarginTop, setPlotAreaBorderAlpha, setPlotAreaBorderColor, setPlotAreaFillAlphas, setPlotAreaFillColors, setPlotAreaGradientAngle, setTrendLines, setupRectangularChartDefaults, setZoomOutButtonAlpha, setZoomOutButtonColor, setZoomOutButtonImage, setZoomOutButtonImageSize, setZoomOutButtonPadding, setZoomOutButtonRollOverAlpha, setZoomOutButtonTabIndex, setZoomOutTextMethods inherited from class io.jmix.charts.component.impl.CoordinateChartImpl
addAxisZoomListener, addColors, addGraphClickListener, addGraphItemClickListener, addGraphItemRightClickListener, addGraphs, addGuides, addRollOutGraphItemListener, addRollOutGraphListener, addRollOverGraphItemListener, addRollOverGraphListener, addValueAxes, getColors, getGraphById, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getStartDuration, getStartEffect, getUrlTarget, getValueAxes, onAxisZoomListener, onGraphClick, onGraphItemClick, onGraphItemRightClick, onRollOutGraphClick, onRollOutGraphItemClick, onRollOverGraphClick, onRollOverGraphItemClick, setColors, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setStartDuration, setStartEffect, setUrlTarget, setValueAxes, zoomOutValueAxes, zoomOutValueAxis, zoomOutValueAxis, zoomValueAxisToValues, zoomValueAxisToValuesMethods inherited from class io.jmix.charts.component.impl.ChartImpl
addAdditionalFields, addClickListener, addData, addLabels, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addRightClickListener, addTitles, afterPropertiesSet, createChartSerializer, createComponent, getAccessible, getAccessibleDescription, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDataProvider, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getModel, getNativeJson, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, initLocale, onChartClick, onChartRightClick, onLegendItemHide, onLegendItemShow, onLegendLabelClick, onLegendMarkerClick, repaint, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setChartLocaleHelper, setClassNamePrefix, setColor, setCreditsPosition, setCurrentAuthentication, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setFormatStringsRegistry, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setMessages, setNativeJson, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setupChartLocale, setUsePrefixesMethods inherited from class io.jmix.ui.component.impl.AbstractComponent
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.charts.component.Chart
addClickListener, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addRightClickListener, getDataProvider, getNativeJson, repaint, setDataProvider, setNativeJsonMethods inherited from interface io.jmix.charts.model.chart.ChartModel
addAdditionalFields, addData, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, getAccessibleDescription, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setUsePrefixesMethods 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, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrameMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSetMethods inherited from interface io.jmix.charts.component.CoordinateChart
addAxisZoomListener, addGraphClickListener, addGraphItemClickListener, addGraphItemRightClickListener, addRollOutGraphItemListener, addRollOutGraphListener, addRollOverGraphItemListener, addRollOverGraphListener, zoomOutValueAxes, zoomOutValueAxis, zoomOutValueAxis, zoomValueAxisToValues, zoomValueAxisToValuesMethods inherited from interface io.jmix.charts.model.chart.CoordinateChartModel
addGraphs, addGuides, addValueAxes, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getUrlTarget, getValueAxes, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setUrlTarget, setValueAxesMethods inherited from interface io.jmix.charts.model.HasMargins
getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, setMarginBottom, setMarginLeft, setMarginRight, setMarginTopMethods inherited from interface io.jmix.charts.model.animation.HasStartEffect
getStartDuration, getStartEffect, setStartDuration, setStartEffectMethods inherited from interface io.jmix.charts.component.RectangularChart
addCursorPeriodSelectListener, addCursorZoomListenerMethods inherited from interface io.jmix.charts.model.chart.RectangularChartModel
addTrendLines, getAngle, getAutoMarginOffset, getAutoMargins, getChartCursor, getChartScrollbar, getDepth3D, getMarginsUpdated, getMaxZoomFactor, getMinMarginBottom, getMinMarginLeft, getMinMarginRight, getMinMarginTop, getPlotAreaBorderAlpha, getPlotAreaBorderColor, getPlotAreaFillAlphas, getPlotAreaFillColors, getPlotAreaGradientAngle, getTrendLines, getZoomOutButtonAlpha, getZoomOutButtonColor, getZoomOutButtonImage, getZoomOutButtonImageSize, getZoomOutButtonPadding, getZoomOutButtonRollOverAlpha, getZoomOutButtonTabIndex, getZoomOutText, setAngle, setAutoMarginOffset, setAutoMargins, setChartCursor, setChartScrollbar, setDepth3D, setMarginsUpdated, setMaxZoomFactor, setMinMarginBottom, setMinMarginLeft, setMinMarginRight, setMinMarginTop, setPlotAreaBorderAlpha, setPlotAreaBorderColor, setPlotAreaFillAlphas, setPlotAreaFillColors, setPlotAreaGradientAngle, setTrendLines, setZoomOutButtonAlpha, setZoomOutButtonColor, setZoomOutButtonImage, setZoomOutButtonImageSize, setZoomOutButtonPadding, setZoomOutButtonRollOverAlpha, setZoomOutButtonTabIndex, setZoomOutTextMethods inherited from interface io.jmix.charts.component.SeriesBasedChart
addCategoryItemClickListener, addZoomListener, zoomOut, zoomToDates, zoomToIndexesMethods inherited from interface io.jmix.charts.model.chart.SeriesBasedChartModel
getBalloonDateFormat, getCategoryAxis, getCategoryField, getColumnSpacing, getColumnSpacing3D, getColumnWidth, getDataDateFormat, getMaxSelectedSeries, getMaxSelectedTime, getMinSelectedTime, getMouseWheelScrollEnabled, getMouseWheelZoomEnabled, getRotate, getSynchronizeGrid, getValueScrollbar, getZoomOutOnDataUpdate, setBalloonDateFormat, setCategoryAxis, setCategoryField, setColumnSpacing, setColumnSpacing3D, setColumnWidth, setDataDateFormat, setMaxSelectedSeries, setMaxSelectedTime, setMinSelectedTime, setMouseWheelScrollEnabled, setMouseWheelZoomEnabled, setRotate, setSynchronizeGrid, setValueScrollbar, setZoomOutOnDataUpdate
-
Constructor Details
-
GanttChartImpl
public GanttChartImpl()
-
-
Method Details
-
createChartConfiguration
- Specified by:
createChartConfigurationin classChartImpl<GanttChart,GanttChartModelImpl>
-
getBrightnessStep
- Specified by:
getBrightnessStepin interfaceGanttChartModel<GanttChart>- Returns:
- brightness step
-
setBrightnessStep
Description copied from interface:GanttChartModelSets brightness step. Lightness increase of each subsequent bar of one series. Value range is from -255 to 255.- Specified by:
setBrightnessStepin interfaceGanttChartModel<GanttChart>- Parameters:
brightnessStep- brightness step- Returns:
- gantt chart model
-
getColorField
- Specified by:
getColorFieldin interfaceGanttChartModel<GanttChart>- Returns:
- segment color field
-
setColorField
Description copied from interface:GanttChartModelSets segment color field from your data provider.- Specified by:
setColorFieldin interfaceGanttChartModel<GanttChart>- Parameters:
colorField- color field string- Returns:
- gantt chart model
-
getColumnWidthField
- Specified by:
getColumnWidthFieldin interfaceGanttChartModel<GanttChart>- Returns:
- column width field
-
setColumnWidthField
Description copied from interface:GanttChartModelSets field of column width of a segments from your data provider.- Specified by:
setColumnWidthFieldin interfaceGanttChartModel<GanttChart>- Parameters:
columnWidthField- column width field string- Returns:
- gantt chart model
-
getDurationField
- Specified by:
getDurationFieldin interfaceGanttChartModel<GanttChart>- Returns:
- duration field
-
setDurationField
Description copied from interface:GanttChartModelSets duration field. Instead of specifying end date or end value in your data, you can specify duration of a segment.- Specified by:
setDurationFieldin interfaceGanttChartModel<GanttChart>- Parameters:
durationField- duration field string- Returns:
- gantt chart model
-
getEndDateField
- Specified by:
getEndDateFieldin interfaceGanttChartModel<GanttChart>- Returns:
- end date field
-
setEndDateField
Description copied from interface:GanttChartModelSets end date field from your data provider which holds end date of a segment.- Specified by:
setEndDateFieldin interfaceGanttChartModel<GanttChart>- Parameters:
endDateField- end date field string- Returns:
- gantt chart model
-
getEndField
- Specified by:
getEndFieldin interfaceGanttChartModel<GanttChart>- Returns:
- end field
-
setEndField
Description copied from interface:GanttChartModelSets end field from your data provider which holds end value of a segment. If your data is date-based, you should use endDateField instead, unless you specified startDate and period values. In this case you can use endField and set number of periods instead of providing exact end date. If not set the default value is "ss".- Specified by:
setEndFieldin interfaceGanttChartModel<GanttChart>- Parameters:
endField- end field string- Returns:
- gantt chart model
-
getGraph
- Specified by:
getGraphin interfaceGanttChartModel<GanttChart>- Returns:
- graph
-
setGraph
Description copied from interface:GanttChartModelSets graph of a Gantt chart. Gantt chart actually creates multiple graphs (separate for each segment). Properties of this graph are passed to each of the created graphs - this allows you to control the look of segments.- Specified by:
setGraphin interfaceGanttChartModel<GanttChart>- Parameters:
graph- the graph- Returns:
- gantt chart model
-
getPeriod
- Specified by:
getPeriodin interfaceGanttChartModel<GanttChart>- Returns:
- data period
-
setPeriod
Description copied from interface:GanttChartModelSets data period. Used only value axis is date-based.- Specified by:
setPeriodin interfaceGanttChartModel<GanttChart>- Parameters:
period- the period- Returns:
- gantt chart model
-
getSegmentsField
- Specified by:
getSegmentsFieldin interfaceGanttChartModel<GanttChart>- Returns:
- segments field
-
setSegmentsField
Description copied from interface:GanttChartModelSets segments field in your data provider.- Specified by:
setSegmentsFieldin interfaceGanttChartModel<GanttChart>- Parameters:
segmentsField- segments field string- Returns:
- gantt chart model
-
getStartDate
- Specified by:
getStartDatein interfaceGanttChartModel<GanttChart>- Returns:
- start date
-
setStartDate
Description copied from interface:GanttChartModelSets initial date of value axis. If you set this date, then you can set start, end, duration of segments using number of periods instead of providing exact dates.- Specified by:
setStartDatein interfaceGanttChartModel<GanttChart>- Parameters:
startDate- the start date- Returns:
- gantt chart model
-
getStartDateField
- Specified by:
getStartDateFieldin interfaceGanttChartModel<GanttChart>- Returns:
- start date field
-
setStartDateField
Description copied from interface:GanttChartModelSets date field from your data provider which holds start date of a segment.- Specified by:
setStartDateFieldin interfaceGanttChartModel<GanttChart>- Parameters:
startDateField- start date field string- Returns:
- gantt chart model
-
getStartField
- Specified by:
getStartFieldin interfaceGanttChartModel<GanttChart>- Returns:
- start field
-
setStartField
Description copied from interface:GanttChartModelSets start field from your data provider which holds start value of a segment. If your data is date-based, you should use startDateField instead, unless you specified startDate and period values. In this case you can use startField and set number of periods instead of providing exact start date.- Specified by:
setStartFieldin interfaceGanttChartModel<GanttChart>- Parameters:
startField- start field string- Returns:
- gantt chart model
-
getValueAxis
- Specified by:
getValueAxisin interfaceGanttChartModel<GanttChart>- Returns:
- value axis
-
setValueAxis
Description copied from interface:GanttChartModelSets value axis of Gantt chart. Set it's type to "date" if your data is date or time based.- Specified by:
setValueAxisin interfaceGanttChartModel<GanttChart>- Parameters:
valueAxis- the value axis- Returns:
- gantt chart model
-
getAdditionalSegmentFields
- Specified by:
getAdditionalSegmentFieldsin interfaceGanttChartModel<GanttChart>- Returns:
- additional segment fields that should be fetched from the data provider
-
setAdditionalSegmentFields
Description copied from interface:GanttChartModelSets the list of additional segment fields that should be fetched from the data provider, similarly to theadditionalFieldsattribute.- Specified by:
setAdditionalSegmentFieldsin interfaceGanttChartModel<GanttChart>- Parameters:
additionalSegmentFields- list of additional segment fields- Returns:
- gantt chart model
-
addAdditionalSegmentFields
Description copied from interface:GanttChartModelAdds additional segment fields.- Specified by:
addAdditionalSegmentFieldsin interfaceGanttChartModel<GanttChart>- Parameters:
fields- the fields- Returns:
- gantt chart model
-