GraffitiTimeline

Images #

About #

GraffitiTimeline is a powerful timeline display component designed to allow your users to view tasks in a time-oriented mechanism.

Features:

  • Locale support
  • Grouping
  • Orientation customization
  • Major and minor labels
  • Custom Styling
  • Rolling mode to track current time
  • User editing
  • Zoom
  • Point, Box, and Line item types

Enumerations #

NameValues
AlignmentsDefault
Center
Left
Right
AxisOrientationsBottom
Top
Both
None
HeightModesAuto
Fixed
FitItems
ItemOrientationsBottom
Top
SupportedLocalesen
en_US
en_GB
it
it_IT
it_CH
nl
nl_NL
nl_BE
de
de_DE
fr
fr_FR
fr_CA
fr_BE
uk
uk_UA
ru
ru_RU
pl
pl_PL
TimeScalesNone
Year
Month
Week
Weekday
Day
Hour
Minute
Second
Millisecond

Constants #

This class exposes no constants.

Events #

DefinitionParametersDescription
AxisRightClickatDate as DateRaised when the user right-clicks one of the axes.
X as Integer
Y as Integer
BarMovedBar as GraffitiTimelineBarRaised when the user drags a bar to a new position.
GroupBackgroundRightClickgroup as GraffitiTimelineGroupRaised when use right-clicks the background of a group.
atDate as Date
pageX as Integer
pageY as Integer
GroupLabelRightClickgroup as GraffitiTimelineGroupRaised when the user right-clicks a group label.
X as Integer
Y as Integer
GroupsOrderChangeNoneRaised when the user has reordered groups.
ItemActionitem as GraffitiTimelineItemRaised when the user clicks on an item.
ItemMoveditem as GraffitiTimelineItemRaised when the user has moved an item on the timeline.
ItemRemoveditem as GraffitiTimelineItemRaised when the user removes an item by clicking the X button.
ItemRightClickitem as GraffitiTimelineItemRaised when user right-clicks an item on the timeline.
pageX as Integer
pageY as Integer
ItemSelectionChangeselectedItems() as GraffitiTimelineItemRaised when the user has altered the selected items in the display.
RightClickatDate as DateRaised when the user right-clicked a part of the timeline that does not contain a group or item.
pageX as Integer
pageY as Integer
TimeActionatDate as DateRaised when user clicks an area of the timeline that does not contain an item.
toGroup as GraffitiTimelineGroup
ViewChangedNoneRaised when the user has change the viewable area range by scrolling, dragging, or zooming.

Methods #

DefinitionParametersReturn TypeDescription
AddBarnewBar as GraffitiTimelineBarNoneAdds a new bar to the timeline.
AddGroupnewGroup as GraffitiTimelineGroupNoneAdds a new group to the timeline.
AddItemnewItem as GraffitiTimelineItemNoneAdds a new item to the timeline.
AddRestrictionnewRestriction as GraffitiTimelineRestrictionNoneAdds a new restriction to the timeline.
BarAtIndex as IntegerGraffitiTimelineBarReturns the bar at the specified index.
DeselectAllNoneNoneDeselects all items.
GroupAtIndex as IntegerGraffitiTimelineGroupReturns the group at the specified index.
ItemAtIndex as IntegerGraffitiTimelineItemReturns the item at the specified index.
LastBarIndexNoneIntegerReturns the index of the final bar added.
LastGroupIndexNoneIntegerReturns the index of the final group added.
LastItemIndexNoneIntegerReturns the index of the final item added.
LastRestrictionIndexNoneIntegerReturns the index of the final restriction added.
RedrawNoneNoneForce a UI update.
RemoveAllBarsNoneNoneRemoves all bars from the component.
RemoveAllGroupsNoneNoneRemoves all groups from the component.
RemoveAllItemsNoneNoneRemoves all items from the component.
RemoveAllRestrictionsNoneNoneRemoves all restrictions from the component.
RemoveBarBarToRemove as GraffitiTimelineBarNoneRemoves the specified bar.
RemoveGroupGroupToRemove as GraffitiTimelineGroupNoneRemoves the specified group.
RemoveAllItems as Boolean = True
RemoveItemItemToRemove as GraffitiTimelineItemNoneRemoves the specified item.
RemoveRestrictionRestrictionToRemove as GraffitiTimelineRestrictionNoneRemoves the specified restriction.
RestrictionAtindex as IntegerGraffitiTimelineRestrictionReturns the restriction at the specified index.
ShowAllNoneNoneScroll and Zoom the display to fit all items.
ShowItemItemToShow as GraffitiTimelineItemNoneScroll and Zoom the display to show the specified item.
ShowTimeTimeToShow as DateNoneScroll and Zoom the display to show the specified date object’s value.
ZoomInPercentage as IntegerNoneZoom the display in by the supplied percentage value.
ZoomOutPercentage as IntegerNoneZoom the display out by the supplied percentage value.

Properties #

NameTypeDefault ValueDescription
AlignmentAlignmentsAlignments.DefaultAlignment of items with type ‘box’, ‘range’, and ‘background’.
CanAddItemBooleanTrueWhen True, users are able to add items by interacting with the component.
CanChangeItemGroupBooleanTrueWhen True, users can drag items from one group to another.
CanChangeItemTimeBooleanTrueWhen True, users can drag items to change their value.
CanMoveBooleanTrueSpecifies whether the Timeline can be moved and zoomed by dragging the window.
CanMultiselectBooleanTrueWhen True, users can select multiple items.
CanMultiselectGroupBooleanTrueWhen True, users can select multiple groups.
CanOrderGroupsBooleanTrueWhen True users can drag groups to reorder them.
CanRemoveGroupBooleanTrueWhen True, users can remove groups by interacting with the UI.
CanRemoveItemBooleanTrueWhen True, users can remove items by interacting with the UI.
CanSelectBooleanTrueWhen True, users can select items by clicking on them.
CanZoomBooleanTrueWhen True, users can zoom the display by interacting with it.
CanZoomMouseBooleanTrueWhen True, users can zoom the display using the mouse wheel.
DateMaximumDateNilThe maximum date and time that can be displayed.
DateMinimumDateNilThe minimum date and time that can be displayed.
DisplayLocaleSupportedLocalesSupportedLocales.enCurrent display locale.
FormatMajorDayStringMMMM YYYYMoment.js Formatting values for the specified zoom level.
FormatMajorHourStringddd D MMMMMoment.js Formatting values for the specified zoom level.
FormatMajorMillisecondStringHH:mm:ssMoment.js Formatting values for the specified zoom level.
FormatMajorMinuteStringddd D MMMMMoment.js Formatting values for the specified zoom level.
FormatMajorMonthStringYYYYMoment.js Formatting values for the specified zoom level.
FormatMajorSecondStringD MMMM HH:mmMoment.js Formatting values for the specified zoom level.
FormatMajorWeekStringMMMM YYYYMoment.js Formatting values for the specified zoom level.
FormatMajorWeekdayStringMMMM YYYYMoment.js Formatting values for the specified zoom level.
FormatMajorYearStringYYYYMoment.js Formatting values for the specified zoom level.
FormatMinorDayStringDMoment.js Formatting values for the specified zoom level.
FormatMinorHourStringHH:mmMoment.js Formatting values for the specified zoom level.
FormatMinorMillisecondStringSSSMoment.js Formatting values for the specified zoom level.
FormatMinorMinuteStringHH:mmMoment.js Formatting values for the specified zoom level.
FormatMinorMonthStringMMMMoment.js Formatting values for the specified zoom level.
FormatMinorSecondStringsMoment.js Formatting values for the specified zoom level.
FormatMinorWeekStringwMoment.js Formatting values for the specified zoom level.
FormatMinorWeekdayStringddd DMoment.js Formatting values for the specified zoom level.
FormatMinorYearStringYYYYMoment.js Formatting values for the specified zoom level.
HeightModeHeightModesHeightModes.AutoVertical sizing of the timeline display within the component.
MarginAxisInteger20Distance between axis points.
MarginItemHorizontalInteger10Margin for horizontal item display.
MarginItemVerticalInteger10Margin for vertical item display.
OrientationAxisAxisOrientationsAxisOrientations.BottomOrientation of axis display.
OrientationItemsItemOrientationsItemOrientations.BottomOrientation of items relative to the axis.
OverrideItemEditBooleanFalseWhen True, item edit properties are overridden in favor of those on the Timeline instance.
RollingModeBooleanFalseWhen True, the timeline display will shift continuously to display the current date/time at center.
RollingModeOffsetInteger50Set how far from the left the rolling mode is implemented from. Percentage value (0-100).
ShowCurrentTimeBooleanTrueWhen True, displays a bar at the current date/time that the user cannot interact with.
ShowHelpTagsBooleanTrueWhen the mouse is hovered of an item with a helptag, it will be displayed if this value is true.
ShowMajorLabelsBooleanTrueDetermines whether major labels, such as the day, are displayed.
ShowMinorLabelsBooleanTrueDetermines whether minor labels, such as seconds, are displayed.
TimeAxisScaleTimeScalesTimeScales.NoneGranularity of the time display.
TimeAxisStepInteger1Interval used for the TimeAxisScale.
ViewEndDateNilThe current maximum viewable date in the display.
ViewStartDateNilThe current minimum viewable date in the display.

Examples #

This class currently has no examples.

Notes #

This class currently has no notes.