public class GanttChart extends AbstractSerialChart<GanttChart> implements GanttChartModel<GanttChart>
AbstractChart.DataProviderChangeListener
Constructor and Description |
---|
GanttChart() |
Modifier and Type | Method and Description |
---|---|
GanttChart |
addAdditionalSegmentFields(java.lang.String... fields)
Adds additional segment fields.
|
java.util.List<java.lang.String> |
getAdditionalSegmentFields() |
java.lang.Integer |
getBrightnessStep() |
java.lang.String |
getColorField() |
java.lang.String |
getColumnWidthField() |
java.lang.String |
getDurationField() |
java.lang.String |
getEndDateField() |
java.lang.String |
getEndField() |
Graph |
getGraph() |
DatePeriod |
getPeriod() |
java.lang.String |
getSegmentsField() |
java.util.Date |
getStartDate() |
java.lang.String |
getStartDateField() |
java.lang.String |
getStartField() |
ValueAxis |
getValueAxis() |
GanttChart |
setAdditionalSegmentFields(java.util.List<java.lang.String> additionalSegmentFields)
Sets the list of additional segment fields that should be fetched from the data provider, similarly to the
additionalFields attribute. |
GanttChart |
setBrightnessStep(java.lang.Integer brightnessStep)
Sets brightness step.
|
GanttChart |
setColorField(java.lang.String colorField)
Sets segment color field from your data provider.
|
GanttChart |
setColumnWidthField(java.lang.String columnWidthField)
Sets field of column width of a segments from your data provider.
|
GanttChart |
setDurationField(java.lang.String durationField)
Sets duration field.
|
GanttChart |
setEndDateField(java.lang.String endDateField)
Sets end date field from your data provider which holds end date of a segment.
|
GanttChart |
setEndField(java.lang.String endField)
Sets end field from your data provider which holds end value of a segment.
|
GanttChart |
setGraph(Graph graph)
Sets graph of a Gantt chart.
|
GanttChart |
setPeriod(DatePeriod period)
Sets data period.
|
GanttChart |
setSegmentsField(java.lang.String segmentsField)
Sets segments field in your data provider.
|
GanttChart |
setStartDate(java.util.Date startDate)
Sets initial date of value axis.
|
GanttChart |
setStartDateField(java.lang.String startDateField)
Sets date field from your data provider which holds start date of a segment.
|
GanttChart |
setStartField(java.lang.String startField)
Sets start field from your data provider which holds start value of a segment.
|
GanttChart |
setValueAxis(ValueAxis valueAxis)
Sets value axis of Gantt chart.
|
getBalloonDateFormat, getCategoryAxis, getCategoryField, getColumnSpacing, getColumnSpacing3D, getColumnWidth, getDataDateFormat, getMaxSelectedSeries, getMaxSelectedTime, getMinSelectedTime, getMouseWheelScrollEnabled, getMouseWheelZoomEnabled, getRotate, getSynchronizeGrid, getValueScrollbar, getWiredFields, getZoomOutOnDataUpdate, setBalloonDateFormat, setCategoryAxis, setCategoryField, setColumnSpacing, setColumnSpacing3D, setColumnWidth, setDataDateFormat, setMaxSelectedSeries, setMaxSelectedTime, setMinSelectedTime, setMouseWheelScrollEnabled, setMouseWheelZoomEnabled, setRotate, setSynchronizeGrid, setValueScrollbar, setZoomOutOnDataUpdate
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, setAngle, setAutoMarginOffset, setAutoMargins, setChartCursor, setChartScrollbar, setDepth3D, setMarginBottom, setMarginLeft, setMarginRight, setMarginsUpdated, setMarginTop, setMaxZoomFactor, setMinMarginBottom, setMinMarginLeft, setMinMarginRight, setMinMarginTop, setPlotAreaBorderAlpha, setPlotAreaBorderColor, setPlotAreaFillAlphas, setPlotAreaFillColors, setPlotAreaGradientAngle, setTrendLines, setZoomOutButtonAlpha, setZoomOutButtonColor, setZoomOutButtonImage, setZoomOutButtonImageSize, setZoomOutButtonPadding, setZoomOutButtonRollOverAlpha, setZoomOutButtonTabIndex, setZoomOutText
addColors, addGraphs, addGuides, addValueAxes, getColors, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getStartDuration, getStartEffect, getUrlTarget, getValueAxes, setColors, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setStartDuration, setStartEffect, setUrlTarget, setValueAxes
addAdditionalFields, addData, addDataProviderChangeListener, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, 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, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getType, getUsePrefixes, removeDataProviderSetListener, setAccessible, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDataProvider, 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, setUsePrefixes
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
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, setZoomOutText
addGraphs, addGuides, addValueAxes, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getUrlTarget, getValueAxes, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setUrlTarget, setValueAxes
addAdditionalFields, addData, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, 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, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, setAccessible, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDataProvider, 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, setUsePrefixes
getStartDuration, getStartEffect, setStartDuration, setStartEffect
addColors, getColors, setColors
getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop
public java.lang.Integer getBrightnessStep()
getBrightnessStep
in interface GanttChartModel<GanttChart>
public GanttChart setBrightnessStep(java.lang.Integer brightnessStep)
GanttChartModel
setBrightnessStep
in interface GanttChartModel<GanttChart>
brightnessStep
- brightness steppublic java.lang.String getColorField()
getColorField
in interface GanttChartModel<GanttChart>
public GanttChart setColorField(java.lang.String colorField)
GanttChartModel
setColorField
in interface GanttChartModel<GanttChart>
colorField
- color field stringpublic java.lang.String getColumnWidthField()
getColumnWidthField
in interface GanttChartModel<GanttChart>
public GanttChart setColumnWidthField(java.lang.String columnWidthField)
GanttChartModel
setColumnWidthField
in interface GanttChartModel<GanttChart>
columnWidthField
- column width field stringpublic java.lang.String getDurationField()
getDurationField
in interface GanttChartModel<GanttChart>
public GanttChart setDurationField(java.lang.String durationField)
GanttChartModel
setDurationField
in interface GanttChartModel<GanttChart>
durationField
- duration field stringpublic java.lang.String getEndDateField()
getEndDateField
in interface GanttChartModel<GanttChart>
public GanttChart setEndDateField(java.lang.String endDateField)
GanttChartModel
setEndDateField
in interface GanttChartModel<GanttChart>
endDateField
- end date field stringpublic java.lang.String getEndField()
getEndField
in interface GanttChartModel<GanttChart>
public GanttChart setEndField(java.lang.String endField)
GanttChartModel
setEndField
in interface GanttChartModel<GanttChart>
endField
- end field stringpublic Graph getGraph()
getGraph
in interface GanttChartModel<GanttChart>
public GanttChart setGraph(Graph graph)
GanttChartModel
setGraph
in interface GanttChartModel<GanttChart>
graph
- the graphpublic DatePeriod getPeriod()
getPeriod
in interface GanttChartModel<GanttChart>
public GanttChart setPeriod(DatePeriod period)
GanttChartModel
setPeriod
in interface GanttChartModel<GanttChart>
period
- the periodpublic java.lang.String getSegmentsField()
getSegmentsField
in interface GanttChartModel<GanttChart>
public GanttChart setSegmentsField(java.lang.String segmentsField)
GanttChartModel
setSegmentsField
in interface GanttChartModel<GanttChart>
segmentsField
- segments field stringpublic java.util.Date getStartDate()
getStartDate
in interface GanttChartModel<GanttChart>
public GanttChart setStartDate(java.util.Date startDate)
GanttChartModel
setStartDate
in interface GanttChartModel<GanttChart>
startDate
- the start datepublic java.lang.String getStartDateField()
getStartDateField
in interface GanttChartModel<GanttChart>
public GanttChart setStartDateField(java.lang.String startDateField)
GanttChartModel
setStartDateField
in interface GanttChartModel<GanttChart>
startDateField
- start date field stringpublic java.lang.String getStartField()
getStartField
in interface GanttChartModel<GanttChart>
public GanttChart setStartField(java.lang.String startField)
GanttChartModel
setStartField
in interface GanttChartModel<GanttChart>
startField
- start field stringpublic ValueAxis getValueAxis()
getValueAxis
in interface GanttChartModel<GanttChart>
public GanttChart setValueAxis(ValueAxis valueAxis)
GanttChartModel
setValueAxis
in interface GanttChartModel<GanttChart>
valueAxis
- the value axispublic java.util.List<java.lang.String> getAdditionalSegmentFields()
getAdditionalSegmentFields
in interface GanttChartModel<GanttChart>
public GanttChart setAdditionalSegmentFields(java.util.List<java.lang.String> additionalSegmentFields)
GanttChartModel
additionalFields
attribute.setAdditionalSegmentFields
in interface GanttChartModel<GanttChart>
additionalSegmentFields
- list of additional segment fieldspublic GanttChart addAdditionalSegmentFields(java.lang.String... fields)
GanttChartModel
addAdditionalSegmentFields
in interface GanttChartModel<GanttChart>
fields
- the fields