Last week's update of sunflower Gantt Chart (06.23-06.29)-on-demand creation of Performance Optimization

Source: Internet
Author: User
At present, sunflower Gantt chart is in the intensive feature development stage. Therefore, every Monday updates related logs, although we have very few people and there is not much free time, the development process is still not relaxed at all.
Let's talk about the development last week. The plan last week is an important part of the first round of performance optimization" Create on demand ", Although many problems have been encountered, this function has finally been completed. Now, any layer in the chart and list should be created whenever necessary, therefore, the page initialization performance is greatly improved, and other operations on the page, such as the performance of deleting, folding, and adding and scaling, are also improved to a certain extent, and the page consumes less ie memory.
After the transformation, the layers in the list and map follow the fixed Init , Draw , Clear , Depose The four processes are drawn only when needed. The time required for Gantt Chart Initialization is changed to 1/7 (taking the Gantt chart of 100 tasks as an example), and the Gantt chart is scaled and deleted, fold also has a significant performance improvement, and Greatly improve the ability to process large XML files . After testing, it is completely possible to run 2000 tasks.
The disadvantage is that when you drag a vertical scroll bar, some layers need to be created on the page for the user to display. Decreased User Experience We will continue to optimize this problem. However, because the creation of layers always requires execution, the execution will affect the performance at that time, so the optimization will not have much effect. (You can also create more or all layers during page initialization, which will improve the vertical scrolling performance and decrease the page initialization performance)
In addition to the killer feature of "create on demand", Gantt is updated as follows this week:
Optimize the List table header to make The table header is strictly aligned with the table content. To improve user experience.
Optimize the trigger mechanism of task percentage and size dragging
You can use the classname attribute of XML Display style of the task bar chart And the display style is optimized. In fact, the bar chart style in the sunflower Gantt chart is very flexible and can define the Gantt chart style by yourself, after the release of beta2, we will provide detailed instructions when compiling documents in a centralized manner. You can now see in the website example that some tasks have been specified with different styles.

Now, please goSunflower Gantt ChartTry the performance improvement after this optimization!
We will continue to work hard to provide you with a perfect Gantt Chart component!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.