How to create calendar grid histogram using Gantt chart

Since the first commercial version of Xgantt in 1998, Xgantt has been committed to the research and development of controls in planning and project management. After more than 20 years of accumulation and precipitation, it can currently provide software developers and end users with the best The top-level planning and project management control products help users quickly integrate the Gantt chart, network chart, resource histogram, schedule calendar, resource scheduling and other functional modules required by project management software, and provide a full range of support and services .

VARCHART XGantt is a powerful Gantt chart control, its modular design allows you to create applications that meet your needs. XGantt can be used in .NET, ActiveX and ASP.NET applications. It can be quickly and simply integrated into your application to help you identify performance bottlenecks, avoid delays, and efficiently use resources, making complex data easier to understand.

VARCHART XGantt has been on the market for nearly 30 years. It provides the most complete C#Gantt chart control, which can be used to build modern and reliable industry resource scheduling applications.

Click to download the official version of VARCHART XGantt

You can assign one or more calendar grids to a histogram, so that different calendar grids in the Gantt chart can also be visible in the histogram.

To assign your own calendar grid to the histogram, three conditions must be met:

  1. A calendar must be assigned to the histogram
  2. The calendar grid must be turned on
    3. An appearance that allows the calendar grid to be displayed must be defined

Insert picture description here

Calendar allocation, calendar grid opens

The corresponding API call is:

Sample code VB.NET

// assigning the calendar to the histogram (by the calendar name)
histogram.calendarName = group.DataField(14)
// switching the calendar grid on
histogram.ShowCalendarGrids = True
// setting the histogram visible
histogram.Visible = True

As the calendar grid of the histogram, VARCHART XGantt uses the first invisible calendar grid in the first part of the time scale (if there are no other calendar grids). The calendar grid used for grouping is the same Gantt chart:
Insert picture description here

Therefore, the calendar grid will appear in the Gantt chart the same as the histogram. The following example is a calendar grid, which shows different patterns for each group (grouped calendar grid):
Insert picture description here

If you set another calendar grid in the time scale section, VARCHART XGantt will use it as a histogram:
Insert picture description here

By using the second calendar grid, you can assign a different appearance than the calendar grid in the Gantt chart. In our example, it shows different colors:

Insert picture description here

APS to help improve production efficiency, the real production planning visual rendering and control, quickly and efficiently respond to different scenarios of production planning , improve on-time delivery performance, increase productivity and resource utilization

If you want to know about Gantt chart or Huidu APS system , please log in to Huidu.com and consult online customer service to solve your problem!

Guess you like

Origin blog.csdn.net/RoffeyYang/article/details/112920512