UI Element BusinessGraphics (chartType
gantt)
The BusinessGraphics
UI element is an element that links the Web Dynpro Framework with the
Internet Graphics
Service (IGS). In the
development environment, once you have bound the UI element and its
subelements to relevant context attributes, an XML file is generated at
runtime from this data and passed to the Internet Graphics Service.
This creates the graphic you want to
subsequently display in the Web Dynpro application.
Unlike the Gantt UI element, this implementation of a Gantt chart has very restricted interaction possibilities. For instance, you can trigger various click events, but you cannot change anything in the chart.
The UI elements in
the BusinessGraphics group use the
Chart Engine of
the
Internet Graphics
Service Framework (IGS). This framework is automatically installed with each
AS ABAP. The
Chart Designer
control is used to create charts. It is also a standard component of the SAP
GUI.
To use a BusinessGraphics UI element as a Gantt chart, you have to make the following settings:
1. Once you have embedded the BusinessGraphics UI element into your view, set the chartType property too gantt.
2. In the UI element hierarchy, the subelements below have to be inserted for the element of type BusinessGraphics in parallel:
a. At least one Category element
b. At least one Series element. An element of type Point is created automatically beneath the series element. You can create any number of value elements below the point element. These are either of type NumericValue or of type TimeValue.
The terms series and point are explained in more detail in the documentation for the Internet Graphics Service. In a Gantt chart a series is always a horizontal column, which for instance represents the length of time of a specific project task. Usually several horizontal bars are displayed one above the other. Categories, on the other hand, are used to divide up the time axis. Standard categories are months or years, or maybe different project phases.