A Gantt chart processing method, device, display terminal and storage medium

By setting target controls on the Gantt chart display interface, unbinding of display scales and drag scales is solved, and the problem of insufficient flexibility caused by display scales and drag scale binding in the prior art is solved, and user experience and task management efficiency is improved.

CN120085792BActive Publication Date: 2025-07-22WUHAN BAISIJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510558800.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-07-22
Estimated Expiration
2045-04-30

AI Technical Summary

Technical Problem

In the existing Gantt chart technology, the binding of display scales and drag scales leads to insufficient flexibility in drag operation, users cannot adjust freely according to their needs, and smaller drag operations cannot be achieved under larger granularity, which increases operation complexity and unintuitiveness.

Method used

Set the target control on the display interface of the Gantt chart. By displaying the scale adjustment window in response to user operations, and adjusting the display scale of the timeline and the drag scale of the plan bar respectively, the unbinding of the display scale and the drag scale can be achieved. Users can freely configure the combination of display scale and drag scale according to their needs.

Benefits of technology

It improves the flexibility and user experience of drag and drop operations, supports more complex task adjustment scenarios, improves the accuracy and efficiency of task planning and resource allocation, simplifies operational processes, and is suitable for diversified project management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120085792B_ABST
    Figure CN120085792B_ABST
Patent Text Reader

Abstract

The present invention relates to a Gantt chart processing method, device, display terminal and storage medium, belonging to the technical field of graphic processing. Among them, a target control is included on the display interface of the Gantt chart. The method includes: responding to a first operation on the target control, and displaying a scale adjustment window; responding to a second operation on the scale adjustment window, and adjusting the display scale of the time axis of the Gantt chart; responding to a third operation on the scale adjustment window, and adjusting the drag scale of the planned bar of the Gantt chart. The present invention realizes the decoupling of the display scale and the drag scale of the Gantt chart, enabling the user to set the display scale and the drag scale respectively according to needs, improving the flexibility of the drag operation and the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of graphics processing, and particularly to a Gantt chart processing method, device, display terminal, and storage medium. Background Art

[0002] A Gantt chart is a project management tool used to visualize project progress and task arrangements. It shows the time schedule, duration, and dependencies of tasks in the form of bar charts. Generally, a Gantt chart includes the following components: ① Task list: usually located on the left side of the chart, listing all task plans in the project; ② Time axis: located at the top or bottom of the chart, representing the time range of the project (such as days, weeks, months); ③ Bar chart: each task plan corresponds to a bar box, and the length of the bar box represents the duration of the task plan, and the position of the bar box represents the start and end times of the task; ④ Dependencies: use arrows or lines to connect related task plans to represent the dependencies between task plans; ⑤ Milestones: mark important nodes of the project with special symbols (such as diamonds).

[0003] In the current implementation of Gantt charts, there is a problem of tight binding between the display scale and the drag scale. When the Gantt chart is set to display the scale of the time axis in "years", at this time, the user can only drag the bar box corresponding to the task plan in "years". If the user needs to drag the bar box in "days", the display scale must be switched to "days", resulting in an overly complex and unintuitive view. In summary, in the current Gantt chart processing technology, the adjustment of the display scale and the drag scale is not flexible enough. Summary of the Invention

[0004] In view of this, it is necessary to provide a Gantt chart processing method, device, display terminal, and storage medium to solve the problem of insufficient flexibility in drag operations caused by the binding of the display scale and the drag scale of Gantt charts in the prior art.

[0005] To solve the above problems, in a first aspect, the present invention provides a Gantt chart processing method. The display interface of the Gantt chart includes a target control, and the method includes:

[0006] Responding to a first operation on the target control, displaying a scale adjustment window;

[0007] Responding to a second operation on the scale adjustment window, adjusting the display scale of the time axis of the Gantt chart;

[0008] Responding to a third operation on the scale adjustment window, adjusting the drag scale of the plan bar of the Gantt chart.

[0009] Optionally, the scale adjustment window includes a plurality of display scale options and a plurality of drag scales options; the adjusting the display scale of the time axis of the Gantt chart in response to a second operation on the scale adjustment window includes:

[0010] Adjusting the display scale of the time axis of the Gantt chart in response to a second operation on a target display scale option among the plurality of display scale options; the target display scale option is one of the plurality of display scale options;

[0011] The adjusting the drag scale of the planned bar of the Gantt chart in response to a third operation on the scale adjustment window includes:

[0012] Adjusting the drag scale of the planned bar of the Gantt chart in response to a third operation on a target drag scale option among the plurality of drag scale options; the target drag scale option is one of the plurality of drag scale options.

[0013] Optionally, the time granularities of the plurality of display scale options are different.

[0014] Optionally, the time granularities of the plurality of drag scale options are different, and the minimum time granularity of the drag scale option is less than the minimum time granularity of the display scale option.

[0015] Optionally, the method further includes:

[0016] After the user performs a drag operation on the planned bar, changing the start and end times of the planned bar according to the position information of the planned bar after the drag operation and the current drag scale of the planned bar after the second operation.

[0017] Optionally, the changing the start and end times of the planned bar according to the position information of the planned bar after the drag operation and the current drag scale of the planned bar after the second operation includes:

[0018] Determining a first start and end time of the planned bar on the time axis according to the position information of the planned bar after the drag operation;

[0019] Rounding the first start and end time according to the current drag scale of the planned bar after the second operation to obtain a second start and end time; wherein, the second start and end time meets the scale requirements of the current drag scale and is closest to the first start and end time.

[0020] Optionally, the method further includes:

[0021] Determining a target position of the planned bar according to the second start and end time and displaying the planned bar at the target position.

[0022] In a second aspect, the present invention further provides a Gantt chart processing device. A target control is included on the display interface of the Gantt chart. The device includes:

[0023] A scale adjustment window display module, configured to display a scale adjustment window in response to a first operation on the target control;

[0024] A display scale adjustment module, configured to adjust the display scale of the time axis of the Gantt chart in response to a second operation on the scale adjustment window;

[0025] A drag scale adjustment module, configured to adjust the drag scale of the schedule bar of the Gantt chart in response to a third operation on the scale adjustment window.

[0026] In a third aspect, the present invention further provides a display terminal, including a memory and a processor. The memory is configured to store a program, and the processor is coupled to the memory and configured to execute the program stored in the memory to implement the steps in the Gantt chart processing method described in any one of the above.

[0027] In a fourth aspect, the present invention further provides a computer-readable storage medium, configured to store a computer-readable program. When the program or instruction is executed by a processor, it can implement the steps in the Gantt chart processing method described in any one of the above.

[0028] The beneficial effects of the present invention are as follows:

[0029] By setting a target control on the display interface of the Gantt chart in the present invention, when the user performs a first operation on the target control, a scale adjustment window is displayed; when the user performs a second operation on the scale adjustment window, the display scale of the time axis of the Gantt chart is adjusted according to the second operation; when the user performs a third operation on the scale adjustment window, the drag scale of the schedule bar of the Gantt chart is adjusted according to the third operation, realizing the decoupling of the display scale and the drag scale of the Gantt chart, enabling the user to set the display scale and the drag scale separately according to needs, and improving the flexibility of the drag operation and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 is a schematic flowchart of an embodiment of the Gantt chart processing method provided by the present invention;

[0031] Figure 2 is a schematic diagram of a Gantt chart display interface provided by the present invention;

[0032] Figure 3 is a schematic flowchart of the start and end time adjustment process of the schedule bar after a drag operation provided by the present invention;

[0033] Figure 4A schematic structural diagram of an embodiment of a Gantt chart processing device provided by the present invention. DETAILED DESCRIPTION

[0034] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0035] In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" is two or more. The "first", "second", etc. involved in the embodiments of the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence, nor are they used to indicate or imply their relative importance or implicitly indicate the number of technical features indicated. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more.

[0036] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0037] Reference Figure 1 , shows a flow chart of an embodiment of a Gantt chart processing method provided by the present invention, the method comprising:

[0038] S101, in response to a first operation on a target control, displaying a scale adjustment window.

[0039] S102: In response to a second operation on the scale adjustment window, adjusting the display scale of the time axis of the Gantt chart.

[0040] S103: In response to a third operation on the scale adjustment window, adjusting the drag scale of the plan bar of the Gantt chart.

[0041] The Gantt chart processing method provided in this embodiment can be applied to a Gantt chart processing system, which can be a software system running on a terminal device. The terminal device can be a tablet computer, a vehicle-mounted device, an Augmented Reality (AR) / Virtual Reality (VR) device, a laptop computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a mobile phone, or other terminal devices. This embodiment does not impose any restrictions on the specific type of the terminal device.

[0042] The display scale refers to the display mode of the time axis in the Gantt chart and is the unit of the scale on the time axis. It determines the level of detail shown in the Gantt chart within a specific time range.

[0043] Dragging the scale refers to the smallest unit for adjusting the time of the task bar.

[0044] The task bar refers to the bar-shaped box used to represent the task plan in the Gantt chart. For example, it can be a bar-shaped box representing a certain stage in a project, a bar-shaped box representing a certain process in a stage, or a bar-shaped box representing a certain task in a process, etc.

[0045] The display interface of the Gantt chart may include a target control, which can be a control integrating the display scale adjustment function and the drag scale adjustment function. When the user performs a first operation on the target control, a display scale adjustment window is displayed. Among them, the first operation can be a click operation, a double-click operation, a long-press operation, etc. The scale adjustment window may include multiple display scale options and multiple drag scale options, or include a display scale input box and a drag scale input box, or include a display scale bar and a drag scale bar, etc.

[0046] The second operation can be an operation where the user enters the target display scale in the scale adjustment window. For example, it can be an operation where the user selects the target display scale from multiple display scale options, or an operation where the user enters the target display scale in the display scale input box, or an operation where the user drags the display scale bar, etc.

[0047] The third operation can be an operation where the user enters the target drag scale in the scale adjustment window. For example, it can be an operation where the user selects the target drag scale from multiple drag scale options, or an operation where the user enters the target drag scale in the drag scale input box, or an operation where the user drags the drag scale bar, etc.

[0048] After receiving the second operation, the system adjusts the display scale of the time axis of the drag Gantt chart according to the second operation. After receiving the third operation, the system adjusts the drag scale of the planned bar of the Gantt chart according to the third operation.

[0049] In the present invention, by setting a target control on the display interface of the Gantt chart, when the user performs a first operation on the target control, a scale adjustment window is displayed; after the user performs a second operation on the scale adjustment window, the display scale of the time axis of the Gantt chart is adjusted according to the second operation; after the user performs a third operation on the scale adjustment window, the drag scale of the planned bar of the Gantt chart is adjusted according to the third operation, realizing the decoupling of the display scale and the drag scale of the Gantt chart, enabling the user to set the display scale and the drag scale separately according to needs, and improving the flexibility of the drag operation and the user experience.

[0050] In one embodiment, the scale adjustment window includes a plurality of display scale options and a plurality of drag scale options. S102 may include: in response to a second operation on a target display scale option among the plurality of display scale options, adjusting the display scale of the time axis of the Gantt chart; the target display scale option is one of the plurality of display scale options. And, S103 may include: in response to a third operation on a target drag scale option among the plurality of drag scale options, adjusting the drag scale of the planned bar of the Gantt chart; the target drag scale option is one of the plurality of drag scale options.

[0051] In one embodiment, the time granularities of the plurality of display scale options are different. For example, the display scale options may include at least one of: a first option indicating display in years, a second option indicating display in quarters, a third option indicating display in months, a fourth option indicating display in weeks, a fifth option indicating display in days, a sixth option indicating display in hours, and a seventh option indicating display in minutes.

[0052] In one embodiment, the time granularities of the plurality of drag scale options are different. For example, the drag scale options may include at least one of: an eighth option indicating dragging in years, a ninth option indicating dragging in quarters, a tenth option indicating dragging in months, an eleventh option indicating dragging in weeks, a twelfth option indicating dragging in days, a thirteenth option indicating dragging in hours, and a fourteenth option indicating dragging in minutes.

[0053] In one embodiment, the minimum time granularity of the drag scale option can be smaller than the minimum time granularity of the display scale option. For example, the drag scale option with the minimum time granularity is the thirteenth option indicating dragging in hours, and the display scale option with the minimum time granularity is the fifth option indicating display in days.

[0054] Referring to Figure 2 , a schematic diagram of a Gantt chart display interface provided by the present invention is shown. The display interface of the Gantt chart includes a target control. When the target control is clicked, a plurality of display scale options and a plurality of drag scale options are displayed. The display scale options include "year", "quarter", "month", "week", "day", "hour", and "minute". When the user selects "week" in the display scale options, the Gantt chart is displayed in weeks, that is, the unit of the time axis of the Gantt chart is set to weeks. The drag scale options include "week", "day", and "hour". When the user selects "day" in the drag scale options, after the user drags the plan bar in the Gantt chart, the start and end times of the plan bar are changed in days, as well as the position of the plan bar.

[0055] In one embodiment, after the user drags the plan bar, according to the position information of the plan bar after the drag operation and the current drag scale of the plan bar after the second operation, the start and end times of the plan bar are changed.

[0056] For example, if the user sets the drag scale to "hour", then when dragging the plan bar, the adjustment of the start and end times of the plan bar can only be an integer multiple of 1 hour. Similarly, when the drag scale is "day", the adjustment of the start and end times can only be an integer multiple of 1 day. During the process of dragging the plan bar, the start and end times of the plan bar may temporarily show a value that does not match the drag scale (for example, when the plan bar is dragged to a random position). When the user ends the drag (releases the mouse), the system will "align" the value to the closest scale according to the current drag scale.

[0057] Referring to Figure 3 , a schematic diagram of the adjustment process of the start and end times of the plan bar after a drag operation provided by the present invention is shown.

[0058] S301, according to the position information of the plan bar after the drag operation, determine the first start and end times of the plan bar on the time axis.

[0059] S302, perform a rounding process on the first start and end times according to the current drag scale of the plan bar after the second operation to obtain the second start and end times; wherein, the second start and end times meet the scale requirements of the current drag scale and are closest to the first start and end times.

[0060] The location information may include pixel positions. For example, the pixel corresponding to the start position of the planned bar or the pixel corresponding to the end position of the planned bar. There is a mapping relationship between the position of the planned bar in the display interface and the time corresponding to it on the timeline. Therefore, according to the location information of the planned bar after the drag operation, the first start and end time of the planned bar on the timeline can be determined, and the first start and end time includes the first start time and the first end time.

[0061] The first start and end time is the start time corresponding to the current location information, but this time may not meet the current drag scale requirement. For example, the current drag scale is "hour". Before the drag operation, the start time of the planned bar is 12:00. When the drag operation is performed, the user drags the planned bar to a random position, and the start time of the planned bar at this position is 13:15 (the first start time). According to the current drag scale, the start time of the planned bar can only be changed in hours. Therefore, obviously, the time 13:15 does not meet the current drag scale. Therefore, it is necessary to round the first start and end time to obtain the second start and end time.

[0062] For example, if the set drag scale (current drag scale) is "hour", after the drag operation, if the first start time of the bar on the timeline is determined to be 13:45, this time will be rounded to the nearest hour scale of 14:00. If after the drag operation, the first start time is 13:15, this time will be rounded to 13:00.

[0063] Another example:

[0064] Scenario 1: The drag scale is "hour"; the display scale is "day".

[0065] Drag operation: The user drags the planned bar, and the start time of the planned bar is adjusted from 10:30 to 13:20.

[0066] Result: According to the drag scale "hour", the system rounds 13:20 to the nearest hour scale of 13:00 or 14:00. The final task start time is 13:00.

[0067] Scenario 2: The drag scale is "30 minutes" and the display scale is "hour".

[0068] Drag operation: The user drags the planned bar, and the end time of the planned bar is adjusted from 15:10 to 15:43.

[0069] Result: According to the drag scale "30 minutes", the system rounds 15:43 to the nearest 30 - minute scale of 15:30 or 16:00. The final task end time is 15:30.

[0070] The core function of dragging the scale is to define the minimum unit for adjusting the time of the schedule bar and align the adjusted time to these units through rounding logic, avoiding time values that do not meet the requirements of the dragged scale (for example, if the dragged scale is 1 hour and the start time of the schedule bar is adjusted to 13:34 after the drag operation, which does not meet the requirements of the dragged scale), ensuring that the start and end times of the schedule bar are accurate and meet the requirements of the dragged scale.

[0071] In one embodiment, before the user finishes the drag operation (before releasing the mouse), after obtaining the second start and end times based on the current position information of the schedule bar, the second start and end times are displayed so that the user knows the start and end times corresponding to the schedule bar if the drag operation ends at the current position.

[0072] In one embodiment, the Gantt chart processing method further includes: determining the target position of the schedule bar according to the second start and end times and displaying the schedule bar at the target position.

[0073] Referring to the above embodiment, when the user drags the schedule bar, the first start and end times of the obtained schedule bar may not meet the current dragged scale. Therefore, it is necessary to perform rounding processing on the first start and end times so that the obtained second start and end times meet the current dragged scale. At this time, the position of the schedule bar also needs to be correspondingly changed.

[0074] In one embodiment, S102 may include: in response to a second operation on the scale adjustment window, adjusting the display scale of the time axis of the Gantt chart by displaying the scale component; S103 includes: in response to a third operation on the scale adjustment window, adjusting the dragged scale of the schedule bar of the Gantt chart by dragging the scale component; the display scale component and the dragged scale component are in a non-coupled relationship.

[0075] In this embodiment, the display scale component is responsible for displaying the scale logic, and the dragged scale component implements the dragged scale logic. The display scale component and the dragged scale component are in a decoupled relationship. The display scale component and the dragged scale component perform data interaction through a unified time parsing and mapping interface.

[0076] For example, display scale: responsible for the position of the markers on the time axis (for example, "month" corresponds to 200 pixels). Dragged scale: determines how much time is adjusted when the user drags the schedule bar by dragging a certain number of pixels (for example, dragging 6.6 pixels adjusts 1 day). When performing a drag operation, both the display scale component and the dragged scale component need to obtain the pixel position of the schedule bar and convert the pixel position to time, or convert time to pixel position.

[0077] In one embodiment, the drag operation can be a drag of the entire schedule bar, or a drag of the start position of the schedule bar or the end position of the schedule bar. The process of determining the time corresponding to the start position or end position of the schedule bar after the drag operation can refer to the aboveFigure 3 Embodiments

[0078] In summary, the prior art has the following problems: ① Users cannot freely adjust and drag the scale according to their needs; ② Under the display scale of a larger granularity (such as year, month), it is impossible to perform drag operations with a smaller granularity (such as day, hour); ③ Before and after performing the drag operation, it is necessary to frequently switch the display scale, increasing the operation complexity, which is not intuitive and efficient enough.

[0079] By decoupling the display scale and the drag scale, the present invention can achieve the following beneficial effects:

[0080] ① Improve flexibility

[0081] Users can freely configure the combination of the display scale and the drag scale according to the task adjustment requirements. For example, when the display scale is "year", the drag scale for operating the task bar can be "month" or "day".

[0082] Support more complex task adjustment scenarios, suitable for a wide range of requirements from long-term project management to short-term task tracking.

[0083] ② Enhance accuracy

[0084] Under a large-granularity display scale (such as year, month), it is still possible to perform small-granularity dragging (such as day, hour, minute), improving the accuracy of task planning and adjustment.

[0085] ③ Optimize the user experience

[0086] Avoid the operation complexity caused by frequent switching of the display scale, simplify the task adjustment process, and enable users to more efficiently manage and adjust tasks in the Gantt chart.

[0087] ④ Improve task planning and progress management

[0088] The flexible combination of time granularities can help users more scientifically formulate task plans and optimize resource allocation, improving the overall project management efficiency.

[0089] It is especially suitable for complex project scenarios with long project cycles and diverse task granularities, such as software development, construction projects, manufacturing production plans, etc.

[0090] Referring to Figure 4 , a schematic structural diagram of an embodiment of the Gantt chart processing device provided by the present invention is shown. The display interface of the Gantt chart includes a target control. The device 40 includes:

[0091] A scale adjustment window display module 401, configured to display a scale adjustment window in response to a first operation on the target control;

[0092] A display scale adjustment module 402, configured to adjust the display scale of the time axis of the Gantt chart in response to a second operation on the scale adjustment window;

[0093] A drag scale adjustment module 403, configured to adjust the drag scale of the planned bar of the Gantt chart in response to a third operation on the scale adjustment window.

[0094] It should be noted that: the implementation principle or implementation process of the above modules can refer to the embodiments of the foregoing Gantt chart processing method, which will not be elaborated here one by one.

[0095] In one embodiment, the present invention further provides a display terminal, including a memory and a processor, where a computer program is stored on the memory, and when the computer program is executed by the processor, the steps of any of the above Gantt chart processing methods are implemented.

[0096] The display terminal may be a terminal device with a display screen. The terminal device may be a desktop computer, a portable computer, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, etc. The type of the terminal device is not limited in this embodiment.

[0097] In one embodiment, the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps of any of the above Gantt chart processing methods are implemented.

[0098] Those skilled in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. Among them, the computer-readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory, etc.

[0099] As described above, only the preferred specific embodiments of the present invention are provided, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention.

Claims

1. A Gantt chart processing method, characterized in that The display interface of the Gantt chart includes a target control, and the method includes: In response to a first operation on the target control, a scale adjustment window is displayed; In response to a second operation on the scale adjustment window, the display scale of the time axis of the Gantt chart is adjusted; In response to a third operation on the scale adjustment window, the drag scale of the schedule bar of the Gantt chart is adjusted; Wherein, the scale adjustment window includes multiple display scale options and multiple drag scale options; the step of adjusting the display scale of the time axis of the Gantt chart in response to the second operation on the scale adjustment window includes: In response to a second operation on a target display scale option among the multiple display scale options, the display scale of the time axis of the Gantt chart is adjusted; the target display scale option is one of the multiple display scale options; The step of adjusting the drag scale of the schedule bar of the Gantt chart in response to the third operation on the scale adjustment window includes: In response to a third operation on a target drag scale option among the multiple drag scale options, the drag scale of the schedule bar of the Gantt chart is adjusted; the target drag scale option is one of the multiple drag scale options.

2. The Gantt chart processing method according to claim 1, characterized in that, The time granularities of the multiple display scale options are different.

3. The Gantt chart processing method according to claim 1, wherein, The time granularities of the multiple drag scale options are different, and the minimum time granularity of the drag scale option is less than the minimum time granularity of the display scale option.

4. The Gantt chart processing method according to claim 1, characterized in that, The method further includes: After the user performs a drag operation on the schedule bar, the start and end times of the schedule bar are changed according to the position information of the schedule bar after the drag operation and the current drag scale of the schedule bar after the second operation.

5. The Gantt chart processing method according to claim 4, characterized in that, The step of changing the start and end times of the schedule bar according to the position information of the schedule bar after the drag operation and the current drag scale of the schedule bar after the second operation includes: Determining a first start and end time of the schedule bar on the time axis according to the position information of the schedule bar after the drag operation; Performing a rounding process on the first start and end time according to the current drag scale of the schedule bar after the second operation to obtain a second start and end time; wherein, the second start and end time meets the scale requirements of the current drag scale and is closest to the first start and end time.

6. The Gantt chart processing method according to claim 5, wherein, The method further includes: Determining a target position of the schedule bar according to the second start and end time, and displaying the schedule bar at the target position.

7. A Gantt chart processing device, characterized in that, The display interface of the Gantt chart includes a target control, and the device includes: A scale adjustment window display module, configured to display a scale adjustment window in response to a first operation on the target control; A display scale adjustment module, configured to adjust the display scale of the time axis of the Gantt chart in response to a second operation on the scale adjustment window; A drag scale adjustment module, configured to adjust the drag scale of the schedule bar of the Gantt chart in response to a third operation on the scale adjustment window; Wherein, the scale adjustment window includes multiple display scale options and multiple drag scale options; the step of adjusting the display scale of the time axis of the Gantt chart in response to the second operation on the scale adjustment window includes: In response to a second operation on a target display scale option among the multiple display scale options, adjust the display scale of the time axis of the Gantt chart; the target display scale option is one of the multiple display scale options; The adjusting of the dragging scale of the planned bars of the Gantt chart in response to a third operation on the scale adjustment window includes: In response to a third operation on a target dragging scale option among the multiple dragging scale options, adjust the dragging scale of the planned bars of the Gantt chart; the target dragging scale option is one of the multiple dragging scale options.

8. A display terminal, characterized in that, Comprising a memory and a processor, wherein, The memory is used for storing programs; The processor, coupled to the memory, is used for executing the programs stored in the memory to implement the steps in the Gantt chart processing method according to any one of claims 1 to 6 above.

9. A computer-readable storage medium, characterized in that, For storing computer-readable programs, when the programs or instructions are executed by a processor, they can implement the steps in the Gantt chart processing method according to any one of claims 1 to 6 above.